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_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.035e-05, allocations: 4 kB / 349 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 61.89 MB / 410.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.3541/0.4835, allocations: 21.11 MB / 432 MB, free: 2.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.4972, allocations: 4.914 MB / 437 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005205/0.5025, allocations: 99.09 kB / 437 MB, free: 492 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.5067, allocations: 1.052 MB / 438.1 MB, free: 152 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01671/0.5235, allocations: 2.957 MB / 441.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.5261, allocations: 285.6 kB / 441.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00251/0.5287, allocations: 457 kB / 441.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004696/0.5335, allocations: 1.47 MB / 443.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000902/0.5344, allocations: 279.7 kB / 443.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.536, allocations: 480.9 kB / 444 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.5381, allocations: 416.4 kB / 444.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000692/0.5388, allocations: 57.03 kB / 444.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001488/0.5403, allocations: 0.5697 MB / 445 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006752/0.541, allocations: 95.91 kB / 445.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004875/0.5459, allocations: 1.883 MB / 447 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.546, allocations: 3.938 kB / 447 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.546, allocations: 4.969 kB / 447 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.974e-05/0.5461, allocations: 0 / 447 MB, free: 12.63 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.008754/0.5549, allocations: 1.845 MB / 448.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.555, allocations: 9.969 kB / 448.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002256/0.5572, allocations: 305.6 kB / 449.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/0.56, allocations: 0.8186 MB / 450 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.5601, allocations: 94.09 kB / 450.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004495/0.5606, allocations: 127.5 kB / 450.2 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.5747, allocations: 4.356 MB / 454.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.981e-05/0.5748, allocations: 9.469 kB / 454.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.5751, allocations: 55.08 kB / 454.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00193/0.577, allocations: 0.733 MB / 455.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01397/0.591, allocations: 3.59 MB / 458.9 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02844/0.6195, allocations: 14.36 MB / 473.3 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007316/0.6269, allocations: 1.234 MB / 474.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00852/0.6355, allocations: 3.738 MB / 478.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.6356, allocations: 38.83 kB / 478.3 MB, free: 3.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.845e-06/0.6356, allocations: 0 / 478.3 MB, free: 3.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.01114/0.6467, allocations: 1.753 MB / 480.1 MB, free: 1.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.6468, allocations: 63.3 kB / 480.1 MB, free: 1.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.6497, allocations: 1.317 MB / 481.4 MB, free: 36 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.52e-05/0.6498, allocations: 29.7 kB / 481.5 MB, free: 0 / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.651, allocations: 1.223 MB / 482.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/0.6513, allocations: 170 kB / 482.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.6514, allocations: 40 kB / 482.9 MB, free: 14.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.6517, allocations: 403 kB / 483.3 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.6529, allocations: 479.9 kB / 483.8 MB, free: 13.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.6553, allocations: 1.874 MB / 485.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.6576, allocations: 0.8938 MB / 486.5 MB, free: 10.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.544e-05/0.6576, allocations: 16 kB / 486.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.005788/0.6634, allocations: 2.197 MB / 488.7 MB, free: 7.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.995e-05/0.6636, allocations: 34.8 kB / 488.8 MB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-05/0.6636, allocations: 52 kB / 488.8 MB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001106/0.6638, allocations: 72 kB / 488.9 MB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/0.6665, allocations: 495.8 kB / 489.4 MB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001197/0.6667, allocations: 103.6 kB / 489.5 MB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.6689, allocations: 312.7 kB / 489.8 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000329/0.6692, allocations: 128 kB / 489.9 MB, free: 6.797 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (269): * Single equations (assignments): 269 * 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.001843/0.6711, allocations: 0.7541 MB / 490.7 MB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.6714, allocations: 118.4 kB / 490.8 MB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.6718, allocations: 144.5 kB / 490.9 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.6718, allocations: 4 kB / 490.9 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6718, allocations: 3.984 kB / 490.9 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.6718, allocations: 0 / 490.9 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006555/0.6784, allocations: 2.89 MB / 493.8 MB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.6784, allocations: 12 kB / 493.8 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/0.6791, allocations: 95.83 kB / 493.9 MB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.462e-05/0.6791, allocations: 16 kB / 493.9 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.6792, allocations: 28 kB / 494 MB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/0.6792, allocations: 15.94 kB / 494 MB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.036e-05/0.6792, allocations: 27.86 kB / 494 MB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.6812, allocations: 1.585 MB / 495.6 MB, free: 296 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.6817, allocations: 231.2 kB / 495.8 MB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.682, allocations: 28 kB / 495.9 MB, free: 16 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/0.6827, allocations: 27.97 kB / 495.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.6828, allocations: 67.69 kB / 495.9 MB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.6829, allocations: 35.94 kB / 496 MB, free: 15.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002007/0.6849, allocations: 0.9014 MB / 496.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.685, allocations: 0 / 496.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00254/0.6875, allocations: 406.6 kB / 497.3 MB, free: 14.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.0002782/0.6878, allocations: 142.9 kB / 497.4 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003029/0.6909, allocations: 1.171 MB / 498.6 MB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.29e-05/0.6909, allocations: 4.062 kB / 498.6 MB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/0.6915, allocations: 234.5 kB / 498.8 MB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.6929, allocations: 191.2 kB / 499 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008849/0.7018, allocations: 3.888 MB / 0.4911 GB, free: 8.785 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002156/0.704, allocations: 1.563 MB / 0.4926 GB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.7045, allocations: 99.44 kB / 0.4927 GB, free: 7.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7045, allocations: 0 / 0.4927 GB, free: 7.09 MB / 410.7 MB Notification: Performance of Templates: time 0.04202/0.7465, allocations: 17.76 MB / 0.5101 GB, free: 5.34 MB / 426.7 MB