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.2_ModelicaTest.MultiBody.Joints.JointRRP") Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.389e-05, allocations: 4 kB / 304.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3793, allocations: 54.86 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.5335, allocations: 102.3 MB / 462.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.5337, allocations: 76.5 kB / 462.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2818/0.8155, allocations: 72.04 MB / 0.5217 GB, free: 2.086 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.041e-06/0.8156, allocations: 0 / 0.5217 GB, free: 2.086 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003492/0.816, allocations: 87.92 kB / 0.5218 GB, free: 2 MB / 458.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.3185/1.135, allocations: 3.863 MB / 0.5255 GB, free: 105.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.135, allocations: 11.2 kB / 0.5255 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005028/1.14, allocations: 0.7136 MB / 0.5262 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007547/1.147, allocations: 2.581 MB / 0.5288 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003707/1.148, allocations: 322.9 kB / 0.5291 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/1.149, allocations: 421.9 kB / 0.5295 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/1.174, allocations: 9.009 MB / 0.5383 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/1.174, allocations: 15.56 kB / 0.5383 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007214/1.175, allocations: 193.3 kB / 0.5385 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/1.177, allocations: 0.8034 MB / 0.5393 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/1.197, allocations: 7.072 MB / 0.5462 GB, free: 104 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.048/1.245, allocations: 29.68 MB / 0.5751 GB, free: 86.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008754/1.254, allocations: 2.111 MB / 0.5772 GB, free: 85.55 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/1.256, allocations: 0.9236 MB / 0.5781 GB, free: 85.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01/1.266, allocations: 6.739 MB / 0.5847 GB, free: 80.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/1.266, allocations: 43.03 kB / 0.5847 GB, free: 80.36 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.089e-06/1.266, allocations: 1.875 kB / 0.5847 GB, free: 80.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.02304/1.289, allocations: 6.886 MB / 0.5915 GB, free: 76.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.289, allocations: 166.5 kB / 0.5916 GB, free: 76.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/1.294, allocations: 2.368 MB / 0.5939 GB, free: 75.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002003/1.294, allocations: 41.67 kB / 0.594 GB, free: 75.79 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00177/1.296, allocations: 2.527 MB / 0.5964 GB, free: 73.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/1.296, allocations: 396.2 kB / 0.5968 GB, free: 73.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/1.297, allocations: 74.41 kB / 0.5969 GB, free: 73.53 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/1.297, allocations: 471.6 kB / 0.5973 GB, free: 73.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/1.299, allocations: 1.052 MB / 0.5984 GB, free: 72.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003445/1.302, allocations: 3.354 MB / 0.6016 GB, free: 69.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003364/1.306, allocations: 1.846 MB / 0.6034 GB, free: 68.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.32e-05/1.306, allocations: 27 kB / 0.6035 GB, free: 68.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=503) (initialization): time 0.009563/1.315, allocations: 4.108 MB / 0.6075 GB, free: 67.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/1.315, allocations: 48.62 kB / 0.6075 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-05/1.316, allocations: 82.22 kB / 0.6076 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/1.316, allocations: 119.3 kB / 0.6077 GB, free: 67.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/1.32, allocations: 0.9469 MB / 0.6086 GB, free: 66.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001412/1.32, allocations: 160.6 kB / 0.6088 GB, free: 66.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00373/1.324, allocations: 210.8 kB / 0.609 GB, free: 66.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006723/1.324, allocations: 241.9 kB / 0.6092 GB, free: 66.19 MB / 458.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.0006177/1.325, allocations: 418.7 kB / 0.6096 GB, free: 65.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/1.326, allocations: 247.8 kB / 0.6099 GB, free: 65.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002206/1.328, allocations: 1.155 MB / 0.611 GB, free: 64.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/1.328, allocations: 12 kB / 0.611 GB, free: 64.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.857e-06/1.328, allocations: 0 / 0.611 GB, free: 64.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/1.328, allocations: 7.703 kB / 0.611 GB, free: 64.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.34, allocations: 6.733 MB / 0.6176 GB, free: 58.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-05/1.34, allocations: 20 kB / 0.6176 GB, free: 58.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.342, allocations: 288.9 kB / 0.6179 GB, free: 58.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.079e-05/1.342, allocations: 40.03 kB / 0.6179 GB, free: 58.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.342, allocations: 55.56 kB / 0.618 GB, free: 58.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-05/1.342, allocations: 43.81 kB / 0.618 GB, free: 58.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.241e-05/1.342, allocations: 39.77 kB / 0.618 GB, free: 58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/1.345, allocations: 4.551 MB / 0.6225 GB, free: 52.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/1.346, allocations: 353.2 kB / 0.6228 GB, free: 52.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/1.347, allocations: 59.31 kB / 0.6229 GB, free: 52.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.348, allocations: 78.95 kB / 0.623 GB, free: 52.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/1.349, allocations: 157.9 kB / 0.6231 GB, free: 52.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.349, allocations: 71.89 kB / 0.6232 GB, free: 52.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003109/1.352, allocations: 1.731 MB / 0.6249 GB, free: 50.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.352, allocations: 0 / 0.6249 GB, free: 50.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004765/1.357, allocations: 0.7126 MB / 0.6256 GB, free: 50.04 MB / 458.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.0004356/1.357, allocations: 208.5 kB / 0.6258 GB, free: 49.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004674/1.362, allocations: 2.423 MB / 0.6281 GB, free: 47.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.908e-05/1.362, allocations: 4 kB / 0.6281 GB, free: 47.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.363, allocations: 0.6839 MB / 0.6288 GB, free: 47.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/1.365, allocations: 331.4 kB / 0.6291 GB, free: 46.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/1.377, allocations: 6.208 MB / 0.6352 GB, free: 40.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003904/1.381, allocations: 3.035 MB / 0.6381 GB, free: 38.45 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003675/1.385, allocations: 1.047 MB / 0.6392 GB, free: 37.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005534/1.386, allocations: 186.8 kB / 0.6393 GB, free: 37.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.086e-06/1.386, allocations: 0 / 0.6393 GB, free: 37.6 MB / 458.7 MB Notification: Performance of Templates: time 0.06333/1.449, allocations: 21.02 MB / 0.6599 GB, free: 18.96 MB / 458.7 MB