Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 270.1 MB / 283.6 MB, free: 3.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.351e-05, allocations: 9.766 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1524, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5241/0.6765, allocations: 110.8 MB / 0.5088 GB, free: 9.297 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/0.6769, allocations: 84.56 kB / 0.5089 GB, free: 9.215 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8416/1.519, allocations: 138 MB / 0.6436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.049e-06/1.519, allocations: 2.625 kB / 0.6436 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003976/1.519, allocations: 142.9 kB / 0.6438 GB, free: 108.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.02205/1.541, allocations: 6.886 MB / 0.6505 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.541, allocations: 7.812 kB / 0.6505 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03881/1.58, allocations: 7.195 MB / 0.6575 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02293/1.603, allocations: 7.292 MB / 0.6647 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006015/1.604, allocations: 0.5289 MB / 0.6652 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003011/1.607, allocations: 0.7082 MB / 0.6659 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04655/1.653, allocations: 17.26 MB / 0.6827 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004095/1.654, allocations: 88.05 kB / 0.6828 GB, free: 97.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002479/1.656, allocations: 339.3 kB / 0.6831 GB, free: 97.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002947/1.659, allocations: 1.637 MB / 0.6847 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0384/1.698, allocations: 13.69 MB / 0.6981 GB, free: 93 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1252/1.823, allocations: 76.67 MB / 0.773 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02732/1.85, allocations: 7.865 MB / 0.7807 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006821/1.857, allocations: 4.037 MB / 0.7846 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02137/1.879, allocations: 10.1 MB / 0.7945 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.757e-05/1.879, allocations: 67.84 kB / 0.7945 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 7.681e-06/1.879, allocations: 0 / 0.7945 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319): time 0.4337/2.312, allocations: 28.63 MB / 0.8225 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/2.313, allocations: 241.2 kB / 0.8227 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01754/2.33, allocations: 6.25 MB / 0.8288 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006715/2.331, allocations: 77.23 kB / 0.8289 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004668/2.335, allocations: 4.902 MB / 0.8337 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001713/2.337, allocations: 1.205 MB / 0.8349 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009018/2.338, allocations: 181.8 kB / 0.835 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006615/2.339, allocations: 0.6854 MB / 0.8357 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008573/2.347, allocations: 3.447 MB / 0.8391 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/2.359, allocations: 8.652 MB / 0.8475 GB, free: 99.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/2.37, allocations: 5.43 MB / 0.8528 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/2.37, allocations: 54.03 kB / 0.8529 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.03212/2.402, allocations: 12.91 MB / 0.8655 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/2.402, allocations: 83.84 kB / 0.8656 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002037/2.403, allocations: 185.2 kB / 0.8657 GB, free: 95.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/2.408, allocations: 1.706 MB / 0.8674 GB, free: 95.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/2.419, allocations: 2.17 MB / 0.8695 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01978/2.439, allocations: 11.39 MB / 0.8807 GB, free: 88.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/2.45, allocations: 0.5001 MB / 0.8811 GB, free: 88.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/2.453, allocations: 0.5323 MB / 0.8817 GB, free: 88.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1097 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003309/2.456, allocations: 0.8111 MB / 0.8825 GB, free: 88.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/2.459, allocations: 0.6017 MB / 0.883 GB, free: 87.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02432/2.483, allocations: 6.678 MB / 0.8896 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-05/2.483, allocations: 35.5 kB / 0.8896 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-05/2.483, allocations: 8.406 kB / 0.8896 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.141e-05/2.483, allocations: 16.7 kB / 0.8896 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04853/2.532, allocations: 15.71 MB / 0.905 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.524e-05/2.532, allocations: 7.438 kB / 0.905 GB, free: 79.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007524/2.539, allocations: 0.6306 MB / 0.9056 GB, free: 79.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009014/2.548, allocations: 1.418 MB / 0.907 GB, free: 79.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009365/2.549, allocations: 57.5 kB / 0.907 GB, free: 79.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03112/2.581, allocations: 10.61 MB / 0.9174 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-05/2.581, allocations: 7.938 kB / 0.9174 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03971/2.62, allocations: 12.06 MB / 0.9292 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003538/2.624, allocations: 0.6829 MB / 0.9298 GB, free: 61.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003113/2.627, allocations: 56 kB / 0.9299 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008071/2.635, allocations: 207.3 kB / 0.9301 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001295/2.637, allocations: 196.9 kB / 0.9303 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006512/2.637, allocations: 84 kB / 0.9304 GB, free: 61.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01601/2.653, allocations: 4.465 MB / 0.9347 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.449e-06/2.653, allocations: 0 / 0.9347 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0199/2.673, allocations: 1.681 MB / 0.9364 GB, free: 55.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 256 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001271/2.675, allocations: 216.8 kB / 0.9366 GB, free: 55.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03162/2.706, allocations: 8.313 MB / 0.9447 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.55e-05/2.706, allocations: 0 / 0.9447 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01108/2.717, allocations: 3.341 MB / 0.9479 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/2.723, allocations: 0.7678 MB / 0.9487 GB, free: 44.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/2.755, allocations: 13.5 MB / 0.9619 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01206/2.767, allocations: 5.197 MB / 0.967 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01175/2.778, allocations: 3.002 MB / 0.9699 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002211/2.781, allocations: 410.2 kB / 0.9703 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.667e-06/2.781, allocations: 4 kB / 0.9703 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.8618/3.643, allocations: 63.96 MB / 1.033 GB, free: 105.6 MB / 0.5418 GB