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_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.253e-05, allocations: 0 / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3779, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.06049/0.4385, allocations: 37.55 MB / 362.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02561/0.4642, allocations: 7.944 MB / 370.4 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009554/0.4738, allocations: 187.6 kB / 370.6 MB, free: 1.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007803/0.4816, allocations: 1.929 MB / 372.5 MB, free: 15.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02205/0.5037, allocations: 4.916 MB / 377.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.5074, allocations: 0.503 MB / 377.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003336/0.5108, allocations: 0.9372 MB / 378.9 MB, free: 9.383 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/0.5211, allocations: 4.735 MB / 383.6 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.5225, allocations: 0.5843 MB / 384.2 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.5244, allocations: 0.8646 MB / 385 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.5262, allocations: 0.5033 MB / 385.5 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008257/0.5271, allocations: 92 kB / 385.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.5292, allocations: 1.204 MB / 386.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.5303, allocations: 220 kB / 387 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008075/0.5384, allocations: 4.913 MB / 392 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5384, allocations: 0 / 392 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.5384, allocations: 0 / 392 MB, free: 12.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002523/0.5387, allocations: 0 / 392 MB, free: 12.2 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01198/0.5507, allocations: 3.398 MB / 395.4 MB, free: 8.746 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5508, allocations: 16.02 kB / 395.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004752/0.5555, allocations: 0.5802 MB / 396 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005613/0.5612, allocations: 1.781 MB / 397.7 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.5615, allocations: 238.1 kB / 398 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/0.5626, allocations: 307.9 kB / 398.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02799/0.5907, allocations: 8.787 MB / 407.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.5908, allocations: 19.83 kB / 407.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007795/0.5916, allocations: 135.9 kB / 407.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004815/0.5964, allocations: 1.565 MB / 408.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/0.6223, allocations: 6.823 MB / 415.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05959/0.6819, allocations: 26.32 MB / 441.9 MB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01651/0.6985, allocations: 1.976 MB / 443.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01884/0.7174, allocations: 6.364 MB / 450.3 MB, free: 148 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.861e-05/0.7175, allocations: 43.22 kB / 450.3 MB, free: 96 kB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 5.511e-06/0.7176, allocations: 4 kB / 450.3 MB, free: 92 kB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.03893/0.7565, allocations: 6.217 MB / 456.5 MB, free: 9.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.7567, allocations: 141.5 kB / 456.7 MB, free: 9.652 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005936/0.7626, allocations: 2.195 MB / 458.9 MB, free: 7.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.763, allocations: 41.7 kB / 458.9 MB, free: 7.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002725/0.7657, allocations: 2.387 MB / 461.3 MB, free: 4.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006521/0.7664, allocations: 387.2 kB / 461.7 MB, free: 4.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.7668, allocations: 76.09 kB / 461.7 MB, free: 4.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004004/0.7672, allocations: 466 kB / 462.2 MB, free: 4.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002786/0.77, allocations: 0.9364 MB / 463.1 MB, free: 3.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005215/0.7752, allocations: 3.212 MB / 466.3 MB, free: 14.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004518/0.7798, allocations: 1.693 MB / 468 MB, free: 13.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.341e-05/0.7799, allocations: 28 kB / 468.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01202/0.792, allocations: 4.051 MB / 472.1 MB, free: 8.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.694e-05/0.7921, allocations: 36 kB / 472.1 MB, free: 8.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.7923, allocations: 87.95 kB / 472.2 MB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.7924, allocations: 120.8 kB / 472.4 MB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005535/0.798, allocations: 0.889 MB / 473.2 MB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000224/0.7983, allocations: 163.4 kB / 473.4 MB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/0.802, allocations: 167.8 kB / 473.6 MB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007299/0.8028, allocations: 227.9 kB / 473.8 MB, free: 7.305 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * 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 (479): * Single equations (assignments): 479 * 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.004477/0.8073, allocations: 1.561 MB / 475.3 MB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/0.808, allocations: 217.2 kB / 475.6 MB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003312/0.8114, allocations: 1.118 MB / 476.7 MB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-05/0.8114, allocations: 15.95 kB / 476.7 MB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.8115, allocations: 4 kB / 476.7 MB, free: 4.371 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.8115, allocations: 3.984 kB / 476.7 MB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2992/1.111, allocations: 5.949 MB / 482.7 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.22e-05/1.111, allocations: 16.7 kB / 482.7 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.112, allocations: 213.3 kB / 482.9 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.937e-05/1.112, allocations: 26.52 kB / 482.9 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001436/1.113, allocations: 42.38 kB / 482.9 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.597e-05/1.113, allocations: 33.47 kB / 483 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.138e-05/1.113, allocations: 29.08 kB / 483 MB, free: 125.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/1.117, allocations: 3.281 MB / 486.3 MB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/1.118, allocations: 314.7 kB / 486.6 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/1.118, allocations: 46.5 kB / 486.6 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.12, allocations: 39.73 kB / 486.7 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/1.12, allocations: 136.7 kB / 486.8 MB, free: 122.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.12, allocations: 51.08 kB / 486.9 MB, free: 122.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004148/1.124, allocations: 1.599 MB / 488.5 MB, free: 121.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.124, allocations: 0 / 488.5 MB, free: 121.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004459/1.129, allocations: 0.6425 MB / 489.1 MB, free: 121.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 119 * 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.0005732/1.129, allocations: 182.3 kB / 489.3 MB, free: 121.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00576/1.135, allocations: 2.256 MB / 491.5 MB, free: 120.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.056e-05/1.135, allocations: 3.031 kB / 491.5 MB, free: 120.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.137, allocations: 0.5261 MB / 492.1 MB, free: 120.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/1.139, allocations: 290.8 kB / 492.4 MB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/1.158, allocations: 8.082 MB / 0.4887 GB, free: 115.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006567/1.165, allocations: 2.808 MB / 0.4914 GB, free: 114.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005125/1.17, allocations: 0.9897 MB / 0.4924 GB, free: 114.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007647/1.171, allocations: 165.4 kB / 0.4926 GB, free: 114.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/1.171, allocations: 0 / 0.4926 GB, free: 114.4 MB / 410.7 MB Notification: Performance of Templates: time 0.06228/1.233, allocations: 18.55 MB / 0.5107 GB, free: 102.7 MB / 410.7 MB