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_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.915e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1307, allocations: 61.88 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.378/0.5087, allocations: 31.13 MB / 442 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.531, allocations: 6.858 MB / 448.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008609/0.5397, allocations: 159 kB / 449.1 MB, free: 8.328 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006741/0.5465, allocations: 1.655 MB / 450.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01962/0.5661, allocations: 4.518 MB / 455.2 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.5685, allocations: 217.4 kB / 455.4 MB, free: 5.457 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003294/0.5718, allocations: 0.9259 MB / 456.4 MB, free: 4.871 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005765/0.5776, allocations: 2.668 MB / 459 MB, free: 3.305 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.5791, allocations: 436.1 kB / 459.5 MB, free: 3.117 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.5808, allocations: 0.6288 MB / 460.1 MB, free: 2.797 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/0.5827, allocations: 0.505 MB / 460.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006573/0.5834, allocations: 67.62 kB / 460.7 MB, free: 2.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001623/0.5851, allocations: 0.8759 MB / 461.5 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008551/0.586, allocations: 146.6 kB / 461.7 MB, free: 2.152 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005795/0.5918, allocations: 3.433 MB / 465.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.5918, allocations: 3.938 kB / 465.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.5918, allocations: 0 / 465.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001797/0.592, allocations: 0 / 465.1 MB, free: 15.84 MB / 378.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.007527/0.5996, allocations: 2.475 MB / 467.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5996, allocations: 8.406 kB / 467.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.6111, allocations: 1.919 MB / 469.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004283/0.6154, allocations: 1.315 MB / 470.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.6157, allocations: 159.7 kB / 471 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009846/0.6167, allocations: 191.8 kB / 471.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.6338, allocations: 6.463 MB / 477.6 MB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.981e-05/0.6339, allocations: 11.88 kB / 477.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.6343, allocations: 95.89 kB / 477.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003957/0.6383, allocations: 1.403 MB / 479.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0178/0.6561, allocations: 5.513 MB / 484.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04438/0.7006, allocations: 20.63 MB / 0.4935 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00706/0.7077, allocations: 1.999 MB / 0.4954 GB, free: 6.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.7191, allocations: 3.682 MB / 0.499 GB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.7192, allocations: 38.98 kB / 0.499 GB, free: 2.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 4.629e-06/0.7192, allocations: 0 / 0.499 GB, free: 2.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.01003/0.7292, allocations: 2.236 MB / 0.5012 GB, free: 15.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.7293, allocations: 55.84 kB / 0.5013 GB, free: 15.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004306/0.7336, allocations: 1.746 MB / 0.503 GB, free: 14.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.7339, allocations: 29.7 kB / 0.503 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002004/0.7359, allocations: 1.897 MB / 0.5049 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006193/0.7365, allocations: 320 kB / 0.5052 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003096/0.7369, allocations: 56 kB / 0.5052 GB, free: 11.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003699/0.7372, allocations: 449.3 kB / 0.5057 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.7397, allocations: 0.8842 MB / 0.5065 GB, free: 10.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004396/0.7441, allocations: 2.75 MB / 0.5092 GB, free: 6.715 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003941/0.7481, allocations: 1.556 MB / 0.5107 GB, free: 5.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.427e-05/0.7482, allocations: 20 kB / 0.5107 GB, free: 5.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.01352/0.7617, allocations: 3.484 MB / 0.5141 GB, free: 1.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.7619, allocations: 36 kB / 0.5142 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/0.7622, allocations: 68.78 kB / 0.5142 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002425/0.7624, allocations: 96 kB / 0.5143 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006375/0.7688, allocations: 0.6667 MB / 0.515 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001686/0.769, allocations: 127.5 kB / 0.5151 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003162/0.7722, allocations: 423.5 kB / 0.5155 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006504/0.7729, allocations: 188 kB / 0.5157 GB, free: 56 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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.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 (365): * Single equations (assignments): 360 * Array equations: 5 * 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.004001/0.7769, allocations: 1.357 MB / 0.517 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006418/0.7776, allocations: 157.8 kB / 0.5172 GB, free: 14.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.7787, allocations: 201.2 kB / 0.5174 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.781e-05/0.7788, allocations: 15.98 kB / 0.5174 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/0.7788, allocations: 0 / 0.5174 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.7789, allocations: 3.984 kB / 0.5174 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.7946, allocations: 4.085 MB / 0.5214 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.7947, allocations: 4 kB / 0.5214 GB, free: 10.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.7955, allocations: 107.8 kB / 0.5215 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.66e-05/0.7956, allocations: 8 kB / 0.5215 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.328e-05/0.7956, allocations: 19.94 kB / 0.5215 GB, free: 9.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/0.7957, allocations: 11.98 kB / 0.5215 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/0.7957, allocations: 11.94 kB / 0.5215 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002882/0.7986, allocations: 1.723 MB / 0.5232 GB, free: 7.863 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006996/0.7993, allocations: 262.7 kB / 0.5235 GB, free: 7.586 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003914/0.7997, allocations: 27.97 kB / 0.5235 GB, free: 7.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.8007, allocations: 27.89 kB / 0.5235 GB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.8008, allocations: 55.84 kB / 0.5236 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-05/0.8009, allocations: 31.92 kB / 0.5236 GB, free: 7.445 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003271/0.8042, allocations: 1.275 MB / 0.5248 GB, free: 6.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.8043, allocations: 0 / 0.5248 GB, free: 6.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003854/0.8081, allocations: 0.7038 MB / 0.5255 GB, free: 5.473 MB / 442.7 MB 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.0005479/0.8087, allocations: 143 kB / 0.5257 GB, free: 5.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005254/0.814, allocations: 2.019 MB / 0.5276 GB, free: 3.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.8141, allocations: 4.75 kB / 0.5276 GB, free: 3.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.8152, allocations: 463.7 kB / 0.5281 GB, free: 2.863 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.817, allocations: 236.2 kB / 0.5283 GB, free: 2.633 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.8335, allocations: 6.588 MB / 0.5347 GB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004896/0.8384, allocations: 2.383 MB / 0.5371 GB, free: 9.508 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/0.8392, allocations: 143.4 kB / 0.5372 GB, free: 9.367 MB / 458.7 MB Notification: Performance of SimCode: time 1.373e-06/0.8392, allocations: 4 kB / 0.5372 GB, free: 9.363 MB / 458.7 MB Notification: Performance of Templates: time 0.06931/0.9086, allocations: 29.71 MB / 0.5662 GB, free: 11.68 MB / 490.7 MB