Sao Paulo was plunged into darkness in the middle of the afternoon.