The €17.9bn (£16bn) loss is being blamed on capped prices as well as repairs to power stations.