A major power outage hit Spain and Portugal on Monday, shutting down trains, airports and other critical infrastructure and causing.