Renewable energy generation hits record high