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_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.533e-05, allocations: 4 kB / 273.1 MB, free: 3.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08858, allocations: 48.69 MB / 321.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4474, allocations: 95.75 MB / 417.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002096/0.4477, allocations: 78.52 kB / 417.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2582/0.7059, allocations: 72.05 MB / 489.7 MB, free: 14.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.171e-06/0.706, allocations: 0 / 489.7 MB, free: 14.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002403/0.7062, allocations: 76 kB / 489.8 MB, free: 14.46 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.01314/0.7194, allocations: 3.879 MB / 493.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.7195, allocations: 15.97 kB / 493.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005315/0.7248, allocations: 0.7202 MB / 494.4 MB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008034/0.7329, allocations: 2.583 MB / 497 MB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004602/0.7334, allocations: 324.5 kB / 497.3 MB, free: 6.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001842/0.7352, allocations: 419.8 kB / 497.7 MB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/0.7632, allocations: 9.02 MB / 0.4948 GB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.7634, allocations: 11.88 kB / 0.4948 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001072/0.7645, allocations: 187.9 kB / 0.495 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/0.7665, allocations: 0.8076 MB / 0.4958 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02202/0.7886, allocations: 7.065 MB / 0.5027 GB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2982/1.087, allocations: 29.66 MB / 0.5317 GB, free: 85.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008451/1.095, allocations: 2.116 MB / 0.5337 GB, free: 85.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/1.097, allocations: 0.9327 MB / 0.5346 GB, free: 85.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/1.109, allocations: 6.729 MB / 0.5412 GB, free: 82.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/1.109, allocations: 44.61 kB / 0.5413 GB, free: 82.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 3.96e-06/1.109, allocations: 0 / 0.5413 GB, free: 82.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02461/1.133, allocations: 6.891 MB / 0.548 GB, free: 79.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/1.134, allocations: 169.4 kB / 0.5481 GB, free: 79.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004643/1.138, allocations: 2.365 MB / 0.5505 GB, free: 78.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/1.138, allocations: 42.48 kB / 0.5505 GB, free: 78.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001694/1.14, allocations: 2.523 MB / 0.553 GB, free: 77.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004358/1.141, allocations: 401.2 kB / 0.5533 GB, free: 77.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/1.141, allocations: 80.84 kB / 0.5534 GB, free: 77.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/1.141, allocations: 467.4 kB / 0.5539 GB, free: 77.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/1.143, allocations: 1.052 MB / 0.5549 GB, free: 77.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/1.146, allocations: 3.345 MB / 0.5582 GB, free: 74.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/1.15, allocations: 1.838 MB / 0.56 GB, free: 74.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.184e-05/1.15, allocations: 25.09 kB / 0.56 GB, free: 74.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.009466/1.159, allocations: 4.123 MB / 0.564 GB, free: 73.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.393e-05/1.16, allocations: 41 kB / 0.564 GB, free: 73.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.37e-05/1.16, allocations: 84.66 kB / 0.5641 GB, free: 73.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/1.16, allocations: 119.2 kB / 0.5642 GB, free: 73.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/1.164, allocations: 0.9474 MB / 0.5652 GB, free: 73.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001396/1.164, allocations: 159 kB / 0.5653 GB, free: 73.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/1.168, allocations: 213.9 kB / 0.5655 GB, free: 73.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006906/1.169, allocations: 241.1 kB / 0.5658 GB, free: 73.86 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.0006451/1.169, allocations: 418 kB / 0.5662 GB, free: 73.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005394/1.17, allocations: 245.1 kB / 0.5664 GB, free: 73.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/1.172, allocations: 1.153 MB / 0.5675 GB, free: 73.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.172, allocations: 14.06 kB / 0.5675 GB, free: 73.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.793e-06/1.172, allocations: 3.656 kB / 0.5675 GB, free: 73.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/1.172, allocations: 3.234 kB / 0.5675 GB, free: 73.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/1.186, allocations: 6.746 MB / 0.5741 GB, free: 71.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.574e-05/1.186, allocations: 28.38 kB / 0.5741 GB, free: 71.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00135/1.187, allocations: 285.4 kB / 0.5744 GB, free: 71.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.949e-05/1.187, allocations: 36.84 kB / 0.5745 GB, free: 71.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/1.187, allocations: 60.25 kB / 0.5745 GB, free: 71.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.3e-05/1.187, allocations: 42.16 kB / 0.5746 GB, free: 71.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-05/1.187, allocations: 38.97 kB / 0.5746 GB, free: 71.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/1.191, allocations: 4.56 MB / 0.579 GB, free: 68.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009007/1.192, allocations: 360 kB / 0.5794 GB, free: 67.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005301/1.192, allocations: 52.73 kB / 0.5794 GB, free: 67.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.194, allocations: 64.52 kB / 0.5795 GB, free: 67.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002943/1.194, allocations: 169 kB / 0.5797 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.195, allocations: 72.73 kB / 0.5797 GB, free: 67.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003703/1.198, allocations: 1.735 MB / 0.5814 GB, free: 67.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.198, allocations: 0 / 0.5814 GB, free: 67.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005057/1.203, allocations: 0.7058 MB / 0.5821 GB, free: 67.41 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.0004918/1.204, allocations: 212.8 kB / 0.5823 GB, free: 67.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004817/1.209, allocations: 2.419 MB / 0.5847 GB, free: 66.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/1.209, allocations: 3.844 kB / 0.5847 GB, free: 66.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001324/1.21, allocations: 0.6774 MB / 0.5853 GB, free: 66.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/1.212, allocations: 326.4 kB / 0.5857 GB, free: 66.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/1.227, allocations: 6.213 MB / 0.5917 GB, free: 63.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005366/1.232, allocations: 3.033 MB / 0.5947 GB, free: 61.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004106/1.236, allocations: 1.042 MB / 0.5957 GB, free: 61.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/1.237, allocations: 189.8 kB / 0.5959 GB, free: 61.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.662e-06/1.237, allocations: 0 / 0.5959 GB, free: 61.66 MB / 426.7 MB Notification: Performance of Templates: time 0.06442/1.301, allocations: 21.02 MB / 0.6164 GB, free: 53.79 MB / 426.7 MB