Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP,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.|jointUSP.frame_b.r_0.1.|jointUSP.frame_b.r_0.2.|jointUSP.frame_b.r_0.3.|jointUSP.frame_b.f.1.|jointUSP.frame_b.f.2.|jointUSP.frame_b.f.3.|jointUSP.frame_b.t.1.|jointUSP.frame_b.t.2.|jointUSP.frame_b.t.3.|jointUSP.frame_ia.r_0.1.|jointUSP.frame_ia.r_0.2.|jointUSP.frame_ia.r_0.3.|jointUSP.frame_ia.f.1.|jointUSP.frame_ia.f.2.|jointUSP.frame_ia.f.3.|jointUSP.frame_ia.t.1.|jointUSP.frame_ia.t.2.|jointUSP.frame_ia.t.3.|jointUSP.frame_im.r_0.1.|jointUSP.frame_im.r_0.1.|jointUSP.frame_im.r_0.2.|jointUSP.frame_im.r_0.2.|jointUSP.frame_im.r_0.3.|jointUSP.frame_im.r_0.3.|jointUSP.frame_im.f.1.|jointUSP.frame_im.f.1.|jointUSP.frame_im.f.2.|jointUSP.frame_im.f.2.|jointUSP.frame_im.f.3.|jointUSP.frame_im.f.3.|jointUSP.frame_im.t.1.|jointUSP.frame_im.t.1.|jointUSP.frame_im.t.2.|jointUSP.frame_im.t.2.|jointUSP.frame_im.t.3.|jointUSP.frame_im.t.3.|jointUSP.prismatic.frame_b.r_0.1.|jointUSP.prismatic.frame_b.r_0.2.|jointUSP.prismatic.frame_b.r_0.3.|jointUSP.prismatic.frame_b.f.1.|jointUSP.prismatic.frame_b.f.2.|jointUSP.prismatic.frame_b.f.3.|jointUSP.prismatic.frame_b.t.1.|jointUSP.prismatic.frame_b.t.2.|jointUSP.prismatic.frame_b.t.3.|jointUSP.rod1.frame_b.r_0.1.|jointUSP.rod1.frame_b.r_0.2.|jointUSP.rod1.frame_b.r_0.3.|jointUSP.rod1.frame_b.f.1.|jointUSP.rod1.frame_b.f.2.|jointUSP.rod1.frame_b.f.3.|jointUSP.rod1.frame_b.t.1.|jointUSP.rod1.frame_b.t.2.|jointUSP.rod1.frame_b.t.3.|jointUSP.rod1.frame_ia.r_0.1.|jointUSP.rod1.frame_ia.r_0.2.|jointUSP.rod1.frame_ia.r_0.3.|jointUSP.rod1.frame_ia.f.1.|jointUSP.rod1.frame_ia.f.2.|jointUSP.rod1.frame_ia.f.3.|jointUSP.rod1.frame_ia.t.1.|jointUSP.rod1.frame_ia.t.2.|jointUSP.rod1.frame_ia.t.3.|jointUSP.rod2.frame_b.r_0.1.|jointUSP.rod2.frame_b.r_0.2.|jointUSP.rod2.frame_b.r_0.3.|jointUSP.rod2.frame_b.f.1.|jointUSP.rod2.frame_b.f.2.|jointUSP.rod2.frame_b.f.3.|jointUSP.rod2.frame_b.t.1.|jointUSP.rod2.frame_b.t.2.|jointUSP.rod2.frame_b.t.3.|jointUSP.relativePosition.frame_b.r_0.1.|jointUSP.relativePosition.frame_b.r_0.2.|jointUSP.relativePosition.frame_b.r_0.3.|jointUSP.relativePosition.frame_b.f.1.|jointUSP.relativePosition.frame_b.f.2.|jointUSP.relativePosition.frame_b.f.3.|jointUSP.relativePosition.frame_b.t.1.|jointUSP.relativePosition.frame_b.t.2.|jointUSP.relativePosition.frame_b.t.3.|jointUSP.relativePosition.relativePosition.frame_b.r_0.1.|jointUSP.relativePosition.relativePosition.frame_b.r_0.2.|jointUSP.relativePosition.relativePosition.frame_b.r_0.3.|jointUSP.relativePosition.relativePosition.frame_b.f.1.|jointUSP.relativePosition.relativePosition.frame_b.f.2.|jointUSP.relativePosition.relativePosition.frame_b.f.3.|jointUSP.relativePosition.relativePosition.frame_b.t.1.|jointUSP.relativePosition.relativePosition.frame_b.t.2.|jointUSP.relativePosition.relativePosition.frame_b.t.3.|jointUSP.position_b.1..y|jointUSP.position_b.2..y|jointUSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.335e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08699, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4513, allocations: 93.55 MB / 415.3 MB, free: 2.086 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.4515, allocations: 79.77 kB / 415.4 MB, free: 2.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2725/0.7241, allocations: 74.49 MB / 489.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.462e-06/0.7241, allocations: 0 / 489.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001817/0.7243, allocations: 79.94 kB / 490 MB, free: 14.58 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01115/0.7355, allocations: 3.581 MB / 493.5 MB, free: 10.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7355, allocations: 12.02 kB / 493.6 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004495/0.74, allocations: 0.666 MB / 494.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006594/0.7467, allocations: 2.185 MB / 496.4 MB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/0.7471, allocations: 299.8 kB / 496.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.7485, allocations: 379.9 kB / 497.1 MB, free: 7.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/0.7719, allocations: 8.416 MB / 0.4936 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.772, allocations: 19.81 kB / 0.4937 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006266/0.7726, allocations: 175.9 kB / 0.4938 GB, free: 14.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001932/0.7746, allocations: 0.7836 MB / 0.4946 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.7947, allocations: 6.548 MB / 0.501 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3658/1.161, allocations: 27.71 MB / 0.528 GB, free: 89.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008069/1.169, allocations: 1.9 MB / 0.5299 GB, free: 89.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001507/1.17, allocations: 0.8182 MB / 0.5307 GB, free: 89.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009907/1.18, allocations: 6.344 MB / 0.5369 GB, free: 86.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.18, allocations: 46.8 kB / 0.5369 GB, free: 86.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.13e-06/1.18, allocations: 0 / 0.5369 GB, free: 86.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.02082/1.201, allocations: 5.821 MB / 0.5426 GB, free: 84.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/1.201, allocations: 141.9 kB / 0.5428 GB, free: 84.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/1.205, allocations: 2.178 MB / 0.5449 GB, free: 83.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/1.205, allocations: 43.98 kB / 0.5449 GB, free: 83.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001278/1.207, allocations: 2.373 MB / 0.5472 GB, free: 82.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/1.207, allocations: 387.5 kB / 0.5476 GB, free: 82.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/1.207, allocations: 77.03 kB / 0.5477 GB, free: 82.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/1.207, allocations: 470.3 kB / 0.5481 GB, free: 81.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001717/1.209, allocations: 0.9044 MB / 0.549 GB, free: 81.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/1.212, allocations: 3.174 MB / 0.5521 GB, free: 78.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/1.215, allocations: 1.676 MB / 0.5538 GB, free: 78.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.76e-05/1.215, allocations: 22.97 kB / 0.5538 GB, free: 78.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.007867/1.222, allocations: 3.693 MB / 0.5574 GB, free: 78.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/1.223, allocations: 39.56 kB / 0.5574 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.568e-05/1.223, allocations: 84.16 kB / 0.5575 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/1.223, allocations: 119.8 kB / 0.5576 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003642/1.226, allocations: 0.8937 MB / 0.5585 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001394/1.227, allocations: 167.5 kB / 0.5587 GB, free: 78.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.23, allocations: 173.2 kB / 0.5588 GB, free: 78.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/1.231, allocations: 228.1 kB / 0.559 GB, free: 78.78 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: 37 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (480): * Single equations (assignments): 480 * 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.0006027/1.231, allocations: 409.6 kB / 0.5594 GB, free: 78.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/1.232, allocations: 222.2 kB / 0.5596 GB, free: 78.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/1.234, allocations: 1.107 MB / 0.5607 GB, free: 78.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/1.234, allocations: 7.844 kB / 0.5607 GB, free: 78.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.189e-06/1.234, allocations: 2.125 kB / 0.5607 GB, free: 78.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/1.234, allocations: 11.56 kB / 0.5607 GB, free: 78.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01122/1.245, allocations: 6.079 MB / 0.5667 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.245, allocations: 21.38 kB / 0.5667 GB, free: 76.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1.246, allocations: 241.3 kB / 0.5669 GB, free: 76.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.474e-05/1.246, allocations: 28.5 kB / 0.567 GB, free: 76.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/1.247, allocations: 43.91 kB / 0.567 GB, free: 76.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.037e-05/1.247, allocations: 41.11 kB / 0.567 GB, free: 76.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-05/1.247, allocations: 30.75 kB / 0.5671 GB, free: 76.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/1.249, allocations: 3.749 MB / 0.5707 GB, free: 73.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/1.25, allocations: 322 kB / 0.571 GB, free: 73.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003595/1.25, allocations: 51.08 kB / 0.5711 GB, free: 73.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.252, allocations: 41.59 kB / 0.5711 GB, free: 73.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.252, allocations: 145.2 kB / 0.5713 GB, free: 73.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.252, allocations: 62.94 kB / 0.5713 GB, free: 73.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002855/1.255, allocations: 1.577 MB / 0.5729 GB, free: 73.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.98e-07/1.255, allocations: 0 / 0.5729 GB, free: 73.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004476/1.259, allocations: 0.6528 MB / 0.5735 GB, free: 73.17 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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.000401/1.26, allocations: 203 kB / 0.5737 GB, free: 73.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004147/1.264, allocations: 2.127 MB / 0.5758 GB, free: 72.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.264, allocations: 3.812 kB / 0.5758 GB, free: 72.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.265, allocations: 0.5437 MB / 0.5763 GB, free: 72.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/1.267, allocations: 318.1 kB / 0.5766 GB, free: 72.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.279, allocations: 5.912 MB / 0.5824 GB, free: 69.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003862/1.283, allocations: 2.814 MB / 0.5851 GB, free: 68.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006828/1.284, allocations: 200.6 kB / 0.5853 GB, free: 68.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.867e-06/1.284, allocations: 0 / 0.5853 GB, free: 68.29 MB / 426.7 MB Notification: Performance of Templates: time 0.05795/1.342, allocations: 37.11 MB / 0.6216 GB, free: 48.24 MB / 426.7 MB