Hi, Lucia.
I doubt that your issue is related to dynamic inflow. I don’t recommend commenting out the section you quoted unless you want to specifically investigate that part of the code. Many things can cause the simulation to produce an error about the wind array being exhausted.
If you are modifying CertTest #17, I’m assuming you used the same wind file, which has a width and height of only 8 meters. If you put that turbine offshore, you’ll likely need to increase the size of the wind file grid. (The initial conditions you list give an initial displacement of 20 meters.) See this post for help figuring out how large your TurbSim grid should be: TurbSim grid sizes