As the title says, when linearizing equations of motion in order to obtain control, the odd thing happens: if equilibrium point is not all zeros, the output from linearizer contains speed derivatives, e.g.
equilibrium_point = zeros(len(coordinates + speeds))
equilibrium_point[2] = deg2rad(5) # or any other value other than zero
equilibrium_dict = dict(zip(coordinates + speeds, equilibrium_point))
parameter_dict = dict(zip(constants, sympify(numerical_constants)))
linearizer = kane.to_linearizer()
linearizer.r = Matrix(specified)
A, B = linearizer.linearize(op_point=[equilibrium_dict, parameter_dict], A_and_B=True)
At this point, A has some speed derivatives left in some terms for unknown reason:

Any idea how to resolve this issue?