Hydraulic on-shore system recovering energy from sea waves