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_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 270 MB / 283.6 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.186e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4818/0.5926, allocations: 109 MB / 0.5071 GB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.5929, allocations: 79.97 kB / 0.5071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2578/0.8507, allocations: 67.63 MB / 0.5732 GB, free: 7.105 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.357e-06/0.8508, allocations: 0 / 0.5732 GB, free: 7.105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001739/0.851, allocations: 64 kB / 0.5732 GB, free: 7.043 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.01025/0.8612, allocations: 3.253 MB / 0.5764 GB, free: 3.734 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.8613, allocations: 12.02 kB / 0.5764 GB, free: 3.723 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003667/0.865, allocations: 0.5653 MB / 0.577 GB, free: 3.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006204/0.8712, allocations: 2.032 MB / 0.579 GB, free: 1.074 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.8716, allocations: 254.7 kB / 0.5792 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.8728, allocations: 327.9 kB / 0.5795 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/0.8947, allocations: 7.505 MB / 0.5869 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-05/0.8949, allocations: 19.81 kB / 0.5869 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007288/0.8956, allocations: 147.9 kB / 0.587 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001157/0.8968, allocations: 0.6103 MB / 0.5876 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/0.9159, allocations: 6.132 MB / 0.5936 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3368/1.253, allocations: 24.12 MB / 0.6172 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00804/1.261, allocations: 1.82 MB / 0.6189 GB, free: 123 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/1.262, allocations: 0.7968 MB / 0.6197 GB, free: 123 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009812/1.272, allocations: 5.818 MB / 0.6254 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/1.272, allocations: 43.2 kB / 0.6254 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=75): time 4.314e-06/1.272, allocations: 2.719 kB / 0.6254 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93): time 0.02083/1.293, allocations: 4.009 MB / 0.6293 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/1.293, allocations: 61.89 kB / 0.6294 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004297/1.298, allocations: 2.003 MB / 0.6314 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001628/1.298, allocations: 38.2 kB / 0.6314 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001564/1.299, allocations: 2.039 MB / 0.6334 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000412/1.3, allocations: 379.4 kB / 0.6338 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/1.3, allocations: 71.66 kB / 0.6338 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002423/1.3, allocations: 446.2 kB / 0.6342 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/1.302, allocations: 0.8491 MB / 0.6351 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/1.305, allocations: 2.897 MB / 0.6379 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/1.308, allocations: 1.547 MB / 0.6394 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.83e-05/1.308, allocations: 24.78 kB / 0.6394 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009066/1.317, allocations: 3.475 MB / 0.6428 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/1.317, allocations: 36.59 kB / 0.6429 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.317, allocations: 77.84 kB / 0.6429 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001718/1.318, allocations: 110.2 kB / 0.643 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/1.321, allocations: 0.7901 MB / 0.6438 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001258/1.321, allocations: 148.9 kB / 0.644 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/1.324, allocations: 154 kB / 0.6441 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/1.325, allocations: 201.1 kB / 0.6443 GB, free: 114.7 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.0006119/1.326, allocations: 396.5 kB / 0.6447 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/1.326, allocations: 199.7 kB / 0.6449 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/1.328, allocations: 1.126 MB / 0.646 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.328, allocations: 9.938 kB / 0.646 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-06/1.328, allocations: 0 / 0.646 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/1.328, allocations: 11.22 kB / 0.646 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.339, allocations: 5.316 MB / 0.6512 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/1.339, allocations: 21.56 kB / 0.6512 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.34, allocations: 236.5 kB / 0.6514 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.87e-05/1.34, allocations: 34.92 kB / 0.6515 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.645e-05/1.34, allocations: 49.66 kB / 0.6515 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.831e-05/1.34, allocations: 38.7 kB / 0.6515 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-05/1.34, allocations: 31.92 kB / 0.6516 GB, free: 112.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/1.343, allocations: 3.466 MB / 0.655 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/1.343, allocations: 302.8 kB / 0.6552 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/1.344, allocations: 51.48 kB / 0.6553 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.345, allocations: 47.69 kB / 0.6553 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/1.345, allocations: 138.7 kB / 0.6555 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.345, allocations: 59.09 kB / 0.6555 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002629/1.348, allocations: 1.436 MB / 0.6569 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.16e-07/1.348, allocations: 0 / 0.6569 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004138/1.352, allocations: 0.5846 MB / 0.6575 GB, free: 108.6 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.0004398/1.352, allocations: 200.9 kB / 0.6577 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003877/1.356, allocations: 1.996 MB / 0.6596 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/1.356, allocations: 3.719 kB / 0.6596 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.357, allocations: 0.5294 MB / 0.6602 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/1.359, allocations: 323.6 kB / 0.6605 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.37, allocations: 4.895 MB / 0.6653 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003877/1.374, allocations: 2.532 MB / 0.6677 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003443/1.378, allocations: 0.922 MB / 0.6686 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/1.378, allocations: 154.4 kB / 0.6688 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.886e-06/1.378, allocations: 7.172 kB / 0.6688 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.05525/1.433, allocations: 17.34 MB / 0.6857 GB, free: 102.8 MB / 0.5105 GB