Constrained NMPC is applied to wave energy converter to maximize energy extraction. The conversion efficiency of the permanent magnet linear generator is added in NMPC. Time-dependent and discontinuous generator damping is suggested as control parameter. Active control improves absorption bandwidth and peak value of the WEC.