The swing-up control of the electromechanical systems is considered. Electromechanical system is the cascade system. The input subsystem is a mechanical plant. The output subsystem is the actuator which dynamics cannot be neglected in particular oscillation control problem. The energy-based objective function is used to design the energy efficient virtual control law of output subsystem. The control objectives are achieving the mechanical subsystem’s reference energy and boundedness of closed-loop cascade system trajectories.In parametric uncertainty, both energy and the control objective depends on unknown parameters of a mechanical subsystem. That complicates the design procedure. The modified Speed bi-gradient method (SBGM) to identify unknown parameters, achieve a desired energy and provide boundedness of the trajectories is proposed. Modifications of SBGM are the introduction of the output subsystem tunable model, and indirect adaptive control design. Swing-up control is calculated based on current estimation performed by the adaptation loop that is without preliminary identification. The design procedure, conditions of applicability and stability analysis are presented. The proposed method is used to design the swing-up control of pendulum under parametric uncertainty. The experimental results coтfirming the performance of a closed-loop system are demonstrated.