An ECU executes a program including the steps of: if an accelerator pedal
position P is larger than a predetermined accelerator pedal position,
calculating an output that an MG(2) is required to provide; calculating
an output that a capacitor and a battery can supply; calculating an
output that can be supplied to MG(1), by subtracting the output that the
MG(2) is required to provide from the output that the capacitor and the
battery can supply; calculating a torque that each MG is instructed to
output, as based on the output that can be supplied to MG(1) and the
output that an MG(2) is required to provide; and controlling inverters
(1) and (2), as based on the torque that each MG is instructed to output,
to accelerate the vehicle.