Transient Dynamic Analysis of A Variable-Length Rope-Driven Wave Energy System