It was my understanding that TEPCO was warned against the exact event that happened, and didn't upgrade their backup generator infastructure accordingly. Things only got bad when they ran out of power. Which seems ironic that they couldn't use their own generated power to prevent a meltdown, but that was because the reactors was shut down I assume.