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.19/2.19, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.129e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3289, allocations: 54.85 MB / 359.8 MB, free: 2.629 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.4743, allocations: 95.95 MB / 455.7 MB, free: 1.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.4746, allocations: 75.95 kB / 455.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2099/0.6845, allocations: 56.87 MB / 0.5006 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.706e-06/0.6846, allocations: 0 / 0.5006 GB, free: 7.719 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.6847, allocations: 52 kB / 0.5007 GB, free: 7.668 MB / 442.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.007016/0.6917, allocations: 2.673 MB / 0.5033 GB, free: 4.938 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6918, allocations: 15.97 kB / 0.5033 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.702, allocations: 1.829 MB / 0.5051 GB, free: 3.086 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/0.7072, allocations: 1.746 MB / 0.5068 GB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.7075, allocations: 225.9 kB / 0.507 GB, free: 1.066 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001278/0.7088, allocations: 291.9 kB / 0.5073 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.7256, allocations: 6.712 MB / 0.5138 GB, free: 9.68 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-05/0.7257, allocations: 15.88 kB / 0.5139 GB, free: 9.664 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005692/0.7263, allocations: 131.9 kB / 0.514 GB, free: 9.535 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001325/0.7277, allocations: 0.7001 MB / 0.5147 GB, free: 8.828 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/0.7429, allocations: 5.767 MB / 0.5203 GB, free: 3.055 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.291/1.034, allocations: 23.83 MB / 0.5436 GB, free: 102.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005912/1.04, allocations: 2.156 MB / 0.5457 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/1.042, allocations: 0.7929 MB / 0.5465 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/1.052, allocations: 4.008 MB / 0.5504 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/1.052, allocations: 44.16 kB / 0.5504 GB, free: 100.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 4.941e-06/1.052, allocations: 0 / 0.5504 GB, free: 100.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.006733/1.058, allocations: 1.761 MB / 0.5521 GB, free: 100.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/1.059, allocations: 59.12 kB / 0.5522 GB, free: 100.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003348/1.062, allocations: 1.775 MB / 0.5539 GB, free: 99.97 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/1.062, allocations: 39.83 kB / 0.554 GB, free: 99.94 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.063, allocations: 2.014 MB / 0.5559 GB, free: 98.94 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/1.064, allocations: 380.5 kB / 0.5563 GB, free: 98.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/1.064, allocations: 65.34 kB / 0.5563 GB, free: 98.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/1.064, allocations: 452.7 kB / 0.5568 GB, free: 98.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/1.066, allocations: 0.9265 MB / 0.5577 GB, free: 98.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/1.068, allocations: 2.856 MB / 0.5605 GB, free: 95.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00265/1.071, allocations: 1.668 MB / 0.5621 GB, free: 94.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.662e-05/1.071, allocations: 18.88 kB / 0.5621 GB, free: 94.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.006831/1.078, allocations: 3.461 MB / 0.5655 GB, free: 93.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/1.078, allocations: 33.72 kB / 0.5655 GB, free: 93.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.988e-05/1.078, allocations: 73.88 kB / 0.5656 GB, free: 93.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/1.078, allocations: 102.3 kB / 0.5657 GB, free: 93.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/1.081, allocations: 0.7234 MB / 0.5664 GB, free: 93.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001046/1.081, allocations: 139.1 kB / 0.5665 GB, free: 93.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/1.084, allocations: 442.8 kB / 0.567 GB, free: 93.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003402/1.084, allocations: 201.7 kB / 0.5672 GB, free: 93.49 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * 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 (395): * Single equations (assignments): 392 * 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.0004724/1.085, allocations: 356.6 kB / 0.5675 GB, free: 93.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/1.085, allocations: 165.5 kB / 0.5677 GB, free: 93.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/1.087, allocations: 1.217 MB / 0.5688 GB, free: 92.67 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/1.087, allocations: 17.28 kB / 0.5689 GB, free: 92.67 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.084e-06/1.087, allocations: 0 / 0.5689 GB, free: 92.67 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.087, allocations: 7.281 kB / 0.5689 GB, free: 92.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009661/1.097, allocations: 4.989 MB / 0.5737 GB, free: 90.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/1.097, allocations: 10.62 kB / 0.5737 GB, free: 90.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/1.098, allocations: 143.8 kB / 0.5739 GB, free: 90.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/1.098, allocations: 14.81 kB / 0.5739 GB, free: 90.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/1.098, allocations: 31.61 kB / 0.5739 GB, free: 90.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-05/1.098, allocations: 18.97 kB / 0.5739 GB, free: 90.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/1.098, allocations: 14.44 kB / 0.574 GB, free: 90.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/1.101, allocations: 2.292 MB / 0.5762 GB, free: 88.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/1.101, allocations: 280.6 kB / 0.5765 GB, free: 88.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/1.101, allocations: 27.42 kB / 0.5765 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/1.102, allocations: 39.22 kB / 0.5765 GB, free: 88.35 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/1.102, allocations: 79.5 kB / 0.5766 GB, free: 88.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.55e-05/1.103, allocations: 40.23 kB / 0.5766 GB, free: 88.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002185/1.105, allocations: 1.296 MB / 0.5779 GB, free: 87.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.247e-06/1.105, allocations: 0 / 0.5779 GB, free: 87.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003516/1.108, allocations: 0.7726 MB / 0.5787 GB, free: 87.56 MB / 458.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.0003167/1.109, allocations: 161.8 kB / 0.5788 GB, free: 87.44 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003799/1.112, allocations: 2.083 MB / 0.5809 GB, free: 86.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.176e-06/1.113, allocations: 0.9375 kB / 0.5809 GB, free: 86.79 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009235/1.113, allocations: 0.542 MB / 0.5814 GB, free: 86.61 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.115, allocations: 243.3 kB / 0.5816 GB, free: 86.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.125, allocations: 4.975 MB / 0.5865 GB, free: 84.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003327/1.128, allocations: 2.514 MB / 0.5889 GB, free: 83.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/1.129, allocations: 160.8 kB / 0.5891 GB, free: 83.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.585e-06/1.129, allocations: 0 / 0.5891 GB, free: 83.25 MB / 458.7 MB Notification: Performance of Templates: time 0.04843/1.178, allocations: 31.77 MB / 0.6201 GB, free: 62.38 MB / 458.7 MB