Heat wave pushes power grids to the limit