Running command: translateModel(ModelicaTest.MultiBody.Joints.JointRRR,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.|jointRRR.frame_b.r_0.1.|jointRRR.frame_b.r_0.2.|jointRRR.frame_b.r_0.3.|jointRRR.frame_b.f.1.|jointRRR.frame_b.f.2.|jointRRR.frame_b.f.3.|jointRRR.frame_b.t.1.|jointRRR.frame_b.t.2.|jointRRR.frame_b.t.3.|jointRRR.frame_ia.r_0.1.|jointRRR.frame_ia.r_0.2.|jointRRR.frame_ia.r_0.3.|jointRRR.frame_ia.f.1.|jointRRR.frame_ia.f.2.|jointRRR.frame_ia.f.3.|jointRRR.frame_ia.t.1.|jointRRR.frame_ia.t.2.|jointRRR.frame_ia.t.3.|jointRRR.frame_im.r_0.1.|jointRRR.frame_im.r_0.1.|jointRRR.frame_im.r_0.2.|jointRRR.frame_im.r_0.2.|jointRRR.frame_im.r_0.3.|jointRRR.frame_im.r_0.3.|jointRRR.frame_im.f.1.|jointRRR.frame_im.f.1.|jointRRR.frame_im.f.2.|jointRRR.frame_im.f.2.|jointRRR.frame_im.f.3.|jointRRR.frame_im.f.3.|jointRRR.frame_im.t.1.|jointRRR.frame_im.t.1.|jointRRR.frame_im.t.2.|jointRRR.frame_im.t.2.|jointRRR.frame_im.t.3.|jointRRR.frame_im.t.3.|jointRRR.jointUSR.frame_b.r_0.1.|jointRRR.jointUSR.frame_b.r_0.2.|jointRRR.jointUSR.frame_b.r_0.3.|jointRRR.jointUSR.frame_b.f.1.|jointRRR.jointUSR.frame_b.f.2.|jointRRR.jointUSR.frame_b.f.3.|jointRRR.jointUSR.frame_b.t.1.|jointRRR.jointUSR.frame_b.t.2.|jointRRR.jointUSR.frame_b.t.3.|jointRRR.jointUSR.frame_ia.r_0.1.|jointRRR.jointUSR.frame_ia.r_0.2.|jointRRR.jointUSR.frame_ia.r_0.3.|jointRRR.jointUSR.frame_ia.f.1.|jointRRR.jointUSR.frame_ia.f.2.|jointRRR.jointUSR.frame_ia.f.3.|jointRRR.jointUSR.frame_ia.t.1.|jointRRR.jointUSR.frame_ia.t.2.|jointRRR.jointUSR.frame_ia.t.3.|jointRRR.jointUSR.frame_im.r_0.1.|jointRRR.jointUSR.frame_im.r_0.1.|jointRRR.jointUSR.frame_im.r_0.2.|jointRRR.jointUSR.frame_im.r_0.2.|jointRRR.jointUSR.frame_im.r_0.3.|jointRRR.jointUSR.frame_im.r_0.3.|jointRRR.jointUSR.frame_im.f.1.|jointRRR.jointUSR.frame_im.f.1.|jointRRR.jointUSR.frame_im.f.2.|jointRRR.jointUSR.frame_im.f.2.|jointRRR.jointUSR.frame_im.f.3.|jointRRR.jointUSR.frame_im.f.3.|jointRRR.jointUSR.frame_im.t.1.|jointRRR.jointUSR.frame_im.t.1.|jointRRR.jointUSR.frame_im.t.2.|jointRRR.jointUSR.frame_im.t.2.|jointRRR.jointUSR.frame_im.t.3.|jointRRR.jointUSR.frame_im.t.3.|jointRRR.jointUSR.revolute.frame_b.r_0.1.|jointRRR.jointUSR.revolute.frame_b.r_0.2.|jointRRR.jointUSR.revolute.frame_b.r_0.3.|jointRRR.jointUSR.revolute.frame_b.f.1.|jointRRR.jointUSR.revolute.frame_b.f.2.|jointRRR.jointUSR.revolute.frame_b.f.3.|jointRRR.jointUSR.revolute.frame_b.t.1.|jointRRR.jointUSR.revolute.frame_b.t.2.|jointRRR.jointUSR.revolute.frame_b.t.3.|jointRRR.jointUSR.rod1.frame_b.r_0.1.|jointRRR.jointUSR.rod1.frame_b.r_0.2.|jointRRR.jointUSR.rod1.frame_b.r_0.3.|jointRRR.jointUSR.rod1.frame_b.f.1.|jointRRR.jointUSR.rod1.frame_b.f.2.|jointRRR.jointUSR.rod1.frame_b.f.3.|jointRRR.jointUSR.rod1.frame_b.t.1.|jointRRR.jointUSR.rod1.frame_b.t.2.|jointRRR.jointUSR.rod1.frame_b.t.3.|jointRRR.jointUSR.rod1.frame_ia.r_0.1.|jointRRR.jointUSR.rod1.frame_ia.r_0.2.|jointRRR.jointUSR.rod1.frame_ia.r_0.3.|jointRRR.jointUSR.rod1.frame_ia.f.1.|jointRRR.jointUSR.rod1.frame_ia.f.2.|jointRRR.jointUSR.rod1.frame_ia.f.3.|jointRRR.jointUSR.rod1.frame_ia.t.1.|jointRRR.jointUSR.rod1.frame_ia.t.2.|jointRRR.jointUSR.rod1.frame_ia.t.3.|jointRRR.jointUSR.rod2.frame_b.r_0.1.|jointRRR.jointUSR.rod2.frame_b.r_0.2.|jointRRR.jointUSR.rod2.frame_b.r_0.3.|jointRRR.jointUSR.rod2.frame_b.f.1.|jointRRR.jointUSR.rod2.frame_b.f.2.|jointRRR.jointUSR.rod2.frame_b.f.3.|jointRRR.jointUSR.rod2.frame_b.t.1.|jointRRR.jointUSR.rod2.frame_b.t.2.|jointRRR.jointUSR.rod2.frame_b.t.3.|jointRRR.jointUSR.relativePosition.frame_b.r_0.1.|jointRRR.jointUSR.relativePosition.frame_b.r_0.2.|jointRRR.jointUSR.relativePosition.frame_b.r_0.3.|jointRRR.jointUSR.relativePosition.frame_b.f.1.|jointRRR.jointUSR.relativePosition.frame_b.f.2.|jointRRR.jointUSR.relativePosition.frame_b.f.3.|jointRRR.jointUSR.relativePosition.frame_b.t.1.|jointRRR.jointUSR.relativePosition.frame_b.t.2.|jointRRR.jointUSR.relativePosition.frame_b.t.3.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.r_0.1.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.r_0.2.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.r_0.3.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.f.1.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.f.2.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.f.3.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.t.1.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.t.2.|jointRRR.jointUSR.relativePosition.relativePosition.frame_b.t.3.|jointRRR.jointUSR.position_b.1..y|jointRRR.jointUSR.position_b.2..y|jointRRR.jointUSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.646e-05, allocations: 4 kB / 304.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3491, allocations: 54.86 MB / 359.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1902/0.5393, allocations: 102.8 MB / 462.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5396, allocations: 75.97 kB / 462.7 MB, free: 9.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5239/1.064, allocations: 73.59 MB / 0.5237 GB, free: 106.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.226e-06/1.064, allocations: 0.9688 kB / 0.5237 GB, free: 106.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002705/1.064, allocations: 75.28 kB / 0.5238 GB, free: 106.8 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.0131/1.077, allocations: 4.085 MB / 0.5278 GB, free: 106.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.077, allocations: 10.95 kB / 0.5278 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00562/1.083, allocations: 0.7461 MB / 0.5285 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007758/1.09, allocations: 2.566 MB / 0.531 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004194/1.091, allocations: 319.5 kB / 0.5314 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/1.093, allocations: 417.2 kB / 0.5317 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02808/1.121, allocations: 9.797 MB / 0.5413 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/1.121, allocations: 18.12 kB / 0.5413 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/1.122, allocations: 190 kB / 0.5415 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/1.124, allocations: 0.853 MB / 0.5423 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/1.148, allocations: 8.27 MB / 0.5504 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08123/1.229, allocations: 31.84 MB / 0.5815 GB, free: 84.78 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02052/1.25, allocations: 2.986 MB / 0.5844 GB, free: 83.87 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004374/1.254, allocations: 1.543 MB / 0.5859 GB, free: 83.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01825/1.272, allocations: 8.972 MB / 0.5947 GB, free: 77.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.273, allocations: 50.22 kB / 0.5948 GB, free: 77.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.653e-06/1.273, allocations: 0 / 0.5948 GB, free: 77.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.04191/1.314, allocations: 7.62 MB / 0.6022 GB, free: 74.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.315, allocations: 122.3 kB / 0.6023 GB, free: 74.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/1.319, allocations: 2.488 MB / 0.6047 GB, free: 73.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002552/1.319, allocations: 45.61 kB / 0.6048 GB, free: 73.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0015/1.321, allocations: 2.505 MB / 0.6072 GB, free: 71.49 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/1.321, allocations: 433.4 kB / 0.6076 GB, free: 71.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/1.322, allocations: 78.88 kB / 0.6077 GB, free: 71.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/1.322, allocations: 478.1 kB / 0.6082 GB, free: 70.75 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/1.324, allocations: 1.405 MB / 0.6095 GB, free: 69.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004041/1.329, allocations: 3.691 MB / 0.6132 GB, free: 64.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/1.333, allocations: 2.219 MB / 0.6153 GB, free: 63.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.538e-05/1.333, allocations: 27.94 kB / 0.6153 GB, free: 63.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01004/1.343, allocations: 4.865 MB / 0.6201 GB, free: 58.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/1.343, allocations: 41.72 kB / 0.6201 GB, free: 58.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-05/1.343, allocations: 84.12 kB / 0.6202 GB, free: 58.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/1.343, allocations: 120 kB / 0.6203 GB, free: 58.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00432/1.347, allocations: 0.9973 MB / 0.6213 GB, free: 57.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/1.348, allocations: 165.2 kB / 0.6215 GB, free: 57.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/1.352, allocations: 249.1 kB / 0.6217 GB, free: 57.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007247/1.352, allocations: 239.5 kB / 0.6219 GB, free: 56.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],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],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[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 (521): * Single equations (assignments): 520 * 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.0006844/1.353, allocations: 431.6 kB / 0.6223 GB, free: 56.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/1.354, allocations: 236.9 kB / 0.6226 GB, free: 56.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/1.358, allocations: 2.033 MB / 0.6246 GB, free: 54.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/1.359, allocations: 15.66 kB / 0.6246 GB, free: 54.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.359, allocations: 0 / 0.6246 GB, free: 54.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-05/1.359, allocations: 3.891 kB / 0.6246 GB, free: 54.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.377, allocations: 6.924 MB / 0.6313 GB, free: 48.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/1.377, allocations: 16 kB / 0.6313 GB, free: 48.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.378, allocations: 301.6 kB / 0.6316 GB, free: 48.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.512e-05/1.378, allocations: 28 kB / 0.6317 GB, free: 48.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/1.378, allocations: 48 kB / 0.6317 GB, free: 48.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.897e-05/1.378, allocations: 35.77 kB / 0.6317 GB, free: 48.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-05/1.378, allocations: 32.45 kB / 0.6318 GB, free: 47.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/1.382, allocations: 4.232 MB / 0.6359 GB, free: 43.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/1.383, allocations: 350.3 kB / 0.6362 GB, free: 43.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004076/1.383, allocations: 55.38 kB / 0.6363 GB, free: 43.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.385, allocations: 73.44 kB / 0.6364 GB, free: 42.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/1.385, allocations: 153 kB / 0.6365 GB, free: 42.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/1.385, allocations: 59.09 kB / 0.6366 GB, free: 42.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003113/1.388, allocations: 1.758 MB / 0.6383 GB, free: 41.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.069e-06/1.388, allocations: 3.188 kB / 0.6383 GB, free: 41.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004639/1.393, allocations: 0.7725 MB / 0.639 GB, free: 40.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 155 * 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.0005066/1.393, allocations: 210.2 kB / 0.6392 GB, free: 40.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005456/1.399, allocations: 3.029 MB / 0.6422 GB, free: 37.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/1.399, allocations: 5.5 kB / 0.6422 GB, free: 37.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/1.4, allocations: 0.8475 MB / 0.643 GB, free: 36.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.402, allocations: 312.3 kB / 0.6433 GB, free: 36.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.415, allocations: 6.299 MB / 0.6495 GB, free: 30.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0044/1.42, allocations: 3.024 MB / 0.6524 GB, free: 28.09 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003925/1.424, allocations: 1.045 MB / 0.6535 GB, free: 27.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008088/1.425, allocations: 187.4 kB / 0.6536 GB, free: 27.04 MB / 458.7 MB Notification: Performance of SimCode: time 1.891e-06/1.425, allocations: 4 kB / 0.6536 GB, free: 27.04 MB / 458.7 MB Notification: Performance of Templates: time 0.07563/1.5, allocations: 24.18 MB / 0.6772 GB, free: 3.367 MB / 458.7 MB