Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.431e-05, allocations: 4 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.08922, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.4726, allocations: 100.7 MB / 443.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4729, allocations: 93.19 kB / 443.9 MB, free: 9.758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3464/0.8194, allocations: 92.45 MB / 0.5237 GB, free: 1.074 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.548e-06/0.8194, allocations: 0 / 0.5237 GB, free: 1.074 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002415/0.8197, allocations: 91.94 kB / 0.5238 GB, free: 0.9844 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1599 * Number of variables: 1599 Notification: Performance of Generate backend data structure: time 0.26/1.08, allocations: 4.413 MB / 0.5281 GB, free: 96.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.08, allocations: 12.5 kB / 0.5281 GB, free: 96.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02514/1.105, allocations: 4.436 MB / 0.5325 GB, free: 96.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/1.12, allocations: 4.751 MB / 0.5371 GB, free: 95.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004282/1.121, allocations: 335.2 kB / 0.5374 GB, free: 95.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001903/1.122, allocations: 445.4 kB / 0.5379 GB, free: 95.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/1.148, allocations: 11.16 MB / 0.5488 GB, free: 93.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/1.149, allocations: 64.25 kB / 0.5488 GB, free: 93.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009753/1.15, allocations: 220.4 kB / 0.549 GB, free: 93.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/1.151, allocations: 1.099 MB / 0.5501 GB, free: 93.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/1.173, allocations: 8.943 MB / 0.5588 GB, free: 93.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05727/1.231, allocations: 50.38 MB / 0.608 GB, free: 57.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/1.246, allocations: 4.734 MB / 0.6127 GB, free: 55.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003299/1.249, allocations: 2.306 MB / 0.6149 GB, free: 54.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/1.263, allocations: 7.261 MB / 0.622 GB, free: 51.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.263, allocations: 52.66 kB / 0.622 GB, free: 51.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 6.203e-06/1.263, allocations: 0 / 0.622 GB, free: 51.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=198): time 0.04973/1.313, allocations: 15.24 MB / 0.6369 GB, free: 40.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/1.313, allocations: 178.9 kB / 0.6371 GB, free: 40.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00693/1.32, allocations: 4.043 MB / 0.641 GB, free: 36.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003618/1.32, allocations: 53.7 kB / 0.6411 GB, free: 36.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002072/1.322, allocations: 3.254 MB / 0.6443 GB, free: 33.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008172/1.323, allocations: 0.7562 MB / 0.645 GB, free: 32.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/1.324, allocations: 127.9 kB / 0.6451 GB, free: 32.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003345/1.324, allocations: 0.5632 MB / 0.6457 GB, free: 32.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003852/1.328, allocations: 2.164 MB / 0.6478 GB, free: 30.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005807/1.334, allocations: 5.846 MB / 0.6535 GB, free: 23.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005976/1.34, allocations: 3.552 MB / 0.657 GB, free: 20.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-05/1.34, allocations: 40 kB / 0.657 GB, free: 19.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.01769/1.358, allocations: 8.23 MB / 0.665 GB, free: 12.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.517e-05/1.358, allocations: 60 kB / 0.6651 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/1.358, allocations: 135.9 kB / 0.6652 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/1.36, allocations: 0.9148 MB / 0.6661 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005932/1.366, allocations: 1.472 MB / 0.6676 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008166/1.375, allocations: 5.765 MB / 0.6732 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005869/1.38, allocations: 347.4 kB / 0.6735 GB, free: 5.078 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009512/1.381, allocations: 380 kB / 0.6739 GB, free: 4.707 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 49 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceArrow.color[3],forceAndTorque.forceArrow.color[2],forceAndTorque.forceArrow.color[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 752 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001009/1.382, allocations: 0.59 MB / 0.6745 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007801/1.383, allocations: 394.8 kB / 0.6748 GB, free: 3.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007001/1.39, allocations: 3.559 MB / 0.6783 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-05/1.39, allocations: 24 kB / 0.6783 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.39, allocations: 4 kB / 0.6783 GB, free: 132 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.259e-05/1.39, allocations: 7.969 kB / 0.6784 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/1.413, allocations: 9.08 MB / 0.6872 GB, free: 6.941 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/1.413, allocations: 8.062 kB / 0.6872 GB, free: 6.934 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002481/1.416, allocations: 387.4 kB / 0.6876 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/1.418, allocations: 0.7299 MB / 0.6883 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003098/1.419, allocations: 40 kB / 0.6883 GB, free: 5.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01/1.429, allocations: 5.305 MB / 0.6935 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/1.429, allocations: 7.938 kB / 0.6935 GB, free: 348 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3483/1.777, allocations: 7.139 MB / 0.7005 GB, free: 99.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.779, allocations: 474.9 kB / 0.701 GB, free: 99.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.78, allocations: 38.58 kB / 0.701 GB, free: 99.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003999/1.784, allocations: 118.3 kB / 0.7011 GB, free: 99.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006023/1.785, allocations: 132.7 kB / 0.7012 GB, free: 99.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003576/1.785, allocations: 57.2 kB / 0.7013 GB, free: 99.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009605/1.795, allocations: 2.886 MB / 0.7041 GB, free: 99.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.377e-06/1.795, allocations: 0 / 0.7041 GB, free: 99.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01127/1.806, allocations: 1.05 MB / 0.7051 GB, free: 99.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007493/1.807, allocations: 191.7 kB / 0.7053 GB, free: 99.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01608/1.823, allocations: 5.146 MB / 0.7103 GB, free: 99.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.823, allocations: 6.656 kB / 0.7103 GB, free: 99.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005902/1.829, allocations: 1.866 MB / 0.7122 GB, free: 98.92 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/1.833, allocations: 472 kB / 0.7126 GB, free: 98.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02535/1.859, allocations: 8.423 MB / 0.7208 GB, free: 97.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01024/1.869, allocations: 3.541 MB / 0.7243 GB, free: 96.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0116/1.881, allocations: 2.053 MB / 0.7263 GB, free: 96.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/1.882, allocations: 265.7 kB / 0.7266 GB, free: 96.34 MB / 458.7 MB Notification: Performance of SimCode: time 2.13e-06/1.882, allocations: 0 / 0.7266 GB, free: 96.34 MB / 458.7 MB Notification: Performance of Templates: time 0.1012/1.983, allocations: 38.32 MB / 0.764 GB, free: 93.91 MB / 458.7 MB