Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,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.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.2 MB / 224.4 MB, free: 1.457 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.047e-05, allocations: 4 kB / 276.1 MB, free: 0 / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 48.7 MB / 324.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.4249/0.5408, allocations: 21.02 MB / 345.9 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.5589, allocations: 4.648 MB / 350.5 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006876/0.5659, allocations: 98.44 kB / 350.6 MB, free: 2.32 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005589/0.5715, allocations: 1.049 MB / 351.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01673/0.5883, allocations: 2.734 MB / 354.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.5915, allocations: 321.4 kB / 354.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.5945, allocations: 0.5256 MB / 355.2 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004295/0.5988, allocations: 1.524 MB / 356.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008185/0.5997, allocations: 321.8 kB / 357.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.601, allocations: 0.5052 MB / 357.6 MB, free: 424 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.6025, allocations: 410.7 kB / 358 MB, free: 332 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005554/0.6031, allocations: 59.59 kB / 358 MB, free: 332 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.6042, allocations: 0.6518 MB / 358.7 MB, free: 64 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.6049, allocations: 112.1 kB / 358.8 MB, free: 64 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.6088, allocations: 2.13 MB / 360.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6089, allocations: 1.281 kB / 360.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6089, allocations: 0 / 360.9 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001138/0.609, allocations: 0 / 360.9 MB, free: 14.7 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.007248/0.6163, allocations: 2.029 MB / 363 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6163, allocations: 13.38 kB / 363 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/0.6187, allocations: 279 kB / 363.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.6215, allocations: 0.8618 MB / 364.1 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.6217, allocations: 109.7 kB / 364.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006004/0.6223, allocations: 140.5 kB / 364.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01581/0.6381, allocations: 4.965 MB / 369.3 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.316e-05/0.6383, allocations: 12.92 kB / 369.3 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003342/0.6386, allocations: 70.64 kB / 369.4 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003112/0.6417, allocations: 1.007 MB / 370.4 MB, free: 9.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.6565, allocations: 3.887 MB / 374.3 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03373/0.6903, allocations: 16.34 MB / 390.6 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007734/0.6981, allocations: 1.286 MB / 391.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008954/0.7071, allocations: 4.081 MB / 396 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.7072, allocations: 38.56 kB / 396 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 3.637e-06/0.7072, allocations: 0 / 396 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.01166/0.7189, allocations: 1.771 MB / 397.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.7191, allocations: 110.8 kB / 397.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003432/0.7225, allocations: 1.399 MB / 399.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.7227, allocations: 29.7 kB / 399.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001444/0.7241, allocations: 1.409 MB / 400.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.7244, allocations: 185.9 kB / 400.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.7246, allocations: 44 kB / 401 MB, free: 11.72 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000269/0.7249, allocations: 407.4 kB / 401.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.7263, allocations: 0.5002 MB / 401.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002972/0.7293, allocations: 2.02 MB / 403.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002595/0.7319, allocations: 0.952 MB / 404.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.734e-05/0.732, allocations: 12 kB / 404.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.007016/0.7391, allocations: 2.38 MB / 407.2 MB, free: 4.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.193e-05/0.7392, allocations: 28 kB / 407.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.152e-05/0.7393, allocations: 59.98 kB / 407.3 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001221/0.7394, allocations: 80 kB / 407.4 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.7427, allocations: 0.538 MB / 407.9 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001418/0.7429, allocations: 111.5 kB / 408.1 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/0.7456, allocations: 328.7 kB / 408.4 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004167/0.7461, allocations: 148 kB / 408.5 MB, free: 3.383 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (292): * Single equations (assignments): 292 * 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.00233/0.7484, allocations: 0.8347 MB / 409.4 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/0.7489, allocations: 134.3 kB / 409.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.7493, allocations: 157.3 kB / 409.6 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.7494, allocations: 4 kB / 409.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7494, allocations: 0 / 409.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.7494, allocations: 8 kB / 409.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007744/0.7571, allocations: 3.263 MB / 412.9 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-05/0.7572, allocations: 16.06 kB / 412.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.7579, allocations: 99.83 kB / 413 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.51e-05/0.7579, allocations: 23.88 kB / 413.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.758, allocations: 27.95 kB / 413.1 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.49e-05/0.758, allocations: 23.92 kB / 413.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.815e-05/0.758, allocations: 15.94 kB / 413.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.7601, allocations: 1.64 MB / 414.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.7607, allocations: 227.2 kB / 415 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.761, allocations: 31.94 kB / 415 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.7617, allocations: 27.92 kB / 415 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.7619, allocations: 79.67 kB / 415.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/0.7619, allocations: 28 kB / 415.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002184/0.7641, allocations: 0.9625 MB / 416.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7642, allocations: 0 / 416.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002825/0.767, allocations: 482 kB / 416.6 MB, free: 10.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.000246/0.7673, allocations: 127 kB / 416.7 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00336/0.7707, allocations: 1.252 MB / 418 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/0.7707, allocations: 4 kB / 418 MB, free: 9.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.7714, allocations: 234.4 kB / 418.2 MB, free: 8.891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.7727, allocations: 187 kB / 418.4 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.7838, allocations: 4.49 MB / 422.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/0.7867, allocations: 1.733 MB / 424.6 MB, free: 2.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/0.7872, allocations: 111.4 kB / 424.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7872, allocations: 4 kB / 424.7 MB, free: 2.145 MB / 346.7 MB Notification: Performance of Templates: time 0.04795/0.8352, allocations: 19.9 MB / 444.6 MB, free: 14.24 MB / 378.7 MB