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.3_ModelicaTest.MultiBody.Joints.JointRRR") Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.331e-05, allocations: 8 kB / 323.4 MB, free: 4.277 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3285, allocations: 58.83 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.4981, allocations: 110.1 MB / 492.3 MB, free: 14.37 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4984, allocations: 79.91 kB / 492.4 MB, free: 14.29 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5321/1.031, allocations: 74.36 MB / 0.5535 GB, free: 111.7 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.372e-06/1.031, allocations: 0 / 0.5535 GB, free: 111.7 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002057/1.031, allocations: 87.16 kB / 0.5535 GB, free: 111.7 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01291/1.044, allocations: 4.102 MB / 0.5575 GB, free: 110.1 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.044, allocations: 10.41 kB / 0.5576 GB, free: 110.1 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/1.05, allocations: 0.7457 MB / 0.5583 GB, free: 109.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007254/1.057, allocations: 2.579 MB / 0.5608 GB, free: 108.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/1.058, allocations: 329.3 kB / 0.5611 GB, free: 108.6 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/1.059, allocations: 414.5 kB / 0.5615 GB, free: 108.5 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/1.086, allocations: 9.806 MB / 0.5711 GB, free: 102.9 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/1.086, allocations: 15.81 kB / 0.5711 GB, free: 102.8 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/1.088, allocations: 190.1 kB / 0.5713 GB, free: 102.7 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001873/1.09, allocations: 0.8617 MB / 0.5721 GB, free: 102 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/1.111, allocations: 8.277 MB / 0.5802 GB, free: 94.43 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04998/1.161, allocations: 31.94 MB / 0.6114 GB, free: 61.92 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/1.173, allocations: 2.998 MB / 0.6143 GB, free: 58.89 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/1.175, allocations: 1.538 MB / 0.6158 GB, free: 57.34 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01432/1.189, allocations: 8.979 MB / 0.6246 GB, free: 47.92 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.19, allocations: 43.34 kB / 0.6246 GB, free: 47.87 MB / 458.8 MB Notification: Performance of pre-optimization done (n=91): time 4.775e-06/1.19, allocations: 0 / 0.6246 GB, free: 47.87 MB / 458.8 MB Notification: Performance of matching and sorting (n=108): time 0.02995/1.22, allocations: 7.633 MB / 0.6321 GB, free: 40.2 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.22, allocations: 115.8 kB / 0.6322 GB, free: 40.07 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004783/1.224, allocations: 2.51 MB / 0.6347 GB, free: 37.54 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002662/1.225, allocations: 53.77 kB / 0.6347 GB, free: 37.48 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.226, allocations: 2.51 MB / 0.6372 GB, free: 34.97 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005314/1.227, allocations: 430.9 kB / 0.6376 GB, free: 34.55 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/1.227, allocations: 84 kB / 0.6377 GB, free: 34.47 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002518/1.228, allocations: 478.8 kB / 0.6381 GB, free: 34 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/1.231, allocations: 1.41 MB / 0.6395 GB, free: 32.58 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004264/1.235, allocations: 3.715 MB / 0.6431 GB, free: 27.69 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/1.239, allocations: 2.222 MB / 0.6453 GB, free: 25.46 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.838e-05/1.239, allocations: 24 kB / 0.6453 GB, free: 25.44 MB / 458.8 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.01096/1.25, allocations: 4.888 MB / 0.6501 GB, free: 20.55 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-05/1.25, allocations: 44 kB / 0.6501 GB, free: 20.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.543e-05/1.25, allocations: 80 kB / 0.6502 GB, free: 20.43 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/1.25, allocations: 124 kB / 0.6503 GB, free: 20.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00459/1.255, allocations: 1.006 MB / 0.6513 GB, free: 19.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001405/1.255, allocations: 163.4 kB / 0.6515 GB, free: 19.14 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004168/1.259, allocations: 243.5 kB / 0.6517 GB, free: 18.9 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008171/1.26, allocations: 240 kB / 0.6519 GB, free: 18.66 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (524): * Single equations (assignments): 523 * 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.0007427/1.261, allocations: 444.5 kB / 0.6523 GB, free: 18.23 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/1.262, allocations: 244.8 kB / 0.6526 GB, free: 17.99 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/1.265, allocations: 2.042 MB / 0.6546 GB, free: 15.93 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/1.266, allocations: 12 kB / 0.6546 GB, free: 15.92 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.37e-06/1.266, allocations: 0 / 0.6546 GB, free: 15.92 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/1.266, allocations: 7.969 kB / 0.6546 GB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01361/1.279, allocations: 6.929 MB / 0.6614 GB, free: 8.656 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/1.279, allocations: 16 kB / 0.6614 GB, free: 8.641 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/1.281, allocations: 295.5 kB / 0.6617 GB, free: 8.352 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.658e-05/1.281, allocations: 36.02 kB / 0.6617 GB, free: 8.316 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/1.281, allocations: 48 kB / 0.6617 GB, free: 8.27 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.789e-05/1.281, allocations: 35.86 kB / 0.6618 GB, free: 8.234 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.792e-05/1.281, allocations: 27.88 kB / 0.6618 GB, free: 8.207 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/1.285, allocations: 4.248 MB / 0.6659 GB, free: 3.449 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009136/1.286, allocations: 357.7 kB / 0.6663 GB, free: 3.078 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004855/1.286, allocations: 51.98 kB / 0.6663 GB, free: 3.027 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.288, allocations: 71.94 kB / 0.6664 GB, free: 2.957 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/1.288, allocations: 152.2 kB / 0.6665 GB, free: 2.809 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/1.288, allocations: 60 kB / 0.6666 GB, free: 2.75 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003425/1.292, allocations: 1.777 MB / 0.6683 GB, free: 0.9648 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.36e-06/1.292, allocations: 0 / 0.6683 GB, free: 0.9648 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005042/1.297, allocations: 0.7578 MB / 0.6691 GB, free: 212 kB / 458.8 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.0006211/1.298, allocations: 224 kB / 0.6693 GB, free: 15.98 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.006838/1.304, allocations: 3.029 MB / 0.6722 GB, free: 12.97 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.153e-05/1.305, allocations: 11.94 kB / 0.6723 GB, free: 12.96 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.306, allocations: 0.8434 MB / 0.6731 GB, free: 12.12 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.309, allocations: 320 kB / 0.6734 GB, free: 11.81 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/1.325, allocations: 6.311 MB / 0.6796 GB, free: 5.215 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005913/1.331, allocations: 3.035 MB / 0.6825 GB, free: 2.152 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004604/1.335, allocations: 1.049 MB / 0.6835 GB, free: 1.102 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/1.336, allocations: 191.4 kB / 0.6837 GB, free: 0.9141 MB / 474.8 MB Notification: Performance of SimCode: time 1.896e-06/1.336, allocations: 4 kB / 0.6837 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of Templates: time 0.07809/1.414, allocations: 24.26 MB / 0.7074 GB, free: 8.793 MB / 0.4949 GB