Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.522/2.522, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.91e-05, allocations: 7.984 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.434/0.5454, allocations: 102.8 MB / 0.501 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5457, allocations: 75.97 kB / 0.5011 GB, free: 1.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2405/0.7863, allocations: 53.73 MB / 0.5535 GB, free: 11.19 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.032e-06/0.7864, allocations: 4 kB / 0.5535 GB, free: 11.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002/0.7866, allocations: 52 kB / 0.5536 GB, free: 11.13 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.01275/0.7994, allocations: 2.515 MB / 0.5561 GB, free: 8.566 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.7994, allocations: 12.03 kB / 0.5561 GB, free: 8.555 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.8105, allocations: 1.794 MB / 0.5578 GB, free: 6.754 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/0.8155, allocations: 1.672 MB / 0.5594 GB, free: 5.035 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002946/0.8158, allocations: 209.5 kB / 0.5596 GB, free: 4.828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.817, allocations: 271.9 kB / 0.5599 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01693/0.834, allocations: 6.231 MB / 0.566 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.092e-05/0.8341, allocations: 11.88 kB / 0.566 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006794/0.8348, allocations: 123.9 kB / 0.5661 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001705/0.8365, allocations: 0.6411 MB / 0.5667 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02861/0.8652, allocations: 5.348 MB / 0.572 GB, free: 7.859 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06618/0.9314, allocations: 22.32 MB / 0.5938 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005866/0.9373, allocations: 1.991 MB / 0.5957 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.9388, allocations: 0.6903 MB / 0.5964 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009111/0.9479, allocations: 3.683 MB / 0.6 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.948, allocations: 35 kB / 0.6 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 4.556e-06/0.948, allocations: 0 / 0.6 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.006682/0.9547, allocations: 1.577 MB / 0.6016 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.9548, allocations: 59.84 kB / 0.6016 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/0.9583, allocations: 1.722 MB / 0.6033 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.226e-05/0.9584, allocations: 29.7 kB / 0.6033 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.9603, allocations: 1.895 MB / 0.6052 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004649/0.9608, allocations: 308.1 kB / 0.6055 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.9611, allocations: 56 kB / 0.6055 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004996/0.9616, allocations: 0.4893 MB / 0.606 GB, free: 3.988 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.9634, allocations: 0.8374 MB / 0.6068 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2917/1.255, allocations: 2.662 MB / 0.6094 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005773/1.261, allocations: 1.523 MB / 0.6109 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/1.261, allocations: 19.06 kB / 0.6109 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01191/1.273, allocations: 3.235 MB / 0.6141 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.273, allocations: 33.83 kB / 0.6141 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001847/1.273, allocations: 66.19 kB / 0.6142 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/1.274, allocations: 96.34 kB / 0.6143 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004755/1.279, allocations: 0.6598 MB / 0.6149 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002561/1.279, allocations: 128.9 kB / 0.615 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004938/1.284, allocations: 410.6 kB / 0.6154 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008622/1.285, allocations: 181.6 kB / 0.6156 GB, free: 141.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (362): * Single equations (assignments): 359 * 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.000833/1.286, allocations: 345.3 kB / 0.6159 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/1.286, allocations: 159.3 kB / 0.6161 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/1.287, allocations: 205.4 kB / 0.6163 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/1.287, allocations: 9.703 kB / 0.6163 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.287, allocations: 1.391 kB / 0.6163 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/1.287, allocations: 3.75 kB / 0.6163 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01511/1.302, allocations: 4.084 MB / 0.6203 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/1.302, allocations: 9.734 kB / 0.6203 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.304, allocations: 103.7 kB / 0.6204 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.204e-05/1.304, allocations: 10.11 kB / 0.6204 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/1.304, allocations: 20.56 kB / 0.6204 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.511e-05/1.304, allocations: 14.69 kB / 0.6204 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.283e-05/1.304, allocations: 11.88 kB / 0.6204 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002941/1.307, allocations: 1.727 MB / 0.6221 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/1.307, allocations: 261.6 kB / 0.6224 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/1.308, allocations: 21.55 kB / 0.6224 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/1.308, allocations: 21.81 kB / 0.6224 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.309, allocations: 56.06 kB / 0.6225 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/1.309, allocations: 33.33 kB / 0.6225 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002471/1.311, allocations: 1.258 MB / 0.6237 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.259e-06/1.311, allocations: 0 / 0.6237 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003593/1.315, allocations: 0.713 MB / 0.6244 GB, free: 138.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.0003622/1.315, allocations: 148.7 kB / 0.6246 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003929/1.319, allocations: 1.871 MB / 0.6264 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.319, allocations: 1 kB / 0.6264 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007887/1.32, allocations: 453.8 kB / 0.6268 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.321, allocations: 232 kB / 0.6271 GB, free: 138.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009606/1.331, allocations: 4.153 MB / 0.6311 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/1.335, allocations: 2.375 MB / 0.6334 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003199/1.338, allocations: 0.9727 MB / 0.6344 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/1.338, allocations: 121.9 kB / 0.6345 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.736e-06/1.338, allocations: 2.844 kB / 0.6345 GB, free: 136.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.0429/1.381, allocations: 13.52 MB / 0.6477 GB, free: 135.9 MB / 0.5105 GB