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_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.559e-05, allocations: 4 kB / 273.1 MB, free: 3.133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08795/0.088, allocations: 48.7 MB / 321.8 MB, free: 2.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4523, allocations: 96.32 MB / 418.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.4526, allocations: 73.97 kB / 418.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2696/0.7222, allocations: 73.6 MB / 491.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.764e-06/0.7222, allocations: 0 / 491.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002156/0.7225, allocations: 76 kB / 491.9 MB, free: 12.32 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.01371/0.7362, allocations: 4.086 MB / 495.9 MB, free: 8.172 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.7363, allocations: 12.03 kB / 496 MB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/0.742, allocations: 0.7514 MB / 496.7 MB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007942/0.7499, allocations: 2.568 MB / 499.3 MB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.7504, allocations: 320.4 kB / 499.6 MB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.7522, allocations: 415.9 kB / 500 MB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02919/0.7814, allocations: 9.799 MB / 0.4978 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.7816, allocations: 19.81 kB / 0.4979 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/0.7826, allocations: 183.9 kB / 0.498 GB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/0.7847, allocations: 0.859 MB / 0.4989 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/0.8096, allocations: 8.268 MB / 0.507 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2946/1.104, allocations: 31.83 MB / 0.538 GB, free: 85.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/1.116, allocations: 2.991 MB / 0.541 GB, free: 85.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002856/1.119, allocations: 1.541 MB / 0.5425 GB, free: 85.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/1.135, allocations: 8.984 MB / 0.5512 GB, free: 81.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/1.135, allocations: 48.88 kB / 0.5513 GB, free: 81.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 5.059e-06/1.135, allocations: 0 / 0.5513 GB, free: 81.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.03104/1.166, allocations: 7.617 MB / 0.5587 GB, free: 80.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.166, allocations: 121.2 kB / 0.5588 GB, free: 80.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004923/1.171, allocations: 2.488 MB / 0.5613 GB, free: 79.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002599/1.171, allocations: 43.77 kB / 0.5613 GB, free: 79.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/1.173, allocations: 2.506 MB / 0.5638 GB, free: 78.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005031/1.174, allocations: 432.9 kB / 0.5642 GB, free: 78.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/1.174, allocations: 84.97 kB / 0.5643 GB, free: 78.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002539/1.174, allocations: 474.4 kB / 0.5647 GB, free: 77.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/1.177, allocations: 1.405 MB / 0.5661 GB, free: 77.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004178/1.181, allocations: 3.699 MB / 0.5697 GB, free: 74.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004203/1.186, allocations: 2.21 MB / 0.5718 GB, free: 74.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.701e-05/1.186, allocations: 23 kB / 0.5719 GB, free: 74.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01129/1.197, allocations: 4.871 MB / 0.5766 GB, free: 74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.946e-05/1.197, allocations: 40.28 kB / 0.5767 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/1.197, allocations: 84.86 kB / 0.5767 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/1.197, allocations: 120.1 kB / 0.5769 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004688/1.202, allocations: 1.002 MB / 0.5778 GB, free: 73.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001498/1.202, allocations: 161.2 kB / 0.578 GB, free: 73.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/1.207, allocations: 237.8 kB / 0.5782 GB, free: 73.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008144/1.207, allocations: 238.7 kB / 0.5784 GB, free: 73.73 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.0007682/1.208, allocations: 434.3 kB / 0.5789 GB, free: 73.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/1.209, allocations: 241.5 kB / 0.5791 GB, free: 73.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/1.213, allocations: 2.036 MB / 0.5811 GB, free: 72.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.213, allocations: 15.17 kB / 0.5811 GB, free: 72.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.941e-06/1.213, allocations: 3.875 kB / 0.5811 GB, free: 72.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/1.213, allocations: 7.359 kB / 0.5811 GB, free: 72.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/1.227, allocations: 6.917 MB / 0.5879 GB, free: 68.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.227, allocations: 16.06 kB / 0.5879 GB, free: 68.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.229, allocations: 305.6 kB / 0.5882 GB, free: 68.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.525e-05/1.229, allocations: 26.47 kB / 0.5882 GB, free: 68.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/1.229, allocations: 53.94 kB / 0.5882 GB, free: 68.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-05/1.229, allocations: 33.47 kB / 0.5883 GB, free: 68.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.998e-05/1.229, allocations: 35.12 kB / 0.5883 GB, free: 68.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/1.233, allocations: 4.23 MB / 0.5924 GB, free: 65.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/1.234, allocations: 348 kB / 0.5928 GB, free: 65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005562/1.235, allocations: 60.73 kB / 0.5928 GB, free: 64.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.237, allocations: 65.95 kB / 0.5929 GB, free: 64.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/1.237, allocations: 149.5 kB / 0.593 GB, free: 64.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/1.237, allocations: 64.25 kB / 0.5931 GB, free: 64.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003691/1.241, allocations: 1.754 MB / 0.5948 GB, free: 64.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.09e-06/1.241, allocations: 0 / 0.5948 GB, free: 64.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0052/1.246, allocations: 0.765 MB / 0.5956 GB, free: 64.13 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.0005931/1.247, allocations: 217.1 kB / 0.5958 GB, free: 63.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005809/1.253, allocations: 3.023 MB / 0.5987 GB, free: 62.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.253, allocations: 0 / 0.5987 GB, free: 62.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.254, allocations: 0.8542 MB / 0.5995 GB, free: 62.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002202/1.257, allocations: 319.6 kB / 0.5999 GB, free: 62.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.271, allocations: 6.294 MB / 0.606 GB, free: 59.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005588/1.277, allocations: 3.033 MB / 0.609 GB, free: 58.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004275/1.281, allocations: 1.043 MB / 0.61 GB, free: 58.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009294/1.282, allocations: 188.6 kB / 0.6102 GB, free: 58 MB / 426.7 MB Notification: Performance of SimCode: time 1.767e-06/1.282, allocations: 0 / 0.6102 GB, free: 58 MB / 426.7 MB Notification: Performance of Templates: time 0.06902/1.351, allocations: 24.17 MB / 0.6338 GB, free: 42.16 MB / 426.7 MB