Hello Simon,
A pendulum is simple, just when you look at it in the first second.
By default, the tangent stiffness matrix of constraint (Kc=
\frac{\partial{C_q}\lambda}{\partial{q}}) is not implemented in the system matrix. The system stiffness matrix of a pendulum is zero. Thus, the Newton-Raphson iteration in the ChStaticSolver() don't know what's the potential correct direction to search for the equilibrium status.
I just pushed several commits, in which the tangent stiffness matrix (Kc) of ChLinkMateGeneric() and its children classes are implemented, another static solver ChStaticNonlinearRigidMotion() is also implemented to deal with the static problem for the systems including rigid motion DOFs. And two demos, pendulum and mooring line, are also given to show the application of the static solver ChStaticNonlinearRigidMotion(), and to demonstrate the importance of Kc in the static and eigenvalue problem.
I need more time to improve the 3D visualization of the demos.
Have fun with the demos if you like.
Best regards,
PENG Chao