Dynamic input allocation of torque references for a parallel HEV