Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.262e-05, allocations: 9.828 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.11, allocations: 61.88 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.5661, allocations: 105.9 MB / 0.5041 GB, free: 14.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004066/0.5666, allocations: 84.52 kB / 0.5041 GB, free: 14.17 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9888/1.555, allocations: 151.4 MB / 0.652 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.038e-06/1.555, allocations: 0 / 0.652 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003267/1.556, allocations: 150.6 kB / 0.6521 GB, free: 107.5 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02051/1.576, allocations: 7.355 MB / 0.6593 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.576, allocations: 9.469 kB / 0.6593 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02162/1.598, allocations: 3.521 MB / 0.6627 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02647/1.625, allocations: 8.773 MB / 0.6713 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009691/1.626, allocations: 0.5668 MB / 0.6719 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004296/1.63, allocations: 0.7467 MB / 0.6726 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05111/1.681, allocations: 17.41 MB / 0.6896 GB, free: 96.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005878/1.682, allocations: 89.84 kB / 0.6897 GB, free: 96.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002771/1.684, allocations: 356.9 kB / 0.69 GB, free: 95.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003012/1.687, allocations: 1.623 MB / 0.6916 GB, free: 95.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03435/1.722, allocations: 13.12 MB / 0.7044 GB, free: 90.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09396/1.816, allocations: 74.59 MB / 0.7773 GB, free: 17.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01904/1.835, allocations: 5.225 MB / 0.7824 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/1.839, allocations: 2.078 MB / 0.7844 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02056/1.859, allocations: 9.964 MB / 0.7941 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/1.86, allocations: 59.8 kB / 0.7942 GB, free: 0 / 0.5105 GB Notification: Performance of pre-optimization done (n=182): time 5.574e-06/1.86, allocations: 0 / 0.7942 GB, free: 0 / 0.5105 GB Notification: Performance of matching and sorting (n=206): time 0.09826/1.958, allocations: 13.09 MB / 0.807 GB, free: 2.887 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.958, allocations: 153.8 kB / 0.8071 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3325/2.291, allocations: 5.507 MB / 0.8125 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00034/2.291, allocations: 57.36 kB / 0.8125 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004665/2.296, allocations: 5.295 MB / 0.8177 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/2.297, allocations: 0.8236 MB / 0.8185 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000773/2.298, allocations: 165.1 kB / 0.8187 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006444/2.298, allocations: 0.645 MB / 0.8193 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/2.304, allocations: 2.089 MB / 0.8213 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008365/2.312, allocations: 7.357 MB / 0.8285 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008899/2.321, allocations: 3.884 MB / 0.8323 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003394/2.321, allocations: 55.64 kB / 0.8324 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02263/2.344, allocations: 8.621 MB / 0.8408 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/2.344, allocations: 85.59 kB / 0.8409 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002496/2.345, allocations: 190.2 kB / 0.8411 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003198/2.345, allocations: 282.9 kB / 0.8413 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008675/2.354, allocations: 1.987 MB / 0.8433 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003209/2.354, allocations: 370.3 kB / 0.8436 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009521/2.363, allocations: 0.5706 MB / 0.8442 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/2.365, allocations: 0.5054 MB / 0.8447 GB, free: 102.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1031): * Single equations (assignments): 1028 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002298/2.368, allocations: 0.765 MB / 0.8454 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001183/2.369, allocations: 0.5343 MB / 0.8459 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/2.371, allocations: 0.6504 MB / 0.8466 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/2.371, allocations: 27.97 kB / 0.8466 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/2.371, allocations: 0 / 0.8466 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/2.371, allocations: 7.219 kB / 0.8466 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/2.401, allocations: 14.97 MB / 0.8612 GB, free: 97.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.115e-05/2.401, allocations: 45.28 kB / 0.8613 GB, free: 97.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/2.403, allocations: 429 kB / 0.8617 GB, free: 97.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-05/2.403, allocations: 68.59 kB / 0.8617 GB, free: 97.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/2.403, allocations: 97.08 kB / 0.8618 GB, free: 97.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.148e-05/2.403, allocations: 92.5 kB / 0.8619 GB, free: 97.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.336e-05/2.403, allocations: 68.91 kB / 0.862 GB, free: 97.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006747/2.41, allocations: 11.89 MB / 0.8736 GB, free: 84.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/2.412, allocations: 0.6393 MB / 0.8742 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/2.413, allocations: 111 kB / 0.8743 GB, free: 84.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00356/2.417, allocations: 167.4 kB / 0.8745 GB, free: 84.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004599/2.417, allocations: 298 kB / 0.8748 GB, free: 84.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/2.418, allocations: 125.6 kB / 0.8749 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008933/2.427, allocations: 3.851 MB / 0.8786 GB, free: 82.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.19e-06/2.427, allocations: 4 kB / 0.8787 GB, free: 82.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01023/2.437, allocations: 1.357 MB / 0.88 GB, free: 82.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 227 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008527/2.438, allocations: 269.9 kB / 0.8802 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009767/2.448, allocations: 4.733 MB / 0.8849 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.454e-05/2.448, allocations: 6.734 kB / 0.8849 GB, free: 80.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/2.45, allocations: 1.095 MB / 0.8859 GB, free: 80.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005941/2.456, allocations: 0.8416 MB / 0.8868 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02871/2.485, allocations: 12.62 MB / 0.8991 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01127/2.496, allocations: 5.402 MB / 0.9044 GB, free: 72.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009514/2.505, allocations: 2.585 MB / 0.9069 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/2.507, allocations: 352.7 kB / 0.9072 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of SimCode: time 1.642e-06/2.507, allocations: 0 / 0.9072 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.1279/2.635, allocations: 41.31 MB / 0.9476 GB, free: 48.28 MB / 0.5261 GB