A control device for a power machine including a drive source, a hydraulic pump driven by a driving force of the drive source, a power take off device configured to transmit a portion of the driving force of the drive source to the hydraulic pump, a power transmission device including a hydrostatic continuously variable transmission, an input shaft connected to the power take off device, and an output shaft connected to a load (240, 250), and configured to transmit the driving force input to the input shaft to the output shaft, and an operation device (152, 153, 154, 155, 156, 157, 158) that is configured to provide an instruction regarding a magnitude of the driving force of the drive source, the control device characterized by comprising: a target circuit pressure specifying unit configured to specify a target circuit pressure which is a target pressure of the hydrostatic continuously variable transmission; a measurement value acquisition unit configured to acquire an actual circuit pressure which is a measurement value of a pressure of the hydrostatic continuously variable transmission; a brake torque determination unit configured to determine a brake torque based on the target circuit pressure and the actual circuit pressure, the brake torque which is a torque consumed by the hydraulic pump; and a pump control unit configured to control the hydraulic pump based on the brake torque. a drive source, a hydraulic pump driven by a driving force of the drive source, a power take off device configured to transmit a portion of the driving force of the drive source to the hydraulic pump, a power transmission device including a hydrostatic continuously variable transmission, an input shaft connected to the power take off device, and an output shaft connected to a load (240, 250), and configured to transmit the driving force input to the input shaft to the output shaft, and an operation device (152, 153, 154, 155, 156, 157, 158) that is configured to provide an instruction regarding a magnitude of the driving force of the drive source, the control device characterized by comprising: a target circuit pressure specifying unit configured to specify a target circuit pressure which is a target pressure of the hydrostatic continuously variable transmission; a measurement value acquisition unit configured to acquire an actual circuit pressure which is a measurement value of a pressure of the hydrostatic continuously variable transmission; a brake torque determination unit configured to determine a brake torque based on the target circuit pressure and the actual circuit pressure, the brake torque which is a torque consumed by the hydraulic pump; and a pump control unit configured to control the hydraulic pump based on the brake torque. a target circuit pressure specifying unit configured to specify a target circuit pressure which is a target pressure of the hydrostatic continuously variable transmission; a measurement value acquisition unit configured to acquire an actual circuit pressure which is a measurement value of a pressure of the hydrostatic continuously variable transmission; a brake torque determination unit configured to determine a brake torque based on the target circuit pressure and the actual circuit pressure, the brake torque which is a torque consumed by the hydraulic pump; and a pump control unit configured to control the hydraulic pump based on the brake torque.