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_cpp_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 1.995/1.995, allocations: 209.3 MB / 224.4 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.482e-05, allocations: 7.938 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3522, allocations: 48.7 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.05902/0.4113, allocations: 37.6 MB / 362.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02536/0.4367, allocations: 8.061 MB / 370.5 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009664/0.4465, allocations: 187.6 kB / 370.7 MB, free: 1.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007673/0.4542, allocations: 1.936 MB / 372.6 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02004/0.4743, allocations: 4.908 MB / 377.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00402/0.4783, allocations: 0.6122 MB / 378.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003438/0.4818, allocations: 0.9686 MB / 379.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01013/0.492, allocations: 4.777 MB / 383.9 MB, free: 4.348 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.4937, allocations: 0.6233 MB / 384.5 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.496, allocations: 0.8958 MB / 385.4 MB, free: 2.824 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.4982, allocations: 0.6593 MB / 386.1 MB, free: 2.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008746/0.4991, allocations: 104 kB / 386.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001979/0.5011, allocations: 1.2 MB / 387.4 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009523/0.5021, allocations: 216 kB / 387.6 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007992/0.5101, allocations: 5.034 MB / 392.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5102, allocations: 0 / 392.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5102, allocations: 0 / 392.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002183/0.5104, allocations: 4 kB / 392.6 MB, free: 11.6 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.01353/0.524, allocations: 3.636 MB / 396.3 MB, free: 7.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.5241, allocations: 8.031 kB / 396.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/0.529, allocations: 0.6035 MB / 396.9 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0066/0.5357, allocations: 1.809 MB / 398.7 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003276/0.536, allocations: 234.1 kB / 398.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.5375, allocations: 315.8 kB / 399.2 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/0.5688, allocations: 9.375 MB / 408.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.5689, allocations: 15.88 kB / 408.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007016/0.5697, allocations: 139.8 kB / 408.8 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004913/0.5746, allocations: 1.588 MB / 410.3 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02951/0.6042, allocations: 7.646 MB / 418 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06055/0.6648, allocations: 27.93 MB / 445.9 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/0.6789, allocations: 2.346 MB / 448.3 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01889/0.6978, allocations: 7.685 MB / 456 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/0.6979, allocations: 51.16 kB / 456 MB, free: 10.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 4.388e-06/0.698, allocations: 0 / 456 MB, free: 10.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.03664/0.7346, allocations: 7.156 MB / 463.2 MB, free: 3.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.7348, allocations: 145.5 kB / 463.3 MB, free: 3.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005857/0.7407, allocations: 2.333 MB / 465.6 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.741, allocations: 41.7 kB / 465.7 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002736/0.7437, allocations: 2.389 MB / 468.1 MB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006921/0.7444, allocations: 399.1 kB / 468.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003788/0.7448, allocations: 80.09 kB / 468.5 MB, free: 13.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003749/0.7452, allocations: 475.1 kB / 469 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/0.7484, allocations: 1.069 MB / 470.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005519/0.754, allocations: 3.437 MB / 473.5 MB, free: 7.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004845/0.7589, allocations: 1.841 MB / 475.3 MB, free: 5.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-05/0.759, allocations: 28 kB / 475.4 MB, free: 5.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=496) (initialization): time 0.01249/0.7715, allocations: 4.322 MB / 479.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.7717, allocations: 40 kB / 479.7 MB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.7718, allocations: 84 kB / 479.8 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001792/0.772, allocations: 132.1 kB / 479.9 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007394/0.7794, allocations: 0.9474 MB / 480.9 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2915/1.071, allocations: 164 kB / 481.1 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.075, allocations: 191.7 kB / 481.2 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007953/1.076, allocations: 235.2 kB / 481.5 MB, free: 124.9 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.004121/1.08, allocations: 1.568 MB / 483 MB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005954/1.08, allocations: 228.3 kB / 483.3 MB, free: 124.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/1.084, allocations: 1.383 MB / 484.6 MB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.084, allocations: 11.27 kB / 484.7 MB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.084, allocations: 1.312 kB / 484.7 MB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/1.084, allocations: 5.688 kB / 484.7 MB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/1.1, allocations: 6.017 MB / 490.7 MB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-05/1.1, allocations: 18.5 kB / 490.7 MB, free: 121.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/1.102, allocations: 224 kB / 490.9 MB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.006e-05/1.102, allocations: 22.88 kB / 490.9 MB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/1.102, allocations: 36.19 kB / 491 MB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.585e-05/1.102, allocations: 28.59 kB / 491 MB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-05/1.102, allocations: 29.91 kB / 491 MB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003775/1.106, allocations: 3.243 MB / 494.3 MB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/1.107, allocations: 326.2 kB / 494.6 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006204/1.107, allocations: 39.73 kB / 494.6 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/1.109, allocations: 45.08 kB / 494.7 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/1.109, allocations: 122 kB / 494.8 MB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.109, allocations: 49.64 kB / 494.8 MB, free: 118.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004449/1.114, allocations: 1.662 MB / 496.5 MB, free: 117.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.114, allocations: 0 / 496.5 MB, free: 117.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004726/1.119, allocations: 0.6676 MB / 497.2 MB, free: 117.4 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.0006644/1.119, allocations: 195.2 kB / 497.4 MB, free: 117.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006334/1.126, allocations: 2.485 MB / 499.8 MB, free: 116.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.361e-05/1.126, allocations: 6.094 kB / 499.9 MB, free: 116.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/1.127, allocations: 0.5697 MB / 0.4887 GB, free: 116.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.13, allocations: 297.1 kB / 0.489 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/1.148, allocations: 8.501 MB / 0.4973 GB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005297/1.154, allocations: 2.802 MB / 0.5 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009509/1.155, allocations: 205.3 kB / 0.5002 GB, free: 109.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/1.155, allocations: 0 / 0.5002 GB, free: 109.9 MB / 410.7 MB Notification: Performance of Templates: time 0.07579/1.231, allocations: 39.03 MB / 0.5383 GB, free: 74.81 MB / 410.7 MB