Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.487e-05, allocations: 7.984 kB / 273.1 MB, free: 3.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.08874, allocations: 48.69 MB / 321.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/0.4504, allocations: 92.08 MB / 413.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.4507, allocations: 73.52 kB / 413.9 MB, free: 2.918 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8857/1.336, allocations: 166.2 MB / 0.5666 GB, free: 71.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.823e-06/1.336, allocations: 0 / 0.5666 GB, free: 71.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006695/1.337, allocations: 163.9 kB / 0.5667 GB, free: 71.13 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03192/1.369, allocations: 7.972 MB / 0.5745 GB, free: 68.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.369, allocations: 11.44 kB / 0.5745 GB, free: 68.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02342/1.393, allocations: 3.676 MB / 0.5781 GB, free: 67.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03529/1.428, allocations: 9.675 MB / 0.5875 GB, free: 66.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001195/1.429, allocations: 0.6251 MB / 0.5882 GB, free: 66.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00523/1.434, allocations: 0.8296 MB / 0.589 GB, free: 66.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06432/1.499, allocations: 19.28 MB / 0.6078 GB, free: 60.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000377/1.499, allocations: 92.69 kB / 0.6079 GB, free: 60.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002816/1.502, allocations: 400.3 kB / 0.6083 GB, free: 59.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003576/1.506, allocations: 1.86 MB / 0.6101 GB, free: 59.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03803/1.544, allocations: 14.75 MB / 0.6245 GB, free: 48.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4197/1.964, allocations: 81.53 MB / 0.7041 GB, free: 44.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/1.986, allocations: 5.894 MB / 0.7099 GB, free: 44.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00554/1.991, allocations: 2.477 MB / 0.7123 GB, free: 44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03365/2.025, allocations: 11.33 MB / 0.7233 GB, free: 41.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.017e-05/2.025, allocations: 57.97 kB / 0.7234 GB, free: 40.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 1.302e-05/2.025, allocations: 0 / 0.7234 GB, free: 40.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=274): time 0.07074/2.096, allocations: 14.98 MB / 0.738 GB, free: 36.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/2.096, allocations: 159.8 kB / 0.7382 GB, free: 36.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/2.109, allocations: 5.833 MB / 0.7439 GB, free: 35.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004713/2.109, allocations: 68.75 kB / 0.7439 GB, free: 35.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004325/2.113, allocations: 5.804 MB / 0.7496 GB, free: 32.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/2.115, allocations: 1.052 MB / 0.7506 GB, free: 31.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008235/2.116, allocations: 183.8 kB / 0.7508 GB, free: 31.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006565/2.116, allocations: 0.6945 MB / 0.7515 GB, free: 31.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005775/2.122, allocations: 2.481 MB / 0.7539 GB, free: 31.56 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008712/2.131, allocations: 8.198 MB / 0.7619 GB, free: 24.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008586/2.139, allocations: 4.462 MB / 0.7663 GB, free: 24.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001868/2.14, allocations: 60.84 kB / 0.7663 GB, free: 24.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02384/2.163, allocations: 9.855 MB / 0.776 GB, free: 22.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/2.164, allocations: 92.94 kB / 0.7761 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/2.164, allocations: 204 kB / 0.7762 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/2.164, allocations: 302.1 kB / 0.7765 GB, free: 22.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009978/2.174, allocations: 2.252 MB / 0.7787 GB, free: 22.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000361/2.175, allocations: 401.2 kB / 0.7791 GB, free: 22.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01027/2.185, allocations: 0.6207 MB / 0.7797 GB, free: 22.07 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001757/2.187, allocations: 0.5536 MB / 0.7803 GB, free: 22 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1168): * Single equations (assignments): 1165 * 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.001969/2.189, allocations: 0.8338 MB / 0.7811 GB, free: 21.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/2.19, allocations: 0.5909 MB / 0.7817 GB, free: 20.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006402/2.196, allocations: 2.919 MB / 0.7845 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.228e-05/2.196, allocations: 30.42 kB / 0.7845 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/2.196, allocations: 6.281 kB / 0.7845 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/2.197, allocations: 13.91 kB / 0.7846 GB, free: 19.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0499/2.246, allocations: 24.6 MB / 0.8086 GB, free: 5.852 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001835/2.247, allocations: 64.56 kB / 0.8086 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002948/2.25, allocations: 0.6005 MB / 0.8092 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/2.25, allocations: 88 kB / 0.8093 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004132/2.25, allocations: 134.2 kB / 0.8094 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001236/2.25, allocations: 121.3 kB / 0.8095 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001072/2.25, allocations: 100.6 kB / 0.8096 GB, free: 4.848 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/2.267, allocations: 16.85 MB / 0.8261 GB, free: 1.973 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/2.269, allocations: 0.7151 MB / 0.8268 GB, free: 1.266 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001762/2.271, allocations: 148.3 kB / 0.8269 GB, free: 1.137 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005/2.276, allocations: 208.6 kB / 0.8271 GB, free: 0.9727 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009442/2.277, allocations: 414.1 kB / 0.8275 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004011/2.277, allocations: 179.6 kB / 0.8277 GB, free: 484 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.02748/2.305, allocations: 5.024 MB / 0.8326 GB, free: 15.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.305, allocations: 0 / 0.8326 GB, free: 15.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01169/2.317, allocations: 1.549 MB / 0.8341 GB, free: 13.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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.001045/2.318, allocations: 308.8 kB / 0.8344 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01383/2.332, allocations: 5.664 MB / 0.84 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.973e-05/2.332, allocations: 13.5 kB / 0.84 GB, free: 8.105 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003736/2.335, allocations: 1.497 MB / 0.8414 GB, free: 6.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006579/2.342, allocations: 0.9137 MB / 0.8423 GB, free: 5.992 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04487/2.387, allocations: 14.76 MB / 0.8567 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02203/2.409, allocations: 5.958 MB / 0.8626 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.02041/2.429, allocations: 2.891 MB / 0.8654 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002726/2.432, allocations: 413.9 kB / 0.8658 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of SimCode: time 6.307e-06/2.432, allocations: 4 kB / 0.8658 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of Templates: time 0.4768/2.909, allocations: 47.15 MB / 0.9118 GB, free: 136.5 MB / 0.5105 GB