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.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.419/2.419, allocations: 234.9 MB / 250.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.568e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3759, allocations: 54.85 MB / 362.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.03375/0.4097, allocations: 21.03 MB / 383.9 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.4234, allocations: 4.659 MB / 388.5 MB, free: 3.973 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004594/0.4281, allocations: 95.81 kB / 388.6 MB, free: 3.879 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004963/0.4331, allocations: 1.046 MB / 389.7 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.4448, allocations: 2.742 MB / 392.4 MB, free: 80 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.447, allocations: 323.4 kB / 392.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.449, allocations: 0.5271 MB / 393.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.4523, allocations: 1.508 MB / 394.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007178/0.4531, allocations: 323 kB / 395.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.4543, allocations: 0.5025 MB / 395.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.4555, allocations: 415.3 kB / 396 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004334/0.456, allocations: 64 kB / 396.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.4571, allocations: 0.6506 MB / 396.7 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005155/0.4577, allocations: 112 kB / 396.8 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003737/0.4614, allocations: 2.122 MB / 398.9 MB, free: 9.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4615, allocations: 0 / 398.9 MB, free: 9.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4615, allocations: 3.938 kB / 398.9 MB, free: 9.516 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.791e-05/0.4616, allocations: 0 / 398.9 MB, free: 9.516 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.007025/0.4686, allocations: 2.03 MB / 401 MB, free: 7.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4687, allocations: 12.03 kB / 401 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.471, allocations: 280.9 kB / 401.3 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.4736, allocations: 0.8605 MB / 402.1 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.4738, allocations: 106.8 kB / 402.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006177/0.4745, allocations: 147.9 kB / 402.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.4904, allocations: 4.97 MB / 407.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/0.4905, allocations: 11.88 kB / 407.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.4908, allocations: 67.92 kB / 407.4 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003431/0.4943, allocations: 1.003 MB / 408.4 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.5104, allocations: 3.873 MB / 412.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0424/0.5528, allocations: 16.34 MB / 428.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/0.5672, allocations: 1.285 MB / 429.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/0.5803, allocations: 4.081 MB / 434 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.5804, allocations: 46.5 kB / 434 MB, free: 5.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 4.538e-06/0.5804, allocations: 0 / 434 MB, free: 5.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.01622/0.5967, allocations: 1.761 MB / 435.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.5968, allocations: 110.6 kB / 435.9 MB, free: 3.406 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00539/0.6022, allocations: 1.399 MB / 437.3 MB, free: 2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.982e-05/0.6024, allocations: 33.95 kB / 437.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.604, allocations: 1.416 MB / 438.8 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003304/0.6043, allocations: 178 kB / 438.9 MB, free: 356 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.6045, allocations: 48 kB / 439 MB, free: 308 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002947/0.6048, allocations: 407.3 kB / 439.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.6064, allocations: 0.4963 MB / 439.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.6096, allocations: 2.028 MB / 441.9 MB, free: 12.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.6124, allocations: 0.9521 MB / 442.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.772e-05/0.6125, allocations: 20 kB / 442.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.007258/0.6198, allocations: 2.361 MB / 445.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.6199, allocations: 28 kB / 445.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-05/0.62, allocations: 56.09 kB / 445.3 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.6201, allocations: 84 kB / 445.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/0.6235, allocations: 0.538 MB / 445.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/0.6237, allocations: 111.5 kB / 446 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.6263, allocations: 340.4 kB / 446.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/0.6267, allocations: 144 kB / 446.5 MB, free: 7.965 MB / 378.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.002045/0.6288, allocations: 0.8464 MB / 447.4 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003742/0.6292, allocations: 126.3 kB / 447.5 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.6296, allocations: 153.3 kB / 447.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.6297, allocations: 4 kB / 447.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.6297, allocations: 4 kB / 447.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.6297, allocations: 0 / 447.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008149/0.6379, allocations: 3.266 MB / 450.9 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/0.6379, allocations: 12 kB / 450.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.6386, allocations: 100.6 kB / 451 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.079e-05/0.6387, allocations: 16 kB / 451 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.6387, allocations: 31.94 kB / 451.1 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.55e-05/0.6388, allocations: 23.92 kB / 451.1 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.847e-05/0.6388, allocations: 23.88 kB / 451.1 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.6412, allocations: 1.655 MB / 452.8 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.6418, allocations: 223.2 kB / 453 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.6421, allocations: 35.92 kB / 453 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007796/0.6429, allocations: 23.98 kB / 453 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.643, allocations: 67.73 kB / 453.1 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.6431, allocations: 28 kB / 453.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002496/0.6456, allocations: 0.9664 MB / 454.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.6456, allocations: 4 kB / 454.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002986/0.6486, allocations: 478.1 kB / 454.6 MB, free: 15.08 MB / 394.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.0003166/0.649, allocations: 134.9 kB / 454.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003483/0.6525, allocations: 1.25 MB / 456 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/0.6526, allocations: 0 / 456 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006521/0.6532, allocations: 238.5 kB / 456.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6545, allocations: 174.6 kB / 456.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.6649, allocations: 4.49 MB / 460.9 MB, free: 8.617 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/0.6676, allocations: 1.737 MB / 462.6 MB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.6682, allocations: 115.4 kB / 462.7 MB, free: 6.734 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6682, allocations: 0 / 462.7 MB, free: 6.734 MB / 394.7 MB Notification: Performance of Templates: time 0.05894/0.7271, allocations: 19.92 MB / 482.6 MB, free: 2.82 MB / 410.7 MB