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_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 224.4 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.469e-05/4.476e-05, allocations: 7.938 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.43, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.05108/0.4811, allocations: 30.82 MB / 355.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.5036, allocations: 6.744 MB / 362.4 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008625/0.5123, allocations: 152.2 kB / 362.6 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006597/0.5189, allocations: 1.633 MB / 364.2 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01955/0.5385, allocations: 4.439 MB / 368.6 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.5411, allocations: 239.7 kB / 368.9 MB, free: 3.449 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003509/0.5447, allocations: 0.998 MB / 369.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005913/0.5507, allocations: 2.702 MB / 372.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.5519, allocations: 470.7 kB / 373 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.5537, allocations: 0.7168 MB / 373.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.5556, allocations: 0.5071 MB / 374.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007229/0.5564, allocations: 76 kB / 374.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.558, allocations: 0.9545 MB / 375.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006827/0.5587, allocations: 160 kB / 375.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006234/0.5649, allocations: 3.729 MB / 379.2 MB, free: 9.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.565, allocations: 4 kB / 379.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.565, allocations: 0 / 379.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001803/0.5652, allocations: 0 / 379.2 MB, free: 9.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.008197/0.5734, allocations: 2.614 MB / 381.8 MB, free: 6.414 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.5735, allocations: 12.03 kB / 381.8 MB, free: 6.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01193/0.5854, allocations: 1.95 MB / 383.7 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004458/0.5899, allocations: 1.386 MB / 385.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.5902, allocations: 164 kB / 385.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.5913, allocations: 199.9 kB / 385.5 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.6097, allocations: 6.976 MB / 392.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-05/0.6098, allocations: 15.88 kB / 392.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000439/0.6103, allocations: 99.84 kB / 392.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00428/0.6146, allocations: 1.521 MB / 394.1 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.6338, allocations: 5.971 MB / 400.1 MB, free: 3.711 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04737/0.6813, allocations: 22.18 MB / 422.3 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007539/0.6889, allocations: 2.179 MB / 424.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.7001, allocations: 3.996 MB / 428.4 MB, free: 6.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.7002, allocations: 39.22 kB / 428.5 MB, free: 6.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 4.669e-06/0.7002, allocations: 4 kB / 428.5 MB, free: 6.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=96): time 0.01027/0.7105, allocations: 2.505 MB / 431 MB, free: 3.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.7106, allocations: 60.06 kB / 431 MB, free: 3.801 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00384/0.7144, allocations: 1.808 MB / 432.8 MB, free: 1.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.7146, allocations: 37.7 kB / 432.9 MB, free: 1.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001898/0.7165, allocations: 2.013 MB / 434.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/0.717, allocations: 379.2 kB / 435.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.7173, allocations: 60 kB / 435.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003417/0.7176, allocations: 458 kB / 435.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/0.7204, allocations: 0.9784 MB / 436.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00454/0.7249, allocations: 2.946 MB / 439.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004289/0.7293, allocations: 1.702 MB / 441.4 MB, free: 8.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.85e-05/0.7294, allocations: 20 kB / 441.4 MB, free: 8.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01055/0.7399, allocations: 3.782 MB / 445.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/0.7401, allocations: 43.55 kB / 445.2 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001135/0.7402, allocations: 72.16 kB / 445.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001491/0.7404, allocations: 104 kB / 445.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004342/0.7447, allocations: 0.7213 MB / 446.1 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001618/0.7449, allocations: 135.5 kB / 446.3 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.7482, allocations: 463.1 kB / 446.7 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006133/0.7489, allocations: 211.9 kB / 446.9 MB, free: 2.871 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 21 (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.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 (398): * Single equations (assignments): 393 * 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.003481/0.7524, allocations: 1.427 MB / 448.3 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.7528, allocations: 169.8 kB / 448.5 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/0.7562, allocations: 1.236 MB / 449.8 MB, free: 16 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-05/0.7562, allocations: 15.98 kB / 449.8 MB, free: 0 / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.243e-05/0.7563, allocations: 4.047 kB / 449.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7563, allocations: 3.938 kB / 449.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.7697, allocations: 5.017 MB / 454.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.7698, allocations: 12 kB / 454.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.771, allocations: 139.7 kB / 454.9 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.058e-05/0.771, allocations: 16 kB / 455 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.7711, allocations: 24 kB / 455 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.348e-05/0.7711, allocations: 20.45 kB / 455 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-05/0.7712, allocations: 19.89 kB / 455 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.7749, allocations: 2.307 MB / 457.3 MB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006415/0.7756, allocations: 282.5 kB / 457.6 MB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003758/0.776, allocations: 35.92 kB / 457.6 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.777, allocations: 39.81 kB / 457.7 MB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.7772, allocations: 79.72 kB / 457.8 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.7773, allocations: 43.98 kB / 457.8 MB, free: 7.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003027/0.7804, allocations: 1.308 MB / 459.1 MB, free: 5.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7804, allocations: 0 / 459.1 MB, free: 5.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003896/0.7843, allocations: 0.766 MB / 459.9 MB, free: 5.168 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.0004708/0.7848, allocations: 154.9 kB / 460 MB, free: 5.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005701/0.7905, allocations: 2.264 MB / 462.3 MB, free: 2.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.7906, allocations: 4 kB / 462.3 MB, free: 2.746 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.792, allocations: 0.5564 MB / 462.8 MB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.7936, allocations: 248.7 kB / 463.1 MB, free: 1.945 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.8103, allocations: 7.253 MB / 470.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00485/0.8152, allocations: 2.513 MB / 472.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000918/0.8162, allocations: 163.4 kB / 473 MB, free: 7.836 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.8162, allocations: 3.938 kB / 473 MB, free: 7.832 MB / 410.7 MB Notification: Performance of Templates: time 0.3843/1.201, allocations: 32.24 MB / 0.4934 GB, free: 116 MB / 410.7 MB