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_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.376e-05/4.407e-05, allocations: 0 / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08795, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4138/0.5018, allocations: 89.35 MB / 411.1 MB, free: 4.188 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/0.5022, allocations: 73.52 kB / 411.2 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2174/0.7196, allocations: 56.87 MB / 468.1 MB, free: 4.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.941e-06/0.7197, allocations: 0 / 468.1 MB, free: 4.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001551/0.7199, allocations: 56 kB / 468.1 MB, free: 4.168 MB / 362.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.008507/0.7284, allocations: 2.661 MB / 470.8 MB, free: 1.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.7284, allocations: 8.031 kB / 470.8 MB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.7392, allocations: 1.837 MB / 472.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005333/0.7445, allocations: 1.746 MB / 474.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.7449, allocations: 221.9 kB / 474.6 MB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.7464, allocations: 299.9 kB / 474.9 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01822/0.7646, allocations: 6.701 MB / 481.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.98e-05/0.7648, allocations: 19.81 kB / 481.6 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008704/0.7656, allocations: 139.9 kB / 481.7 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/0.767, allocations: 0.6962 MB / 482.4 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/0.7825, allocations: 5.763 MB / 488.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04323/0.8258, allocations: 23.83 MB / 0.5 GB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006284/0.8321, allocations: 2.157 MB / 0.5021 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.8339, allocations: 0.797 MB / 0.5029 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.8442, allocations: 4.007 MB / 0.5068 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.8443, allocations: 43.34 kB / 0.5069 GB, free: 15.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.963e-06/0.8443, allocations: 0 / 0.5069 GB, free: 15.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.007293/0.8516, allocations: 1.766 MB / 0.5086 GB, free: 14.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.8517, allocations: 64.19 kB / 0.5087 GB, free: 13.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/0.8554, allocations: 1.772 MB / 0.5104 GB, free: 12.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.8556, allocations: 45.69 kB / 0.5104 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001911/0.8575, allocations: 1.991 MB / 0.5124 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005291/0.8581, allocations: 375.2 kB / 0.5127 GB, free: 9.723 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.8583, allocations: 60 kB / 0.5128 GB, free: 9.664 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005079/0.8588, allocations: 0.4977 MB / 0.5133 GB, free: 9.156 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/0.8609, allocations: 0.9239 MB / 0.5142 GB, free: 8.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00405/0.8649, allocations: 2.859 MB / 0.517 GB, free: 4.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.8684, allocations: 1.665 MB / 0.5186 GB, free: 2.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.913e-05/0.8685, allocations: 23.94 kB / 0.5186 GB, free: 2.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.2383/1.107, allocations: 3.507 MB / 0.522 GB, free: 109.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.878e-05/1.107, allocations: 38.42 kB / 0.5221 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.369e-05/1.107, allocations: 69.19 kB / 0.5221 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/1.107, allocations: 101.9 kB / 0.5222 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/1.11, allocations: 0.7227 MB / 0.5229 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001645/1.111, allocations: 137.5 kB / 0.5231 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/1.114, allocations: 439.9 kB / 0.5235 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/1.114, allocations: 201.6 kB / 0.5237 GB, free: 109.9 MB / 426.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.000518/1.114, allocations: 353.8 kB / 0.524 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/1.115, allocations: 169.8 kB / 0.5242 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/1.117, allocations: 1.228 MB / 0.5254 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/1.117, allocations: 10.91 kB / 0.5254 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.427e-06/1.117, allocations: 0 / 0.5254 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.117, allocations: 11.31 kB / 0.5254 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.128, allocations: 4.984 MB / 0.5303 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/1.128, allocations: 8.938 kB / 0.5303 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/1.129, allocations: 141.4 kB / 0.5304 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-05/1.129, allocations: 14.16 kB / 0.5304 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.774e-05/1.129, allocations: 29.88 kB / 0.5305 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.362e-05/1.129, allocations: 22.88 kB / 0.5305 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.697e-05/1.129, allocations: 17.94 kB / 0.5305 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/1.132, allocations: 2.29 MB / 0.5327 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/1.132, allocations: 280.7 kB / 0.533 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/1.133, allocations: 30.36 kB / 0.533 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/1.133, allocations: 34.53 kB / 0.5331 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.134, allocations: 78.38 kB / 0.5331 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.134, allocations: 43.17 kB / 0.5332 GB, free: 107.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002707/1.136, allocations: 1.295 MB / 0.5344 GB, free: 107 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.87e-07/1.136, allocations: 0 / 0.5344 GB, free: 107 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003992/1.14, allocations: 0.7707 MB / 0.5352 GB, free: 106.9 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.0004046/1.141, allocations: 156.4 kB / 0.5353 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004323/1.145, allocations: 2.092 MB / 0.5374 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.145, allocations: 0 / 0.5374 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009982/1.146, allocations: 0.5396 MB / 0.5379 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/1.148, allocations: 246 kB / 0.5382 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/1.158, allocations: 4.636 MB / 0.5427 GB, free: 105.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003527/1.162, allocations: 2.506 MB / 0.5451 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003363/1.165, allocations: 1.037 MB / 0.5461 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/1.166, allocations: 135.1 kB / 0.5463 GB, free: 104.8 MB / 426.7 MB Notification: Performance of SimCode: time 2.597e-06/1.166, allocations: 3.625 kB / 0.5463 GB, free: 104.8 MB / 426.7 MB Notification: Performance of Templates: time 0.04637/1.212, allocations: 14.76 MB / 0.5607 GB, free: 104.1 MB / 426.7 MB