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.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.711e-05, allocations: 4 kB / 308 MB, free: 0 / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.407, allocations: 54.86 MB / 362.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.04976/0.4568, allocations: 30.82 MB / 393.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02064/0.4775, allocations: 6.755 MB / 400.4 MB, free: 8.047 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007455/0.485, allocations: 151.7 kB / 400.6 MB, free: 7.898 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005922/0.491, allocations: 1.637 MB / 402.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01672/0.5078, allocations: 4.441 MB / 406.7 MB, free: 1.801 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.5101, allocations: 235.7 kB / 406.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.5135, allocations: 0.9979 MB / 407.9 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005814/0.5193, allocations: 2.707 MB / 410.6 MB, free: 13.81 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.5206, allocations: 466.8 kB / 411.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/0.5223, allocations: 0.7245 MB / 411.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.5239, allocations: 0.5032 MB / 412.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007073/0.5247, allocations: 76 kB / 412.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.5263, allocations: 0.9467 MB / 413.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007749/0.5272, allocations: 156 kB / 413.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.5332, allocations: 3.725 MB / 417.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.5332, allocations: 3.938 kB / 417.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.879e-06/0.5332, allocations: 0 / 417.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001764/0.5334, allocations: 7.938 kB / 417.2 MB, free: 7.203 MB / 346.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.00793/0.5414, allocations: 2.622 MB / 419.8 MB, free: 4.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5415, allocations: 11.97 kB / 419.8 MB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.5533, allocations: 1.946 MB / 421.8 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/0.5576, allocations: 1.386 MB / 423.2 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.5578, allocations: 164 kB / 423.3 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009808/0.5588, allocations: 203.9 kB / 423.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01786/0.5767, allocations: 6.976 MB / 430.5 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-05/0.5768, allocations: 15.88 kB / 430.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/0.5773, allocations: 91.89 kB / 430.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004129/0.5814, allocations: 1.528 MB / 432.1 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/0.6008, allocations: 5.967 MB / 438.1 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04775/0.6486, allocations: 22.17 MB / 460.3 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/0.6565, allocations: 2.195 MB / 462.5 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01224/0.6687, allocations: 3.986 MB / 466.4 MB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.6688, allocations: 39.22 kB / 466.5 MB, free: 4.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 5.45e-06/0.6689, allocations: 0 / 466.5 MB, free: 4.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=96): time 0.01089/0.6798, allocations: 2.505 MB / 469 MB, free: 1.996 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.6799, allocations: 60.06 kB / 469 MB, free: 1.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/0.6839, allocations: 1.804 MB / 470.8 MB, free: 128 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.6841, allocations: 37.7 kB / 470.9 MB, free: 84 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001988/0.6862, allocations: 2.017 MB / 472.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006116/0.6868, allocations: 383.1 kB / 473.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.6871, allocations: 60 kB / 473.3 MB, free: 13.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003328/0.6874, allocations: 465.9 kB / 473.8 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/0.6901, allocations: 0.9784 MB / 474.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00452/0.6947, allocations: 2.946 MB / 477.7 MB, free: 8.223 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004301/0.699, allocations: 1.694 MB / 479.4 MB, free: 6.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.619e-05/0.6991, allocations: 20 kB / 479.4 MB, free: 6.508 MB / 410.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01043/0.7096, allocations: 3.793 MB / 483.2 MB, free: 2.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/0.7097, allocations: 33.41 kB / 483.2 MB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/0.7098, allocations: 72 kB / 483.3 MB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.71, allocations: 100 kB / 483.4 MB, free: 2.508 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004318/0.7143, allocations: 0.7252 MB / 484.1 MB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001644/0.7145, allocations: 139.4 kB / 484.3 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003316/0.7178, allocations: 455.6 kB / 484.7 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005685/0.7184, allocations: 200 kB / 484.9 MB, free: 1 MB / 410.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.003408/0.7219, allocations: 1.435 MB / 486.4 MB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.7223, allocations: 165.8 kB / 486.5 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.7256, allocations: 1.248 MB / 487.8 MB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.7257, allocations: 8 kB / 487.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.7257, allocations: 0 / 487.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.7257, allocations: 3.984 kB / 487.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.739, allocations: 5.018 MB / 492.8 MB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.7391, allocations: 8 kB / 492.8 MB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.7403, allocations: 144 kB / 492.9 MB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.23e-05/0.7403, allocations: 12 kB / 493 MB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.7e-05/0.7404, allocations: 32 kB / 493 MB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.422e-05/0.7405, allocations: 23.86 kB / 493 MB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.203e-05/0.7405, allocations: 19.92 kB / 493 MB, free: 8.676 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/0.7446, allocations: 2.311 MB / 495.3 MB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007455/0.7454, allocations: 278.5 kB / 495.6 MB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005169/0.7459, allocations: 27.98 kB / 495.6 MB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.747, allocations: 47.88 kB / 495.7 MB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/0.7472, allocations: 75.72 kB / 495.8 MB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.7473, allocations: 39.98 kB / 495.8 MB, free: 5.391 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003316/0.7507, allocations: 1.324 MB / 497.1 MB, free: 4.043 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7507, allocations: 0 / 497.1 MB, free: 4.043 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003825/0.7546, allocations: 0.7582 MB / 497.9 MB, free: 3.281 MB / 426.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.0005173/0.7551, allocations: 158.9 kB / 498 MB, free: 3.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005878/0.761, allocations: 2.271 MB / 0.4886 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/0.7611, allocations: 0 / 0.4886 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001464/0.7625, allocations: 0.5573 MB / 0.4891 GB, free: 324 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.7643, allocations: 242.3 kB / 0.4894 GB, free: 80 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3181/1.082, allocations: 7.251 MB / 0.4964 GB, free: 119.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004159/1.087, allocations: 2.521 MB / 0.4989 GB, free: 118.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00081/1.087, allocations: 157.7 kB / 0.499 GB, free: 118.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/1.088, allocations: 0 / 0.499 GB, free: 118.8 MB / 426.7 MB Notification: Performance of Templates: time 0.06322/1.151, allocations: 32.26 MB / 0.5306 GB, free: 90.52 MB / 426.7 MB