A massive power outage knocked out electricity in large parts of Spain, Portugal, and also some parts of southern France.