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.2_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.169/2.169, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.789e-05, allocations: 7.984 kB / 304.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3317, allocations: 54.85 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1541/0.4858, allocations: 100.1 MB / 459.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4861, allocations: 76.75 kB / 459.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2809/0.767, allocations: 74.48 MB / 0.5219 GB, free: 1.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7671, allocations: 0 / 0.5219 GB, free: 1.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000169/0.7672, allocations: 76 kB / 0.522 GB, free: 1.676 MB / 458.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.3437/1.111, allocations: 3.576 MB / 0.5255 GB, free: 108.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.111, allocations: 9.344 kB / 0.5255 GB, free: 108.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/1.115, allocations: 0.6635 MB / 0.5261 GB, free: 108.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005852/1.121, allocations: 2.186 MB / 0.5283 GB, free: 108.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/1.121, allocations: 294.6 kB / 0.5285 GB, free: 108.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00108/1.123, allocations: 384.4 kB / 0.5289 GB, free: 108.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0231/1.146, allocations: 8.416 MB / 0.5371 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/1.146, allocations: 21 kB / 0.5371 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000792/1.147, allocations: 174.7 kB / 0.5373 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/1.149, allocations: 0.7873 MB / 0.5381 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/1.167, allocations: 6.538 MB / 0.5445 GB, free: 107.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04203/1.209, allocations: 27.73 MB / 0.5715 GB, free: 90.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00839/1.218, allocations: 1.895 MB / 0.5734 GB, free: 90.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/1.219, allocations: 0.8174 MB / 0.5742 GB, free: 89.88 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009205/1.228, allocations: 6.349 MB / 0.5804 GB, free: 85.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.228, allocations: 54.02 kB / 0.5804 GB, free: 85.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 3.986e-06/1.228, allocations: 0 / 0.5804 GB, free: 85.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.02056/1.249, allocations: 5.815 MB / 0.5861 GB, free: 82.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.249, allocations: 141 kB / 0.5863 GB, free: 82.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/1.253, allocations: 2.172 MB / 0.5884 GB, free: 81.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.253, allocations: 43.92 kB / 0.5884 GB, free: 81.63 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/1.254, allocations: 2.395 MB / 0.5908 GB, free: 79.8 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/1.254, allocations: 379.9 kB / 0.5911 GB, free: 79.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/1.255, allocations: 80.31 kB / 0.5912 GB, free: 79.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002246/1.255, allocations: 460.5 kB / 0.5916 GB, free: 79.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/1.257, allocations: 0.9081 MB / 0.5925 GB, free: 78.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003271/1.26, allocations: 3.177 MB / 0.5956 GB, free: 75.36 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004967/1.265, allocations: 1.674 MB / 0.5973 GB, free: 74.81 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.154e-05/1.265, allocations: 22 kB / 0.5973 GB, free: 74.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.01362/1.279, allocations: 3.776 MB / 0.601 GB, free: 73.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.279, allocations: 42 kB / 0.601 GB, free: 73.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001342/1.279, allocations: 83.62 kB / 0.6011 GB, free: 73.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/1.279, allocations: 119.9 kB / 0.6012 GB, free: 73.42 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005782/1.285, allocations: 0.8861 MB / 0.6021 GB, free: 73.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000217/1.285, allocations: 166.2 kB / 0.6022 GB, free: 73.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/1.291, allocations: 173.8 kB / 0.6024 GB, free: 73.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008059/1.292, allocations: 229.7 kB / 0.6026 GB, free: 73.18 MB / 458.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.0008807/1.293, allocations: 406.1 kB / 0.603 GB, free: 72.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007506/1.293, allocations: 220.6 kB / 0.6032 GB, free: 72.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.297, allocations: 1.106 MB / 0.6043 GB, free: 72.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/1.297, allocations: 12 kB / 0.6043 GB, free: 72.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.297, allocations: 0 / 0.6043 GB, free: 72.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/1.297, allocations: 11.27 kB / 0.6043 GB, free: 72.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/1.315, allocations: 6.081 MB / 0.6102 GB, free: 66.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.462e-05/1.315, allocations: 24.06 kB / 0.6103 GB, free: 66.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.317, allocations: 238.3 kB / 0.6105 GB, free: 66.41 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.078e-05/1.317, allocations: 32 kB / 0.6105 GB, free: 66.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/1.317, allocations: 44 kB / 0.6106 GB, free: 66.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.201e-05/1.318, allocations: 47.17 kB / 0.6106 GB, free: 66.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.414e-05/1.318, allocations: 31.88 kB / 0.6106 GB, free: 66.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/1.322, allocations: 3.74 MB / 0.6143 GB, free: 61.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.323, allocations: 332 kB / 0.6146 GB, free: 61.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006461/1.324, allocations: 52.2 kB / 0.6147 GB, free: 61.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00215/1.326, allocations: 50.67 kB / 0.6147 GB, free: 61.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002825/1.327, allocations: 147.7 kB / 0.6149 GB, free: 61.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.327, allocations: 63.94 kB / 0.6149 GB, free: 61.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004586/1.331, allocations: 1.575 MB / 0.6165 GB, free: 59.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.441e-06/1.331, allocations: 0 / 0.6165 GB, free: 59.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007306/1.339, allocations: 0.6497 MB / 0.6171 GB, free: 59.29 MB / 458.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.0005677/1.339, allocations: 200.6 kB / 0.6173 GB, free: 59.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006277/1.346, allocations: 2.123 MB / 0.6193 GB, free: 57.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.817e-05/1.346, allocations: 0 / 0.6193 GB, free: 57.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/1.347, allocations: 0.5515 MB / 0.6199 GB, free: 56.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.349, allocations: 305.3 kB / 0.6202 GB, free: 56.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/1.36, allocations: 5.521 MB / 0.6256 GB, free: 51.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005548/1.366, allocations: 2.811 MB / 0.6283 GB, free: 48.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006191/1.372, allocations: 1.009 MB / 0.6293 GB, free: 48.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008056/1.373, allocations: 163.4 kB / 0.6295 GB, free: 48.14 MB / 458.7 MB Notification: Performance of SimCode: time 2.302e-06/1.373, allocations: 0 / 0.6295 GB, free: 48.14 MB / 458.7 MB Notification: Performance of Templates: time 0.06382/1.437, allocations: 18.5 MB / 0.6475 GB, free: 32.45 MB / 458.7 MB