Nonlinear Modeling and Real-Time Simulation of a Grid-Connected AWS Wave Energy Conversion System