In this paper, we investigate the tracking control of attitude and specific spatial position for a foldable wave energy powered autonomous underwater vehicle (FWEPAUV) under space constraints. In order to reduce energy consumption and maximizing the efficiency of the charging, a cascaded dual closed-loop control strategy is proposed. Firstly, we utilize model predictive control (MPC) with multi-variable constraint capabilities to design the kinematics controller. The output constraints are set as space constraints for MPC, and an objective function is used to strike a balance between control accuracy and energy consumption. The improved chaotic firefly algorithm (ICFA) is chosen due to its rapid convergence and strong robustness. It is employed in the rolling optimization process of MPC to secure a viable solution. Secondly, the kinematics controller is combined with the dynamics controller based on adaptive sliding mode control (ASMC) to achieve robust tracking control. In order to eliminate the interference from time-varying ocean currents and complex external forces meanwhile utilizing these interferes to reduce energy consumption, An ocean current observer based on ICFA-PI control and a prescribed time disturbance observer (PTDO) are devised to estimate them. Finally, an event-triggered (ET) mechanism is applied to integrate with the trajectory tracking controller to decrease the computational load. The stability of the ICFA-MPC controller and the ASMC controller is proven using the Lyapunov stability theory. Simulation results demonstrate that in complex external interference environments, the controller can achieve stable tracking control of the attitude and a specific spatial position, thereby meeting predefined goals such as space constraints, energy savings, and maximizing the efficiency of the charging.