A driving-device-integral-type rotary electric machine comprising: a rotary electric machine having a stator core inserted to a frame , and a driving device for driving the rotary electric machine by supplying power, which are integrally fixed; wherein the driving device includes a first inverter and a second inverter , which are configured to supply power to stator windings of the rotary electric machine , and the first inverter and the second inverter are installed and arranged on a heat sink , in a state where the inverters are linearly symmetrical with respect to an axis of the rotary electric machine in an axial direction, the first inverter and the second inverter contacting with a first protrusion and a second protrusion formed on the heat sink , and the heat sink is configured in such a way that at least a heat capacity of a portion with respect to the first inverter is roughly equal to a heat capacity of a portion with respect to the second inverter , characterised in that the heat sink being arranged between the driving device and the rotary electric machine , an aperture of the frame is linked to one end portion of the heat sink , wherein a thermal-conductive passage, which is extended from the first inverter through the heat sink , and a thermal-conductive passage, which is extended from the second inverter through the heat sink , are linearly symmetrical with respect to the axis of the rotary electric machine in the axial direction, and the thermal-conductive passages are roughly parallel to a direction where the axis is extended, wherein a rear holder is inserted to the aperture of the frame , and a rear bearing box installing a rear bearing , by which one end portion of the rotor is supported, is formed at a central portion of the rear bearing , the rear holder being arranged between the heat sink and the rotary electric machine . a rotary electric machine having a stator core inserted to a frame , and a driving device for driving the rotary electric machine by supplying power, which are integrally fixed; wherein the driving device includes a first inverter and a second inverter , which are configured to supply power to stator windings of the rotary electric machine , and the first inverter and the second inverter are installed and arranged on a heat sink , in a state where the inverters are linearly symmetrical with respect to an axis of the rotary electric machine in an axial direction, the first inverter and the second inverter contacting with a first protrusion and a second protrusion formed on the heat sink , and the heat sink is configured in such a way that at least a heat capacity of a portion with respect to the first inverter is roughly equal to a heat capacity of a portion with respect to the second inverter , characterised in that the heat sink being arranged between the driving device and the rotary electric machine , an aperture of the frame is linked to one end portion of the heat sink , wherein a thermal-conductive passage, which is extended from the first inverter through the heat sink , and a thermal-conductive passage, which is extended from the second inverter through the heat sink , are linearly symmetrical with respect to the axis of the rotary electric machine in the axial direction, and the thermal-conductive passages are roughly parallel to a direction where the axis is extended, wherein a rear holder is inserted to the aperture of the frame , and a rear bearing box installing a rear bearing , by which one end portion of the rotor is supported, is formed at a central portion of the rear bearing , the rear holder being arranged between the heat sink and the rotary electric machine . <EOS>