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.2_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.959e-05, allocations: 8 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3961, allocations: 54.85 MB / 362.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.1293/0.5255, allocations: 80.45 MB / 443.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04945/0.575, allocations: 16.9 MB / 460.2 MB, free: 12.16 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01997/0.5951, allocations: 435 kB / 460.6 MB, free: 11.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01449/0.6096, allocations: 4.305 MB / 465 MB, free: 7.414 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0491/0.6588, allocations: 11.5 MB / 476.4 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01012/0.669, allocations: 1.213 MB / 477.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01502/0.684, allocations: 3.463 MB / 481.1 MB, free: 7.199 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02121/0.7053, allocations: 8.38 MB / 489.5 MB, free: 14.76 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004387/0.7098, allocations: 1.715 MB / 491.2 MB, free: 13.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005597/0.7154, allocations: 2.556 MB / 493.8 MB, free: 10.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003734/0.7192, allocations: 0.8973 MB / 494.7 MB, free: 9.582 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002118/0.7214, allocations: 216 kB / 494.9 MB, free: 9.371 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005604/0.727, allocations: 3.109 MB / 498 MB, free: 6.254 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00263/0.7297, allocations: 0.5 MB / 498.5 MB, free: 5.754 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.4114/1.141, allocations: 10.46 MB / 0.497 GB, free: 11.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.141, allocations: 0 / 0.497 GB, free: 11.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.141, allocations: 3.625 kB / 0.497 GB, free: 11.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005911/1.142, allocations: 0 / 0.497 GB, free: 11.98 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.02695/1.169, allocations: 7.776 MB / 0.5046 GB, free: 8.852 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.169, allocations: 7.781 kB / 0.5046 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.023/1.192, allocations: 3.126 MB / 0.5077 GB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01755/1.209, allocations: 5.735 MB / 0.5133 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007777/1.21, allocations: 488.4 kB / 0.5138 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004586/1.215, allocations: 0.6064 MB / 0.5143 GB, free: 7.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05764/1.273, allocations: 19.62 MB / 0.5335 GB, free: 3.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004223/1.273, allocations: 75.94 kB / 0.5336 GB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003861/1.277, allocations: 294.1 kB / 0.5339 GB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009494/1.286, allocations: 3.643 MB / 0.5374 GB, free: 2.758 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05379/1.34, allocations: 15.31 MB / 0.5524 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1558/1.496, allocations: 73.21 MB / 0.6239 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03007/1.526, allocations: 6.116 MB / 0.6298 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03564/1.562, allocations: 11.31 MB / 0.6409 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.099e-05/1.562, allocations: 71.67 kB / 0.6409 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=250): time 1.625e-05/1.562, allocations: 3.984 kB / 0.6409 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=274): time 0.07903/1.641, allocations: 16.87 MB / 0.6574 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/1.641, allocations: 162.1 kB / 0.6576 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01621/1.658, allocations: 6.436 MB / 0.6639 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006877/1.658, allocations: 66.95 kB / 0.6639 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.006713/1.665, allocations: 5.735 MB / 0.6695 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001886/1.667, allocations: 1.059 MB / 0.6706 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/1.668, allocations: 182.3 kB / 0.6707 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008423/1.669, allocations: 0.7069 MB / 0.6714 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009255/1.678, allocations: 2.7 MB / 0.6741 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01494/1.693, allocations: 8.532 MB / 0.6824 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01327/1.707, allocations: 4.628 MB / 0.6869 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000207/1.707, allocations: 64 kB / 0.687 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.04605/1.753, allocations: 10.93 MB / 0.6976 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002947/1.753, allocations: 92.94 kB / 0.6977 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000569/1.754, allocations: 208 kB / 0.6979 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/1.755, allocations: 308.7 kB / 0.6982 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.022/1.777, allocations: 2.176 MB / 0.7003 GB, free: 4.453 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007682/1.777, allocations: 412.7 kB / 0.7007 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01646/1.794, allocations: 461 kB / 0.7012 GB, free: 3.691 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003022/1.797, allocations: 0.5703 MB / 0.7017 GB, free: 3.121 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * 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 (1176): * Single equations (assignments): 1165 * Array equations: 11 * 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.3846/2.182, allocations: 3.685 MB / 0.7053 GB, free: 234.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001605/2.183, allocations: 0.5838 MB / 0.7059 GB, free: 234.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009539/2.193, allocations: 2.992 MB / 0.7088 GB, free: 234.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.511e-05/2.193, allocations: 29.34 kB / 0.7089 GB, free: 234.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/2.193, allocations: 0 / 0.7089 GB, free: 234.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.812e-05/2.193, allocations: 15.72 kB / 0.7089 GB, free: 234.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05549/2.249, allocations: 25.14 MB / 0.7334 GB, free: 225.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001404/2.249, allocations: 63.16 kB / 0.7335 GB, free: 225.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003967/2.253, allocations: 0.6127 MB / 0.7341 GB, free: 225.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.961e-05/2.253, allocations: 94.31 kB / 0.7342 GB, free: 225.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005499/2.253, allocations: 140.9 kB / 0.7343 GB, free: 225 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.402e-05/2.254, allocations: 128.8 kB / 0.7344 GB, free: 225 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-05/2.254, allocations: 98.19 kB / 0.7345 GB, free: 225 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/2.267, allocations: 17.36 MB / 0.7515 GB, free: 207 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/2.269, allocations: 0.7348 MB / 0.7522 GB, free: 206.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00216/2.272, allocations: 145.2 kB / 0.7523 GB, free: 206.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005007/2.277, allocations: 166.1 kB / 0.7525 GB, free: 206.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008175/2.277, allocations: 424.1 kB / 0.7529 GB, free: 205.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003153/2.278, allocations: 168 kB / 0.7531 GB, free: 205.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01034/2.288, allocations: 4.554 MB / 0.7575 GB, free: 202 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.31e-07/2.288, allocations: 0 / 0.7575 GB, free: 202 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01101/2.299, allocations: 1.575 MB / 0.759 GB, free: 200.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (326): * Single equations (assignments): 323 * 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.001164/2.3, allocations: 328.6 kB / 0.7594 GB, free: 200.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01438/2.315, allocations: 6.334 MB / 0.7655 GB, free: 194.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-05/2.315, allocations: 12 kB / 0.7656 GB, free: 194.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003818/2.319, allocations: 1.639 MB / 0.7672 GB, free: 193.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006967/2.326, allocations: 0.9115 MB / 0.768 GB, free: 192.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04288/2.369, allocations: 21.25 MB / 0.7888 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01237/2.381, allocations: 5.954 MB / 0.7946 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01753/2.399, allocations: 2.898 MB / 0.7974 GB, free: 162 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003125/2.402, allocations: 435.4 kB / 0.7979 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of SimCode: time 2.345e-06/2.402, allocations: 0 / 0.7979 GB, free: 161.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.1597/2.562, allocations: 48.61 MB / 0.8453 GB, free: 113.1 MB / 0.5573 GB