Function to compute the gravity acceleration, resolved in world frame
function gravityAcceleration = Modelica.Mechanics.MultiBody.Forces.Internal.standardGravityAcceleration(gravityType = gravityType, g = g*Modelica.Math.Vectors.normalizeWithAssert(n), mu = mu);