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_trunk_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.553/2.553, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.924e-05/4.972e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5538/0.6686, allocations: 109 MB / 0.5071 GB, free: 11.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004716/0.6691, allocations: 75.97 kB / 0.5072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2764/0.9455, allocations: 67.63 MB / 0.5732 GB, free: 7.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.069e-06/0.9456, allocations: 0 / 0.5732 GB, free: 7.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001712/0.9458, allocations: 60 kB / 0.5733 GB, free: 7.031 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.0108/0.9566, allocations: 3.242 MB / 0.5764 GB, free: 3.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.9566, allocations: 12.03 kB / 0.5764 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/0.9605, allocations: 0.5692 MB / 0.577 GB, free: 3.145 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/0.9667, allocations: 2.028 MB / 0.579 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.9671, allocations: 250.7 kB / 0.5792 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.9682, allocations: 331.9 kB / 0.5795 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02173/0.99, allocations: 7.513 MB / 0.5869 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.255e-05/0.9901, allocations: 15.88 kB / 0.5869 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006472/0.9908, allocations: 147.9 kB / 0.587 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001131/0.9919, allocations: 0.6064 MB / 0.5876 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01851/1.01, allocations: 6.136 MB / 0.5936 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3353/1.346, allocations: 24.12 MB / 0.6172 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008707/1.355, allocations: 1.824 MB / 0.619 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/1.356, allocations: 0.7949 MB / 0.6197 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00956/1.366, allocations: 5.818 MB / 0.6254 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.366, allocations: 50.2 kB / 0.6255 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=75): time 3.926e-06/1.366, allocations: 0 / 0.6255 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93): time 0.01981/1.386, allocations: 4.008 MB / 0.6294 GB, free: 120 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/1.386, allocations: 65.53 kB / 0.6294 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/1.39, allocations: 2 MB / 0.6314 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001604/1.39, allocations: 42.83 kB / 0.6314 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001481/1.391, allocations: 2.041 MB / 0.6334 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004113/1.392, allocations: 365.4 kB / 0.6338 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/1.392, allocations: 68.25 kB / 0.6338 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002414/1.392, allocations: 447.3 kB / 0.6343 GB, free: 118 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/1.394, allocations: 0.8532 MB / 0.6351 GB, free: 118 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/1.397, allocations: 2.892 MB / 0.6379 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/1.401, allocations: 1.552 MB / 0.6394 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001426/1.401, allocations: 22.09 kB / 0.6395 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01292/1.414, allocations: 3.475 MB / 0.6429 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/1.415, allocations: 43.62 kB / 0.6429 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001892/1.415, allocations: 76.66 kB / 0.643 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/1.415, allocations: 111.4 kB / 0.6431 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005167/1.42, allocations: 0.7882 MB / 0.6438 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002109/1.421, allocations: 149.2 kB / 0.644 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005056/1.426, allocations: 157.2 kB / 0.6441 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007814/1.426, allocations: 199.4 kB / 0.6443 GB, free: 115.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 50 (jointUSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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.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 (436): * Single equations (assignments): 436 * 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.0008594/1.427, allocations: 397.1 kB / 0.6447 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006154/1.428, allocations: 200 kB / 0.6449 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003199/1.431, allocations: 1.115 MB / 0.646 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/1.431, allocations: 16.55 kB / 0.646 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.652e-06/1.431, allocations: 0 / 0.646 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/1.431, allocations: 7.562 kB / 0.646 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.446, allocations: 5.319 MB / 0.6512 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.144e-05/1.446, allocations: 19.09 kB / 0.6512 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.448, allocations: 240 kB / 0.6515 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.524e-05/1.448, allocations: 33.64 kB / 0.6515 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.503e-05/1.448, allocations: 41.78 kB / 0.6515 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.957e-05/1.448, allocations: 47.98 kB / 0.6516 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.966e-05/1.448, allocations: 27.56 kB / 0.6516 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/1.451, allocations: 3.465 MB / 0.655 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/1.451, allocations: 303.2 kB / 0.6553 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004683/1.452, allocations: 48.28 kB / 0.6553 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.454, allocations: 43.53 kB / 0.6554 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/1.454, allocations: 146.3 kB / 0.6555 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.454, allocations: 58.72 kB / 0.6556 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00258/1.457, allocations: 1.435 MB / 0.657 GB, free: 109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.733e-06/1.457, allocations: 2.719 kB / 0.657 GB, free: 109 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004061/1.461, allocations: 0.5871 MB / 0.6575 GB, free: 108.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 131 * 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.0004252/1.461, allocations: 190.9 kB / 0.6577 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003879/1.465, allocations: 1.998 MB / 0.6597 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.65e-05/1.465, allocations: 3.719 kB / 0.6597 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.466, allocations: 0.5295 MB / 0.6602 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.469, allocations: 317.9 kB / 0.6605 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.479, allocations: 4.899 MB / 0.6653 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003739/1.483, allocations: 2.523 MB / 0.6677 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003394/1.487, allocations: 0.9299 MB / 0.6686 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000485/1.487, allocations: 155.1 kB / 0.6688 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.147e-06/1.487, allocations: 0 / 0.6688 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.05711/1.544, allocations: 17.34 MB / 0.6857 GB, free: 103.2 MB / 0.5105 GB