Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.|jointRRP.frame_b.r_0.1.|jointRRP.frame_b.r_0.2.|jointRRP.frame_b.r_0.3.|jointRRP.frame_b.f.1.|jointRRP.frame_b.f.2.|jointRRP.frame_b.f.3.|jointRRP.frame_b.t.1.|jointRRP.frame_b.t.2.|jointRRP.frame_b.t.3.|jointRRP.frame_ia.r_0.1.|jointRRP.frame_ia.r_0.2.|jointRRP.frame_ia.r_0.3.|jointRRP.frame_ia.f.1.|jointRRP.frame_ia.f.2.|jointRRP.frame_ia.f.3.|jointRRP.frame_ia.t.1.|jointRRP.frame_ia.t.2.|jointRRP.frame_ia.t.3.|jointRRP.frame_im.r_0.1.|jointRRP.frame_im.r_0.1.|jointRRP.frame_im.r_0.2.|jointRRP.frame_im.r_0.2.|jointRRP.frame_im.r_0.3.|jointRRP.frame_im.r_0.3.|jointRRP.frame_im.f.1.|jointRRP.frame_im.f.1.|jointRRP.frame_im.f.2.|jointRRP.frame_im.f.2.|jointRRP.frame_im.f.3.|jointRRP.frame_im.f.3.|jointRRP.frame_im.t.1.|jointRRP.frame_im.t.1.|jointRRP.frame_im.t.2.|jointRRP.frame_im.t.2.|jointRRP.frame_im.t.3.|jointRRP.frame_im.t.3.|jointRRP.jointUSP.frame_b.r_0.1.|jointRRP.jointUSP.frame_b.r_0.2.|jointRRP.jointUSP.frame_b.r_0.3.|jointRRP.jointUSP.frame_b.f.1.|jointRRP.jointUSP.frame_b.f.2.|jointRRP.jointUSP.frame_b.f.3.|jointRRP.jointUSP.frame_b.t.1.|jointRRP.jointUSP.frame_b.t.2.|jointRRP.jointUSP.frame_b.t.3.|jointRRP.jointUSP.frame_ia.r_0.1.|jointRRP.jointUSP.frame_ia.r_0.2.|jointRRP.jointUSP.frame_ia.r_0.3.|jointRRP.jointUSP.frame_ia.f.1.|jointRRP.jointUSP.frame_ia.f.2.|jointRRP.jointUSP.frame_ia.f.3.|jointRRP.jointUSP.frame_ia.t.1.|jointRRP.jointUSP.frame_ia.t.2.|jointRRP.jointUSP.frame_ia.t.3.|jointRRP.jointUSP.frame_im.r_0.1.|jointRRP.jointUSP.frame_im.r_0.1.|jointRRP.jointUSP.frame_im.r_0.2.|jointRRP.jointUSP.frame_im.r_0.2.|jointRRP.jointUSP.frame_im.r_0.3.|jointRRP.jointUSP.frame_im.r_0.3.|jointRRP.jointUSP.frame_im.f.1.|jointRRP.jointUSP.frame_im.f.1.|jointRRP.jointUSP.frame_im.f.2.|jointRRP.jointUSP.frame_im.f.2.|jointRRP.jointUSP.frame_im.f.3.|jointRRP.jointUSP.frame_im.f.3.|jointRRP.jointUSP.frame_im.t.1.|jointRRP.jointUSP.frame_im.t.1.|jointRRP.jointUSP.frame_im.t.2.|jointRRP.jointUSP.frame_im.t.2.|jointRRP.jointUSP.frame_im.t.3.|jointRRP.jointUSP.frame_im.t.3.|jointRRP.jointUSP.prismatic.frame_b.r_0.1.|jointRRP.jointUSP.prismatic.frame_b.r_0.2.|jointRRP.jointUSP.prismatic.frame_b.r_0.3.|jointRRP.jointUSP.prismatic.frame_b.f.1.|jointRRP.jointUSP.prismatic.frame_b.f.2.|jointRRP.jointUSP.prismatic.frame_b.f.3.|jointRRP.jointUSP.prismatic.frame_b.t.1.|jointRRP.jointUSP.prismatic.frame_b.t.2.|jointRRP.jointUSP.prismatic.frame_b.t.3.|jointRRP.jointUSP.rod1.frame_b.r_0.1.|jointRRP.jointUSP.rod1.frame_b.r_0.2.|jointRRP.jointUSP.rod1.frame_b.r_0.3.|jointRRP.jointUSP.rod1.frame_b.f.1.|jointRRP.jointUSP.rod1.frame_b.f.2.|jointRRP.jointUSP.rod1.frame_b.f.3.|jointRRP.jointUSP.rod1.frame_b.t.1.|jointRRP.jointUSP.rod1.frame_b.t.2.|jointRRP.jointUSP.rod1.frame_b.t.3.|jointRRP.jointUSP.rod1.frame_ia.r_0.1.|jointRRP.jointUSP.rod1.frame_ia.r_0.2.|jointRRP.jointUSP.rod1.frame_ia.r_0.3.|jointRRP.jointUSP.rod1.frame_ia.f.1.|jointRRP.jointUSP.rod1.frame_ia.f.2.|jointRRP.jointUSP.rod1.frame_ia.f.3.|jointRRP.jointUSP.rod1.frame_ia.t.1.|jointRRP.jointUSP.rod1.frame_ia.t.2.|jointRRP.jointUSP.rod1.frame_ia.t.3.|jointRRP.jointUSP.rod2.frame_b.r_0.1.|jointRRP.jointUSP.rod2.frame_b.r_0.2.|jointRRP.jointUSP.rod2.frame_b.r_0.3.|jointRRP.jointUSP.rod2.frame_b.f.1.|jointRRP.jointUSP.rod2.frame_b.f.2.|jointRRP.jointUSP.rod2.frame_b.f.3.|jointRRP.jointUSP.rod2.frame_b.t.1.|jointRRP.jointUSP.rod2.frame_b.t.2.|jointRRP.jointUSP.rod2.frame_b.t.3.|jointRRP.jointUSP.relativePosition.frame_b.r_0.1.|jointRRP.jointUSP.relativePosition.frame_b.r_0.2.|jointRRP.jointUSP.relativePosition.frame_b.r_0.3.|jointRRP.jointUSP.relativePosition.frame_b.f.1.|jointRRP.jointUSP.relativePosition.frame_b.f.2.|jointRRP.jointUSP.relativePosition.frame_b.f.3.|jointRRP.jointUSP.relativePosition.frame_b.t.1.|jointRRP.jointUSP.relativePosition.frame_b.t.2.|jointRRP.jointUSP.relativePosition.frame_b.t.3.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.r_0.1.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.r_0.2.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.r_0.3.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.f.1.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.f.2.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.f.3.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.t.1.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.t.2.|jointRRP.jointUSP.relativePosition.relativePosition.frame_b.t.3.|jointRRP.jointUSP.position_b.1..y|jointRRP.jointUSP.position_b.2..y|jointRRP.jointUSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 249.5 MB / 261.6 MB, free: 2.145 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.56e-05, allocations: 7.938 kB / 323.4 MB, free: 4.281 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.322, allocations: 58.83 MB / 382.2 MB, free: 10.3 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.4904, allocations: 109.7 MB / 491.9 MB, free: 14.79 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.4907, allocations: 71.97 kB / 492 MB, free: 14.72 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5207/1.011, allocations: 72.69 MB / 0.5514 GB, free: 110.7 MB / 458.8 MB Notification: Performance of FrontEnd: time 4.427e-06/1.011, allocations: 7.719 kB / 0.5514 GB, free: 110.7 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002012/1.012, allocations: 81.94 kB / 0.5515 GB, free: 110.7 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01084/1.023, allocations: 3.88 MB / 0.5553 GB, free: 109.1 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.023, allocations: 12.75 kB / 0.5553 GB, free: 109.1 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005613/1.028, allocations: 0.7262 MB / 0.556 GB, free: 108.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006694/1.035, allocations: 2.593 MB / 0.5585 GB, free: 108.2 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002963/1.035, allocations: 322.8 kB / 0.5589 GB, free: 108.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/1.037, allocations: 426 kB / 0.5593 GB, free: 108 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/1.061, allocations: 9.033 MB / 0.5681 GB, free: 104.2 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/1.062, allocations: 14.75 kB / 0.5681 GB, free: 104.2 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008286/1.062, allocations: 183.5 kB / 0.5683 GB, free: 104 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001608/1.064, allocations: 0.8148 MB / 0.5691 GB, free: 103.3 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/1.082, allocations: 7.083 MB / 0.576 GB, free: 97.12 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04306/1.125, allocations: 29.76 MB / 0.605 GB, free: 68.18 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008131/1.134, allocations: 2.106 MB / 0.6071 GB, free: 66.02 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/1.136, allocations: 0.928 MB / 0.608 GB, free: 65.08 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/1.147, allocations: 6.74 MB / 0.6146 GB, free: 57.84 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/1.147, allocations: 43.06 kB / 0.6146 GB, free: 57.79 MB / 458.8 MB Notification: Performance of pre-optimization done (n=80): time 3.844e-06/1.147, allocations: 0 / 0.6146 GB, free: 57.79 MB / 458.8 MB Notification: Performance of matching and sorting (n=98): time 0.02289/1.169, allocations: 6.914 MB / 0.6214 GB, free: 50.82 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.17, allocations: 167 kB / 0.6215 GB, free: 50.62 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/1.174, allocations: 2.392 MB / 0.6239 GB, free: 48.21 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/1.174, allocations: 41.7 kB / 0.6239 GB, free: 48.17 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00157/1.175, allocations: 2.537 MB / 0.6264 GB, free: 45.63 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000433/1.176, allocations: 399.4 kB / 0.6268 GB, free: 45.24 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/1.176, allocations: 80 kB / 0.6269 GB, free: 45.16 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002268/1.176, allocations: 470.5 kB / 0.6273 GB, free: 44.7 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001994/1.178, allocations: 1.058 MB / 0.6283 GB, free: 43.64 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/1.182, allocations: 3.372 MB / 0.6316 GB, free: 39.11 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/1.185, allocations: 1.848 MB / 0.6334 GB, free: 37.25 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.905e-05/1.185, allocations: 24 kB / 0.6335 GB, free: 37.23 MB / 458.8 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.008905/1.194, allocations: 4.141 MB / 0.6375 GB, free: 33.09 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/1.194, allocations: 40.19 kB / 0.6375 GB, free: 33.05 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-05/1.194, allocations: 88 kB / 0.6376 GB, free: 32.96 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/1.194, allocations: 124 kB / 0.6377 GB, free: 32.84 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003899/1.198, allocations: 0.9436 MB / 0.6387 GB, free: 31.89 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001271/1.198, allocations: 163.4 kB / 0.6388 GB, free: 31.73 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/1.202, allocations: 211.6 kB / 0.639 GB, free: 31.53 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005172/1.203, allocations: 240 kB / 0.6392 GB, free: 31.29 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (504): * Single equations (assignments): 503 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000625/1.203, allocations: 429.1 kB / 0.6397 GB, free: 30.87 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/1.204, allocations: 244.8 kB / 0.6399 GB, free: 30.63 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/1.206, allocations: 1.169 MB / 0.641 GB, free: 29.45 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.206, allocations: 12 kB / 0.641 GB, free: 29.44 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.206, allocations: 0 / 0.641 GB, free: 29.44 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.206, allocations: 7.984 kB / 0.6411 GB, free: 29.43 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/1.218, allocations: 6.736 MB / 0.6476 GB, free: 22.33 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/1.218, allocations: 24 kB / 0.6477 GB, free: 22.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.219, allocations: 287.5 kB / 0.6479 GB, free: 22.02 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.86e-05/1.219, allocations: 32 kB / 0.648 GB, free: 21.99 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.219, allocations: 59.56 kB / 0.648 GB, free: 21.94 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.202e-05/1.219, allocations: 47.78 kB / 0.6481 GB, free: 21.89 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-05/1.219, allocations: 36.31 kB / 0.6481 GB, free: 21.86 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/1.223, allocations: 4.593 MB / 0.6526 GB, free: 16.61 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/1.224, allocations: 345.7 kB / 0.6529 GB, free: 16.25 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/1.224, allocations: 59.98 kB / 0.653 GB, free: 16.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.226, allocations: 67.95 kB / 0.653 GB, free: 16.13 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.226, allocations: 163.3 kB / 0.6532 GB, free: 15.97 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.226, allocations: 75.98 kB / 0.6533 GB, free: 15.89 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003138/1.229, allocations: 1.751 MB / 0.655 GB, free: 14.14 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.76e-07/1.229, allocations: 0 / 0.655 GB, free: 14.14 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004743/1.234, allocations: 0.7031 MB / 0.6557 GB, free: 13.43 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000463/1.234, allocations: 226.1 kB / 0.6559 GB, free: 13.21 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004767/1.239, allocations: 2.429 MB / 0.6582 GB, free: 10.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-05/1.239, allocations: 4 kB / 0.6582 GB, free: 10.79 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.241, allocations: 0.6767 MB / 0.6589 GB, free: 10.12 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/1.243, allocations: 331.2 kB / 0.6592 GB, free: 9.801 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/1.256, allocations: 6.219 MB / 0.6653 GB, free: 3.234 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004242/1.261, allocations: 3.045 MB / 0.6683 GB, free: 160 kB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004225/1.265, allocations: 1.042 MB / 0.6693 GB, free: 15.11 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007694/1.266, allocations: 199.3 kB / 0.6695 GB, free: 14.91 MB / 474.8 MB Notification: Performance of SimCode: time 1.915e-06/1.266, allocations: 3.938 kB / 0.6695 GB, free: 14.91 MB / 474.8 MB Notification: Performance of Templates: time 0.07782/1.343, allocations: 21.1 MB / 0.6901 GB, free: 9.988 MB / 490.8 MB