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.1_cpp_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.842e-05/5.848e-05, allocations: 4 kB / 273.1 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1242, allocations: 48.69 MB / 321.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4899, allocations: 95.76 MB / 417.5 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4902, allocations: 73.91 kB / 417.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2557/0.7459, allocations: 72.06 MB / 489.7 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.412e-06/0.746, allocations: 0 / 489.7 MB, free: 15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002297/0.7462, allocations: 76 kB / 489.7 MB, free: 14.92 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01249/0.7587, allocations: 3.879 MB / 493.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.7588, allocations: 8.031 kB / 493.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005193/0.764, allocations: 0.7319 MB / 494.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007793/0.7718, allocations: 2.568 MB / 496.9 MB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/0.7723, allocations: 328.5 kB / 497.2 MB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.774, allocations: 423.8 kB / 497.6 MB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02701/0.801, allocations: 9.012 MB / 0.4948 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/0.8012, allocations: 23.8 kB / 0.4948 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/0.8024, allocations: 183.9 kB / 0.495 GB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002037/0.8044, allocations: 0.7999 MB / 0.4958 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.8262, allocations: 7.084 MB / 0.5027 GB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2982/1.124, allocations: 29.66 MB / 0.5316 GB, free: 85.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008546/1.133, allocations: 2.107 MB / 0.5337 GB, free: 85.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001918/1.135, allocations: 0.9322 MB / 0.5346 GB, free: 85.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/1.147, allocations: 6.732 MB / 0.5412 GB, free: 82.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/1.147, allocations: 45.83 kB / 0.5412 GB, free: 82.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 4.295e-06/1.147, allocations: 2.953 kB / 0.5412 GB, free: 82.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02311/1.17, allocations: 6.883 MB / 0.548 GB, free: 79.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/1.17, allocations: 172.5 kB / 0.5481 GB, free: 79.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004409/1.174, allocations: 2.367 MB / 0.5504 GB, free: 79.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/1.174, allocations: 42.33 kB / 0.5505 GB, free: 79.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/1.176, allocations: 2.494 MB / 0.5529 GB, free: 77.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/1.176, allocations: 400.8 kB / 0.5533 GB, free: 77.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/1.177, allocations: 77.44 kB / 0.5534 GB, free: 77.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002372/1.177, allocations: 478.1 kB / 0.5538 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/1.179, allocations: 1.05 MB / 0.5548 GB, free: 77.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/1.182, allocations: 3.345 MB / 0.5581 GB, free: 74.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/1.186, allocations: 1.84 MB / 0.5599 GB, free: 74.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.477e-05/1.186, allocations: 26.56 kB / 0.5599 GB, free: 74.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.00944/1.195, allocations: 4.028 MB / 0.5639 GB, free: 74.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/1.195, allocations: 43.25 kB / 0.5639 GB, free: 74.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.901e-05/1.196, allocations: 83.88 kB / 0.564 GB, free: 74.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/1.196, allocations: 120.9 kB / 0.5641 GB, free: 74.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/1.2, allocations: 0.9473 MB / 0.565 GB, free: 74.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001404/1.2, allocations: 164.9 kB / 0.5652 GB, free: 73.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/1.204, allocations: 213.1 kB / 0.5654 GB, free: 73.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007065/1.205, allocations: 239.6 kB / 0.5656 GB, free: 73.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (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.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 (501): * Single equations (assignments): 500 * 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.0006682/1.205, allocations: 429.7 kB / 0.566 GB, free: 73.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/1.206, allocations: 234.2 kB / 0.5663 GB, free: 73.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/1.208, allocations: 1.157 MB / 0.5674 GB, free: 73.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.208, allocations: 17.39 kB / 0.5674 GB, free: 73.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.208, allocations: 3.719 kB / 0.5674 GB, free: 73.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.208, allocations: 3.75 kB / 0.5674 GB, free: 73.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.222, allocations: 6.728 MB / 0.574 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/1.222, allocations: 30.36 kB / 0.574 GB, free: 71.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.223, allocations: 291 kB / 0.5743 GB, free: 71.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.874e-05/1.223, allocations: 38.25 kB / 0.5743 GB, free: 71.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.223, allocations: 49.97 kB / 0.5744 GB, free: 71.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.29e-05/1.223, allocations: 46.62 kB / 0.5744 GB, free: 71.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-05/1.223, allocations: 36.56 kB / 0.5744 GB, free: 71.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003663/1.227, allocations: 4.565 MB / 0.5789 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008732/1.228, allocations: 357.2 kB / 0.5792 GB, free: 67.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.229, allocations: 50.72 kB / 0.5793 GB, free: 67.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/1.23, allocations: 63.72 kB / 0.5794 GB, free: 67.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/1.231, allocations: 167.3 kB / 0.5795 GB, free: 67.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.231, allocations: 67.12 kB / 0.5796 GB, free: 67.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003478/1.234, allocations: 1.744 MB / 0.5813 GB, free: 67.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.011e-06/1.234, allocations: 0 / 0.5813 GB, free: 67.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00536/1.24, allocations: 0.7118 MB / 0.582 GB, free: 67.56 MB / 426.7 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.0005602/1.24, allocations: 210.4 kB / 0.5822 GB, free: 67.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004837/1.245, allocations: 2.427 MB / 0.5845 GB, free: 66.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/1.245, allocations: 3.719 kB / 0.5846 GB, free: 66.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/1.247, allocations: 0.6727 MB / 0.5852 GB, free: 66.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002401/1.249, allocations: 335.5 kB / 0.5855 GB, free: 66.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/1.264, allocations: 6.655 MB / 0.592 GB, free: 62.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00527/1.269, allocations: 3.032 MB / 0.595 GB, free: 61.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008989/1.27, allocations: 224.7 kB / 0.5952 GB, free: 61.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.992e-06/1.27, allocations: 0 / 0.5952 GB, free: 61.62 MB / 426.7 MB Notification: Performance of Templates: time 0.06197/1.332, allocations: 41.67 MB / 0.6359 GB, free: 35.14 MB / 426.7 MB