Trouble solving algebraic loop containing 'myModel/biomech_model' at time 0. Stopping simulation. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
I have already tried to reduce the step size, but this hasn't helped, and I continue to get the error message above. I also assigned names to all of the signals going into and coming out of both blocks, and have created a text file that assigns values to each of these variables; I run the text file before I try to run the Simulink model. However, I continue to get the error message above.
I'll note that I have a real-time block in this model; the error message above results, whether the real-time block is present or removed from the model.
Update: When I added Rate Transition blocks to the outputs of the biomechanical model block, the model actually ran for ~2 seconds; but then it stops, and gives the same error message as above (except that it cites "time 0.11"). So, the Rate Transition blocks resulted in a minor improvement, but the model still terminates in error.
Does anyone have suggestions about why my Simulink model that now contains these 2 blocks connected together in a feedback relationship, which blocks *individually* work with no problems, gives me the error message above when I run it? Thanks for your input.