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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.595e-05, allocations: 6.812 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08631/0.08636, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3772/0.4636, allocations: 100.7 MB / 443.2 MB, free: 9.758 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.4639, allocations: 89.5 kB / 443.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3503/0.8142, allocations: 92.45 MB / 0.5232 GB, free: 1.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.706e-06/0.8143, allocations: 192 / 0.5232 GB, free: 1.059 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.00025/0.8145, allocations: 91.94 kB / 0.5233 GB, free: 0.9688 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.3124/1.127, allocations: 4.418 MB / 0.5276 GB, free: 96.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.127, allocations: 13.31 kB / 0.5276 GB, free: 96.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02495/1.152, allocations: 4.435 MB / 0.532 GB, free: 96.06 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01539/1.167, allocations: 4.758 MB / 0.5366 GB, free: 95.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/1.168, allocations: 337.9 kB / 0.5369 GB, free: 95.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001444/1.169, allocations: 441.9 kB / 0.5374 GB, free: 95.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/1.193, allocations: 11.16 MB / 0.5483 GB, free: 92.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/1.193, allocations: 62.59 kB / 0.5483 GB, free: 92.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007398/1.194, allocations: 219.1 kB / 0.5485 GB, free: 92.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001597/1.196, allocations: 1.097 MB / 0.5496 GB, free: 92.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02154/1.217, allocations: 8.943 MB / 0.5583 GB, free: 92.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05776/1.275, allocations: 50.37 MB / 0.6075 GB, free: 57.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01573/1.291, allocations: 4.737 MB / 0.6121 GB, free: 55.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003509/1.294, allocations: 2.306 MB / 0.6144 GB, free: 54.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0139/1.308, allocations: 7.261 MB / 0.6215 GB, free: 50.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.308, allocations: 58.34 kB / 0.6215 GB, free: 50.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=177): time 6.528e-06/1.308, allocations: 0 / 0.6215 GB, free: 50.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=198): time 0.05291/1.361, allocations: 15.24 MB / 0.6364 GB, free: 40.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/1.361, allocations: 171.5 kB / 0.6366 GB, free: 40.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006857/1.368, allocations: 4.05 MB / 0.6405 GB, free: 36.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003652/1.369, allocations: 54.8 kB / 0.6406 GB, free: 36.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.371, allocations: 3.25 MB / 0.6438 GB, free: 33.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008315/1.372, allocations: 0.7547 MB / 0.6445 GB, free: 32.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/1.372, allocations: 120 kB / 0.6446 GB, free: 32.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003395/1.372, allocations: 0.5756 MB / 0.6452 GB, free: 32.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/1.376, allocations: 2.163 MB / 0.6473 GB, free: 30.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005873/1.382, allocations: 5.848 MB / 0.653 GB, free: 23.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005956/1.388, allocations: 3.545 MB / 0.6565 GB, free: 19.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.743e-05/1.388, allocations: 36 kB / 0.6565 GB, free: 19.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=804) (initialization): time 0.01763/1.406, allocations: 8.233 MB / 0.6645 GB, free: 12.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/1.406, allocations: 60 kB / 0.6646 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.406, allocations: 136.1 kB / 0.6647 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002609/1.409, allocations: 0.9228 MB / 0.6656 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00625/1.415, allocations: 1.475 MB / 0.6671 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00832/1.424, allocations: 5.756 MB / 0.6727 GB, free: 5.391 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00588/1.43, allocations: 351.5 kB / 0.673 GB, free: 5.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/1.43, allocations: 378.8 kB / 0.6734 GB, free: 4.68 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.001035/1.431, allocations: 0.5984 MB / 0.674 GB, free: 4.082 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007635/1.432, allocations: 386.9 kB / 0.6743 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00724/1.44, allocations: 3.559 MB / 0.6778 GB, free: 128 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.641e-05/1.44, allocations: 20 kB / 0.6778 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/1.44, allocations: 4 kB / 0.6778 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.212e-05/1.44, allocations: 11.97 kB / 0.6779 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/1.464, allocations: 9.089 MB / 0.6867 GB, free: 6.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.559e-05/1.464, allocations: 4 kB / 0.6867 GB, free: 6.902 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002543/1.466, allocations: 387.4 kB / 0.6871 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/1.469, allocations: 0.725 MB / 0.6878 GB, free: 5.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/1.469, allocations: 40 kB / 0.6878 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/1.48, allocations: 5.309 MB / 0.693 GB, free: 328 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/1.48, allocations: 11.94 kB / 0.693 GB, free: 316 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3166/1.796, allocations: 7.133 MB / 0.7 GB, free: 98.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.798, allocations: 469.9 kB / 0.7005 GB, free: 98.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006849/1.798, allocations: 47.83 kB / 0.7005 GB, free: 98.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.8, allocations: 114.9 kB / 0.7006 GB, free: 98.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003855/1.801, allocations: 124.9 kB / 0.7007 GB, free: 98.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.801, allocations: 59.34 kB / 0.7008 GB, free: 98.75 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006201/1.807, allocations: 2.887 MB / 0.7036 GB, free: 98.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.807, allocations: 0 / 0.7036 GB, free: 98.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006703/1.814, allocations: 1.051 MB / 0.7046 GB, free: 98.55 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.0004971/1.815, allocations: 193.1 kB / 0.7048 GB, free: 98.46 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01008/1.825, allocations: 5.141 MB / 0.7098 GB, free: 98.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.074e-06/1.825, allocations: 3.906 kB / 0.7098 GB, free: 98.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.828, allocations: 1.868 MB / 0.7117 GB, free: 98.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002838/1.831, allocations: 472.2 kB / 0.7121 GB, free: 98.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.848, allocations: 8.423 MB / 0.7203 GB, free: 96.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005198/1.853, allocations: 3.545 MB / 0.7238 GB, free: 95.67 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006487/1.86, allocations: 2.042 MB / 0.7258 GB, free: 95.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.861, allocations: 273.5 kB / 0.7261 GB, free: 95.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.471e-06/1.861, allocations: 0 / 0.7261 GB, free: 95.62 MB / 458.7 MB Notification: Performance of Templates: time 0.09869/1.96, allocations: 38.32 MB / 0.7635 GB, free: 93.21 MB / 458.7 MB