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.1_cpp_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadModel(ModelicaTest): time 2.055/2.055, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.504e-05, allocations: 4 kB / 273.1 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.69 MB / 321.8 MB, free: 2.844 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.5159, allocations: 96.32 MB / 418.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5162, allocations: 81.88 kB / 418.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.268/0.7842, allocations: 73.59 MB / 491.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7843, allocations: 0 / 491.8 MB, free: 12.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002172/0.7845, allocations: 76 kB / 491.8 MB, free: 12.82 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.01377/0.7983, allocations: 4.09 MB / 495.9 MB, free: 8.672 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.7984, allocations: 12.03 kB / 495.9 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005707/0.8041, allocations: 0.7475 MB / 496.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007893/0.812, allocations: 2.568 MB / 499.2 MB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004511/0.8125, allocations: 320.4 kB / 499.6 MB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.8144, allocations: 419.8 kB / 500 MB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/0.8444, allocations: 9.795 MB / 0.4978 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001346/0.8446, allocations: 19.81 kB / 0.4978 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001288/0.8459, allocations: 183.9 kB / 0.498 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002157/0.848, allocations: 0.8629 MB / 0.4989 GB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/0.873, allocations: 8.26 MB / 0.5069 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2941/1.167, allocations: 31.84 MB / 0.538 GB, free: 85.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/1.18, allocations: 2.987 MB / 0.5409 GB, free: 85.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/1.183, allocations: 1.542 MB / 0.5424 GB, free: 85.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0159/1.199, allocations: 8.984 MB / 0.5512 GB, free: 82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/1.199, allocations: 48.48 kB / 0.5513 GB, free: 81.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 4.595e-06/1.199, allocations: 1.031 kB / 0.5513 GB, free: 81.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.03012/1.229, allocations: 7.621 MB / 0.5587 GB, free: 80.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/1.229, allocations: 121.3 kB / 0.5588 GB, free: 80.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/1.234, allocations: 2.484 MB / 0.5612 GB, free: 79.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002739/1.235, allocations: 43.27 kB / 0.5613 GB, free: 79.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/1.236, allocations: 2.48 MB / 0.5637 GB, free: 78.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005141/1.237, allocations: 434.3 kB / 0.5641 GB, free: 78.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/1.237, allocations: 80.72 kB / 0.5642 GB, free: 78.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002443/1.237, allocations: 484.4 kB / 0.5647 GB, free: 77.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002803/1.24, allocations: 1.41 MB / 0.566 GB, free: 77.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/1.244, allocations: 3.687 MB / 0.5696 GB, free: 74.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004026/1.248, allocations: 2.215 MB / 0.5718 GB, free: 74.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.059e-05/1.249, allocations: 22.62 kB / 0.5718 GB, free: 74.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01063/1.259, allocations: 4.787 MB / 0.5765 GB, free: 74.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/1.259, allocations: 37.84 kB / 0.5765 GB, free: 74.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.259, allocations: 86.72 kB / 0.5766 GB, free: 74.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/1.26, allocations: 125 kB / 0.5767 GB, free: 74.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004889/1.264, allocations: 0.9934 MB / 0.5777 GB, free: 74.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001536/1.265, allocations: 160.9 kB / 0.5779 GB, free: 74.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/1.269, allocations: 238 kB / 0.5781 GB, free: 73.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000781/1.27, allocations: 235.6 kB / 0.5783 GB, free: 73.91 MB / 426.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.0007409/1.27, allocations: 442.1 kB / 0.5787 GB, free: 73.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005306/1.271, allocations: 239.9 kB / 0.579 GB, free: 73.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/1.275, allocations: 2.039 MB / 0.5809 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.275, allocations: 12.38 kB / 0.581 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.035e-06/1.275, allocations: 3.719 kB / 0.581 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/1.275, allocations: 3.328 kB / 0.581 GB, free: 72.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/1.289, allocations: 6.923 MB / 0.5877 GB, free: 69.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-05/1.289, allocations: 17.31 kB / 0.5877 GB, free: 69.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/1.29, allocations: 295.9 kB / 0.588 GB, free: 69.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.47e-05/1.29, allocations: 26.06 kB / 0.5881 GB, free: 69.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/1.29, allocations: 50.81 kB / 0.5881 GB, free: 69.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.777e-05/1.291, allocations: 35.03 kB / 0.5881 GB, free: 69.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.74e-05/1.291, allocations: 32.78 kB / 0.5882 GB, free: 69.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003775/1.294, allocations: 4.235 MB / 0.5923 GB, free: 65.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008716/1.295, allocations: 355.5 kB / 0.5926 GB, free: 65.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004422/1.296, allocations: 48.88 kB / 0.5927 GB, free: 65.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.297, allocations: 77.73 kB / 0.5928 GB, free: 65.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/1.297, allocations: 152.6 kB / 0.5929 GB, free: 65.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/1.298, allocations: 62.34 kB / 0.593 GB, free: 65.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003369/1.301, allocations: 1.758 MB / 0.5947 GB, free: 64.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.085e-06/1.301, allocations: 0 / 0.5947 GB, free: 64.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004861/1.306, allocations: 0.7587 MB / 0.5954 GB, free: 64.3 MB / 426.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.0005505/1.306, allocations: 214.5 kB / 0.5956 GB, free: 64.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005767/1.312, allocations: 3.028 MB / 0.5986 GB, free: 63.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/1.312, allocations: 8.156 kB / 0.5986 GB, free: 63.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.314, allocations: 0.848 MB / 0.5994 GB, free: 62.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/1.316, allocations: 311.6 kB / 0.5997 GB, free: 62.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.331, allocations: 6.745 MB / 0.6063 GB, free: 59.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005228/1.336, allocations: 3.024 MB / 0.6093 GB, free: 58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.337, allocations: 215.9 kB / 0.6095 GB, free: 57.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.797e-06/1.337, allocations: 0 / 0.6095 GB, free: 57.99 MB / 426.7 MB Notification: Performance of Templates: time 0.06589/1.403, allocations: 43.11 MB / 0.6516 GB, free: 24.07 MB / 426.7 MB