They aren't necessarily generating it -- sometimes they're just storing it. When we produce too much electricity from wind turbines here in Denmark, Norway buys this at a negative price (to offload the Danish grid), stores it (using pumped hydroelectric energy storage), and sells it back into the market when prices are positive again.