A drive device comprising: a power converter to supply power to a first synchronous motor and a second synchronous motor connected in parallel; a first current detector to detect a first current flowing through the first synchronous motor; a second current detector to detect a second current flowing through the second synchronous motor; a first magnetic pole position identification unit to identify a first magnetic pole position of a rotor of the first synchronous motor; a second magnetic pole position identification unit to identify a second magnetic pole position of a rotor of the second synchronous motor; a subtractor to obtain an angular difference using the first magnetic pole position and the second magnetic pole position, the angular difference being a difference between the magnetic pole positions of the rotors of the first synchronous motor and the second synchronous motor; a magnetic flux current command determination unit to determine a magnetic flux current command based on the second current detected by the second current detector; a magnetic flux current command compensation unit to adjust an absolute value of the magnetic flux current command based on the angular difference; and a control unit to control the power converter using a torque current command, the magnetic flux current command with the absolute value adjusted by the magnetic flux current command compensation unit, the first current, and the first magnetic pole position, a pulsation component extraction unit to extract at least one of a torque current pulsation component or an active power pulsation component, the torque current pulsation component being a pulsation component included in a torque current flowing through the second synchronous motor, the active power pulsation component being a pulsation component included in an active power consumed by the second synchronous motor, wherein the magnetic flux current command determination unit determines the magnetic flux current command based on the pulsation component extracted by the pulsation component extraction unit, wherein the magnetic flux current command compensation unit reduces the absolute value of the magnetic flux current command when the angular difference is within a predetermined range, wherein the subtractor obtains the angular difference by subtracting the first magnetic pole position from the second magnetic pole position, the magnetic flux current command compensation unit includes a differentiator to calculate a time derivative of an absolute value of the angular difference, and the magnetic flux current command compensation unit reduces the absolute value of the magnetic flux current command when the time derivative calculated by the differentiator is negative. a power converter to supply power to a first synchronous motor and a second synchronous motor connected in parallel; a first current detector to detect a first current flowing through the first synchronous motor; a second current detector to detect a second current flowing through the second synchronous motor; a first magnetic pole position identification unit to identify a first magnetic pole position of a rotor of the first synchronous motor; a second magnetic pole position identification unit to identify a second magnetic pole position of a rotor of the second synchronous motor; a subtractor to obtain an angular difference using the first magnetic pole position and the second magnetic pole position, the angular difference being a difference between the magnetic pole positions of the rotors of the first synchronous motor and the second synchronous motor; a magnetic flux current command determination unit to determine a magnetic flux current command based on the second current detected by the second current detector; a magnetic flux current command compensation unit to adjust an absolute value of the magnetic flux current command based on the angular difference; and a control unit to control the power converter using a torque current command, the magnetic flux current command with the absolute value adjusted by the magnetic flux current command compensation unit, the first current, and the first magnetic pole position, a pulsation component extraction unit to extract at least one of a torque current pulsation component or an active power pulsation component, the torque current pulsation component being a pulsation component included in a torque current flowing through the second synchronous motor, the active power pulsation component being a pulsation component included in an active power consumed by the second synchronous motor, wherein the magnetic flux current command determination unit determines the magnetic flux current command based on the pulsation component extracted by the pulsation component extraction unit, wherein the magnetic flux current command compensation unit reduces the absolute value of the magnetic flux current command when the angular difference is within a predetermined range, wherein the subtractor obtains the angular difference by subtracting the first magnetic pole position from the second magnetic pole position, the magnetic flux current command compensation unit includes a differentiator to calculate a time derivative of an absolute value of the angular difference, and the magnetic flux current command compensation unit reduces the absolute value of the magnetic flux current command when the time derivative calculated by the differentiator is negative.