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.969/1.969, allocations: 209.3 MB / 224.4 MB, free: 0.6562 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.689e-05, allocations: 7.984 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.36, allocations: 48.7 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.06024/0.4203, allocations: 37.55 MB / 362.4 MB, free: 9.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02563/0.446, allocations: 7.938 MB / 370.3 MB, free: 1.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01042/0.4565, allocations: 187.6 kB / 370.5 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00775/0.4643, allocations: 1.933 MB / 372.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02027/0.4846, allocations: 4.916 MB / 377.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.4882, allocations: 0.503 MB / 377.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004075/0.4923, allocations: 0.9372 MB / 378.8 MB, free: 9.469 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01187/0.5043, allocations: 4.741 MB / 383.6 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001967/0.5063, allocations: 0.5882 MB / 384.2 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002848/0.5092, allocations: 0.8608 MB / 385 MB, free: 3.227 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.5116, allocations: 0.511 MB / 385.5 MB, free: 2.715 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007384/0.5124, allocations: 96 kB / 385.6 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002167/0.5146, allocations: 1.2 MB / 386.8 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009862/0.5156, allocations: 216 kB / 387 MB, free: 1.207 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00967/0.5253, allocations: 4.909 MB / 391.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5254, allocations: 0 / 391.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5254, allocations: 0 / 391.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002083/0.5256, allocations: 3.938 kB / 391.9 MB, free: 12.28 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.01451/0.5402, allocations: 3.406 MB / 395.3 MB, free: 8.812 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.5402, allocations: 8.031 kB / 395.4 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006081/0.5463, allocations: 0.5841 MB / 395.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007519/0.5539, allocations: 1.766 MB / 397.7 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004201/0.5544, allocations: 246 kB / 397.9 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.5557, allocations: 319.8 kB / 398.3 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03287/0.5886, allocations: 8.772 MB / 407 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.5888, allocations: 19.83 kB / 407 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007397/0.5895, allocations: 143.9 kB / 407.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004825/0.5944, allocations: 1.557 MB / 408.7 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02609/0.6205, allocations: 6.819 MB / 415.6 MB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05423/0.6748, allocations: 26.33 MB / 441.9 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/0.6906, allocations: 1.976 MB / 443.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01353/0.7042, allocations: 6.356 MB / 450.2 MB, free: 236 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.7043, allocations: 51.16 kB / 450.3 MB, free: 176 kB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 4.008e-06/0.7043, allocations: 0 / 450.3 MB, free: 176 kB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.02838/0.7327, allocations: 6.217 MB / 456.5 MB, free: 9.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.7329, allocations: 145.5 kB / 456.6 MB, free: 9.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005135/0.738, allocations: 2.195 MB / 458.8 MB, free: 7.516 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.7383, allocations: 41.7 kB / 458.9 MB, free: 7.469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002454/0.7407, allocations: 2.37 MB / 461.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/0.7414, allocations: 391.2 kB / 461.6 MB, free: 4.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.7417, allocations: 76 kB / 461.7 MB, free: 4.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003518/0.7421, allocations: 462.8 kB / 462.2 MB, free: 4.145 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/0.7448, allocations: 0.9403 MB / 463.1 MB, free: 3.203 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00502/0.7499, allocations: 3.215 MB / 466.3 MB, free: 14.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004501/0.7545, allocations: 1.681 MB / 468 MB, free: 13.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.001e-05/0.7546, allocations: 20 kB / 468 MB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01126/0.7659, allocations: 3.978 MB / 472 MB, free: 9.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.469e-05/0.766, allocations: 43.98 kB / 472 MB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/0.7661, allocations: 88.11 kB / 472.1 MB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.7663, allocations: 120 kB / 472.2 MB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005418/0.7717, allocations: 0.8851 MB / 473.1 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001964/0.772, allocations: 163.3 kB / 473.3 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/0.7753, allocations: 179.7 kB / 473.5 MB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005573/0.7759, allocations: 228 kB / 473.7 MB, free: 7.469 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.004953/0.7809, allocations: 1.554 MB / 475.2 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008842/0.7818, allocations: 217.2 kB / 475.4 MB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/0.7868, allocations: 1.126 MB / 476.6 MB, free: 4.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.498e-05/0.7869, allocations: 15.95 kB / 476.6 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.7869, allocations: 0 / 476.6 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/0.787, allocations: 3.984 kB / 476.6 MB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2949/1.082, allocations: 5.946 MB / 482.5 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/1.082, allocations: 16.53 kB / 482.5 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.083, allocations: 218.1 kB / 482.8 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.367e-05/1.084, allocations: 24.19 kB / 482.8 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.084, allocations: 41.44 kB / 482.8 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.193e-05/1.084, allocations: 35.88 kB / 482.9 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.004e-05/1.084, allocations: 28.25 kB / 482.9 MB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/1.088, allocations: 3.28 MB / 486.2 MB, free: 122 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008846/1.088, allocations: 314.8 kB / 486.5 MB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006409/1.089, allocations: 40.42 kB / 486.5 MB, free: 121.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001651/1.091, allocations: 45.14 kB / 486.6 MB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/1.091, allocations: 126.4 kB / 486.7 MB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.091, allocations: 51.88 kB / 486.7 MB, free: 121.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004466/1.096, allocations: 1.602 MB / 488.3 MB, free: 121.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.904e-06/1.096, allocations: 0 / 488.3 MB, free: 121.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004854/1.101, allocations: 0.6477 MB / 489 MB, free: 121.1 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.0006946/1.101, allocations: 178 kB / 489.2 MB, free: 121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006273/1.108, allocations: 2.253 MB / 491.4 MB, free: 120.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.734e-05/1.108, allocations: 2.125 kB / 491.4 MB, free: 120.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001507/1.109, allocations: 0.5256 MB / 491.9 MB, free: 120.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.112, allocations: 301.2 kB / 492.2 MB, free: 119.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/1.133, allocations: 8.481 MB / 0.489 GB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006637/1.139, allocations: 2.807 MB / 0.4917 GB, free: 113.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/1.14, allocations: 194.5 kB / 0.4919 GB, free: 113.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/1.14, allocations: 0 / 0.4919 GB, free: 113.7 MB / 410.7 MB Notification: Performance of Templates: time 0.08739/1.228, allocations: 37.54 MB / 0.5286 GB, free: 84.41 MB / 410.7 MB