The power module 110 is installed on the installation surface 713a so that the output bus bar 150 extends toward the substrate accommodating portion 722 in the axial direction α. The housing 703 is formed with a communication hole for allowing communication between the internal space of the installation recess 713b and the internal space of the substrate accommodating portion 722, and the output bus bar 150 of the power module 110 is inserted into the communication hole. The output bus bar 150, which is the output wiring 15, is connected to the stator winding 706 of the motor generator 3 in the substrate accommodating portion 722. The output bus bar 150 reaches the internal space of the substrate accommodating portion 722 by projecting outward from the stator 701 in the axial direction α. The length dimension of the output bus bar 150 in the axial direction α is the same between the respective power modules 110. The connection portion between the output bus bar 150 and the stator winding 706 is covered with the control substrate 290 or the substrate cover 723. The output bus bar 150 corresponds to an output wiring.