I have modeled the beam as a flexible body on Simscape environment
I have chosen the appropriate boundary nodes, mapped them into interface frames in the Simscape environment.
From the model order reduction, I have obtained the various matrices like the Mass, stiffness and damping.
Depending on the boundary node/interface frame which will be chosen as the reference frame, I have considered the Rigid body modes, by removing the appropriate elements from the matrices.
Obtained the state-space system comprising the deformation model by deducing A,B,C and D matrices
I have superimposed the rigid body model and the developed deformation model
Ran the simulation which gave a following error
Please find attached for the error message, the following script file and the simscape model file. I kindly request you to help me decode the error in the model and oblige.