A controller-integrated rotary electric machine , comprising: a rotary electric machine main body including: a stator ; a rotor , which includes a rotating shaft and is rotatable relative to the stator; and a supporting body , which is configured to support the stator and the rotor; and a controller including a power circuit portion and being disposed on the rotary electric machine main body, the power circuit portion being arranged around the rotating shaft and being configured to convert electric power received from the rotary electric machine main body or electric power to be supplied to the rotary electric machine main body between an alternating current and a direct current, the controller including a cooling member , the power circuit portion including: a power module, which includes a switching element ; and an electric power interconnecting part , which includes a busbar that is connected to a plurality of terminals of the power module, at least one of the plurality of terminals of the power module having a fuse portion formed by forming a narrow portion in a portion of at least one of the plurality of terminals , the electric power interconnecting part having a notch (X) formed in a portion around which at least one of the plurality of terminals are connected so that the busbar is separated from the narrow portion of the at least one of the plurality of terminals , wherein the notch (X) is at least cut out to above a center of the fuse portion of the at least one of the plurality of terminals and a width of the notch (X) is at least larger than a width of the fuse portion , the electric power interconnecting part further having a part in which the plurality of terminals of the power module are not placed extending to the cooling member side. a rotary electric machine main body including: a stator ; a rotor , which includes a rotating shaft and is rotatable relative to the stator; and a supporting body , which is configured to support the stator and the rotor; and a stator ; a rotor , which includes a rotating shaft and is rotatable relative to the stator; and a supporting body , which is configured to support the stator and the rotor; and a controller including a power circuit portion and being disposed on the rotary electric machine main body, the power circuit portion being arranged around the rotating shaft and being configured to convert electric power received from the rotary electric machine main body or electric power to be supplied to the rotary electric machine main body between an alternating current and a direct current, the controller including a cooling member , the power circuit portion including: a power module, which includes a switching element ; and an electric power interconnecting part , which includes a busbar that is connected to a plurality of terminals of the power module, a power module, which includes a switching element ; and an electric power interconnecting part , which includes a busbar that is connected to a plurality of terminals of the power module, at least one of the plurality of terminals of the power module having a fuse portion formed by forming a narrow portion in a portion of at least one of the plurality of terminals , the electric power interconnecting part having a notch (X) formed in a portion around which at least one of the plurality of terminals are connected so that the busbar is separated from the narrow portion of the at least one of the plurality of terminals , wherein the notch (X) is at least cut out to above a center of the fuse portion of the at least one of the plurality of terminals and a width of the notch (X) is at least larger than a width of the fuse portion , the electric power interconnecting part further having a part in which the plurality of terminals of the power module are not placed extending to the cooling member side. <EOS>