Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSR,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.|jointUSR.frame_b.r_0.1.|jointUSR.frame_b.r_0.2.|jointUSR.frame_b.r_0.3.|jointUSR.frame_b.f.1.|jointUSR.frame_b.f.2.|jointUSR.frame_b.f.3.|jointUSR.frame_b.t.1.|jointUSR.frame_b.t.2.|jointUSR.frame_b.t.3.|jointUSR.frame_ia.r_0.1.|jointUSR.frame_ia.r_0.2.|jointUSR.frame_ia.r_0.3.|jointUSR.frame_ia.f.1.|jointUSR.frame_ia.f.2.|jointUSR.frame_ia.f.3.|jointUSR.frame_ia.t.1.|jointUSR.frame_ia.t.2.|jointUSR.frame_ia.t.3.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.3.|jointUSR.frame_im.f.3.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.3.|jointUSR.frame_im.t.3.|jointUSR.revolute.frame_b.r_0.1.|jointUSR.revolute.frame_b.r_0.2.|jointUSR.revolute.frame_b.r_0.3.|jointUSR.revolute.frame_b.f.1.|jointUSR.revolute.frame_b.f.2.|jointUSR.revolute.frame_b.f.3.|jointUSR.revolute.frame_b.t.1.|jointUSR.revolute.frame_b.t.2.|jointUSR.revolute.frame_b.t.3.|jointUSR.rod1.frame_b.r_0.1.|jointUSR.rod1.frame_b.r_0.2.|jointUSR.rod1.frame_b.r_0.3.|jointUSR.rod1.frame_b.f.1.|jointUSR.rod1.frame_b.f.2.|jointUSR.rod1.frame_b.f.3.|jointUSR.rod1.frame_b.t.1.|jointUSR.rod1.frame_b.t.2.|jointUSR.rod1.frame_b.t.3.|jointUSR.rod1.frame_ia.r_0.1.|jointUSR.rod1.frame_ia.r_0.2.|jointUSR.rod1.frame_ia.r_0.3.|jointUSR.rod1.frame_ia.f.1.|jointUSR.rod1.frame_ia.f.2.|jointUSR.rod1.frame_ia.f.3.|jointUSR.rod1.frame_ia.t.1.|jointUSR.rod1.frame_ia.t.2.|jointUSR.rod1.frame_ia.t.3.|jointUSR.rod2.frame_b.r_0.1.|jointUSR.rod2.frame_b.r_0.2.|jointUSR.rod2.frame_b.r_0.3.|jointUSR.rod2.frame_b.f.1.|jointUSR.rod2.frame_b.f.2.|jointUSR.rod2.frame_b.f.3.|jointUSR.rod2.frame_b.t.1.|jointUSR.rod2.frame_b.t.2.|jointUSR.rod2.frame_b.t.3.|jointUSR.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.frame_b.f.1.|jointUSR.relativePosition.frame_b.f.2.|jointUSR.relativePosition.frame_b.f.3.|jointUSR.relativePosition.frame_b.t.1.|jointUSR.relativePosition.frame_b.t.2.|jointUSR.relativePosition.frame_b.t.3.|jointUSR.relativePosition.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.relativePosition.frame_b.f.1.|jointUSR.relativePosition.relativePosition.frame_b.f.2.|jointUSR.relativePosition.relativePosition.frame_b.f.3.|jointUSR.relativePosition.relativePosition.frame_b.t.1.|jointUSR.relativePosition.relativePosition.frame_b.t.2.|jointUSR.relativePosition.relativePosition.frame_b.t.3.|jointUSR.position_b.1..y|jointUSR.position_b.2..y|jointUSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 1.998/1.998, allocations: 209.3 MB / 223.8 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.696e-05, allocations: 0 / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.413, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.06/0.4731, allocations: 37.6 MB / 362.5 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02669/0.4998, allocations: 8.062 MB / 370.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009522/0.5094, allocations: 191.6 kB / 370.7 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007522/0.517, allocations: 1.929 MB / 372.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02069/0.5377, allocations: 4.92 MB / 377.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004343/0.5421, allocations: 0.62 MB / 378.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003421/0.5456, allocations: 0.9647 MB / 379.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01483/0.5605, allocations: 4.765 MB / 383.9 MB, free: 4.254 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.5621, allocations: 0.6194 MB / 384.6 MB, free: 3.633 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.564, allocations: 0.8997 MB / 385.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.5661, allocations: 0.6437 MB / 386.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007603/0.5669, allocations: 104 kB / 386.2 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.5686, allocations: 1.212 MB / 387.4 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007899/0.5694, allocations: 216 kB / 387.6 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01199/0.5814, allocations: 5.034 MB / 392.7 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5815, allocations: 7.938 kB / 392.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.5815, allocations: 0 / 392.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.5817, allocations: 0 / 392.7 MB, free: 11.5 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01279/0.5945, allocations: 3.636 MB / 396.3 MB, free: 7.805 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5946, allocations: 8.031 kB / 396.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/0.5993, allocations: 0.5957 MB / 396.9 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006214/0.6056, allocations: 1.813 MB / 398.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.6059, allocations: 234.1 kB / 398.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.6072, allocations: 315.8 kB / 399.3 MB, free: 4.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/0.6375, allocations: 9.368 MB / 408.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.6377, allocations: 19.81 kB / 408.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006914/0.6384, allocations: 143.8 kB / 408.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004852/0.6432, allocations: 1.58 MB / 410.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02894/0.6722, allocations: 7.647 MB / 418 MB, free: 1.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06945/0.7417, allocations: 27.94 MB / 445.9 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/0.7611, allocations: 2.353 MB / 448.3 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02358/0.7847, allocations: 7.681 MB / 456 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.434e-05/0.7849, allocations: 43.22 kB / 456 MB, free: 10.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 5.45e-06/0.7849, allocations: 4 kB / 456 MB, free: 10.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.05057/0.8355, allocations: 7.156 MB / 463.2 MB, free: 3.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.8357, allocations: 141.5 kB / 463.3 MB, free: 2.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007754/0.8435, allocations: 2.333 MB / 465.7 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.8438, allocations: 41.7 kB / 465.7 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003555/0.8474, allocations: 2.415 MB / 468.1 MB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008598/0.8483, allocations: 395.1 kB / 468.5 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.8488, allocations: 80 kB / 468.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005403/0.8494, allocations: 462.3 kB / 469 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003709/0.8531, allocations: 1.069 MB / 470.1 MB, free: 12.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00541/0.8586, allocations: 3.452 MB / 473.5 MB, free: 7.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004949/0.8636, allocations: 1.829 MB / 475.4 MB, free: 5.609 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.163e-05/0.8637, allocations: 24 kB / 475.4 MB, free: 5.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.01305/0.8768, allocations: 4.407 MB / 479.8 MB, free: 1.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.877, allocations: 51.53 kB / 479.9 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/0.8772, allocations: 84 kB / 479.9 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.8774, allocations: 124 kB / 480.1 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3115/1.189, allocations: 0.9398 MB / 481 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002423/1.189, allocations: 166.1 kB / 481.2 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/1.193, allocations: 198.1 kB / 481.4 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000734/1.194, allocations: 233.8 kB / 481.6 MB, free: 125.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 387 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (496): * Single equations (assignments): 496 * 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 prepare postOptimizeDAE: time 0.004049/1.198, allocations: 1.569 MB / 483.2 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/1.199, allocations: 232.2 kB / 483.4 MB, free: 125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/1.202, allocations: 1.377 MB / 484.8 MB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/1.202, allocations: 10.84 kB / 484.8 MB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.202, allocations: 2.25 kB / 484.8 MB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.202, allocations: 6.625 kB / 484.8 MB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/1.218, allocations: 6.021 MB / 490.8 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/1.218, allocations: 14.31 kB / 490.8 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/1.219, allocations: 224.1 kB / 491 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.003e-05/1.219, allocations: 23.91 kB / 491.1 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/1.22, allocations: 42.27 kB / 491.1 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.522e-05/1.22, allocations: 35.06 kB / 491.1 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.228e-05/1.22, allocations: 26.91 kB / 491.2 MB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003744/1.223, allocations: 3.238 MB / 494.4 MB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009016/1.224, allocations: 326.6 kB / 494.7 MB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005132/1.225, allocations: 41.98 kB / 494.8 MB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.226, allocations: 47.92 kB / 494.8 MB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/1.227, allocations: 123.4 kB / 494.9 MB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.227, allocations: 54.59 kB / 495 MB, free: 118.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004383/1.231, allocations: 1.661 MB / 496.6 MB, free: 118 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.231, allocations: 0 / 496.6 MB, free: 118 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004927/1.236, allocations: 0.6681 MB / 497.3 MB, free: 117.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 122 * 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.0006483/1.237, allocations: 186.9 kB / 497.5 MB, free: 117.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006234/1.243, allocations: 2.489 MB / 500 MB, free: 116.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.089e-05/1.243, allocations: 6.281 kB / 500 MB, free: 116.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/1.245, allocations: 0.5664 MB / 0.4888 GB, free: 116.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/1.247, allocations: 305.2 kB / 0.4891 GB, free: 116.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.265, allocations: 8.101 MB / 0.497 GB, free: 111.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003881/1.269, allocations: 2.801 MB / 0.4998 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004577/1.273, allocations: 1.037 MB / 0.5008 GB, free: 110.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000657/1.274, allocations: 171.9 kB / 0.5009 GB, free: 110.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/1.274, allocations: 4 kB / 0.5009 GB, free: 110.5 MB / 410.7 MB Notification: Performance of Templates: time 0.06306/1.337, allocations: 20.36 MB / 0.5208 GB, free: 92.84 MB / 410.7 MB