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.961/1.961, allocations: 209.3 MB / 223.8 MB, free: 1.379 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.878e-05, allocations: 7.984 kB / 276.2 MB, free: 15.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1289, allocations: 48.7 MB / 324.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4019/0.5308, allocations: 80.44 MB / 405.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05411/0.585, allocations: 16.86 MB / 422.2 MB, free: 7.148 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02184/0.6069, allocations: 435 kB / 422.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01566/0.6226, allocations: 4.301 MB / 426.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04675/0.6694, allocations: 11.5 MB / 438.4 MB, free: 6.871 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009343/0.6788, allocations: 1.225 MB / 439.6 MB, free: 5.645 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0151/0.694, allocations: 3.48 MB / 443.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02742/0.7214, allocations: 8.382 MB / 451.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007009/0.7285, allocations: 1.718 MB / 453.2 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009045/0.7376, allocations: 2.552 MB / 455.8 MB, free: 5.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005655/0.7434, allocations: 0.9051 MB / 456.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003085/0.7465, allocations: 216 kB / 456.9 MB, free: 4.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007968/0.7545, allocations: 3.098 MB / 460 MB, free: 1.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004052/0.7587, allocations: 0.5039 MB / 460.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02083/0.7796, allocations: 10.47 MB / 470.9 MB, free: 6.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7796, allocations: 0 / 470.9 MB, free: 6.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.7797, allocations: 4 kB / 470.9 MB, free: 6.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000512/0.7802, allocations: 0 / 470.9 MB, free: 6.227 MB / 394.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.02571/0.8059, allocations: 7.787 MB / 478.7 MB, free: 14.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.806, allocations: 8.031 kB / 478.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02259/0.8286, allocations: 3.128 MB / 481.9 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01652/0.8452, allocations: 5.721 MB / 487.6 MB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006509/0.8459, allocations: 488.4 kB / 488.1 MB, free: 4.922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002881/0.8488, allocations: 0.6167 MB / 488.7 MB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7566/1.605, allocations: 19.61 MB / 0.4964 GB, free: 46.66 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000689/1.606, allocations: 75.53 kB / 0.4964 GB, free: 46.66 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003354/1.61, allocations: 295.8 kB / 0.4967 GB, free: 46.66 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01654/1.626, allocations: 3.64 MB / 0.5003 GB, free: 46.65 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07191/1.698, allocations: 15.3 MB / 0.5152 GB, free: 46.58 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1303/1.828, allocations: 73.21 MB / 0.5867 GB, free: 14.23 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02986/1.858, allocations: 6.119 MB / 0.5927 GB, free: 9.215 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03401/1.892, allocations: 11.31 MB / 0.6037 GB, free: 15.88 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.456e-05/1.893, allocations: 59.22 kB / 0.6038 GB, free: 15.83 MB / 458.8 MB Notification: Performance of pre-optimization done (n=250): time 7.243e-06/1.893, allocations: 5.406 kB / 0.6038 GB, free: 15.82 MB / 458.8 MB Notification: Performance of matching and sorting (n=274): time 0.07815/1.971, allocations: 16.87 MB / 0.6203 GB, free: 0.8477 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.971, allocations: 157.5 kB / 0.6204 GB, free: 0.6641 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/1.985, allocations: 6.439 MB / 0.6267 GB, free: 11.82 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005412/1.986, allocations: 66.14 kB / 0.6268 GB, free: 11.78 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00591/1.992, allocations: 5.735 MB / 0.6324 GB, free: 7.207 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001671/1.993, allocations: 1.058 MB / 0.6334 GB, free: 6.328 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006879/1.994, allocations: 182 kB / 0.6336 GB, free: 6.293 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006578/1.995, allocations: 0.7024 MB / 0.6343 GB, free: 5.734 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007855/2.003, allocations: 2.701 MB / 0.6369 GB, free: 3.84 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/2.017, allocations: 8.531 MB / 0.6452 GB, free: 8.848 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01233/2.029, allocations: 4.632 MB / 0.6498 GB, free: 4.406 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001566/2.029, allocations: 64 kB / 0.6498 GB, free: 4.344 MB / 490.8 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.03204/2.061, allocations: 10.94 MB / 0.6605 GB, free: 10.65 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001919/2.061, allocations: 99.95 kB / 0.6606 GB, free: 10.55 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004041/2.062, allocations: 208 kB / 0.6608 GB, free: 10.35 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004162/2.062, allocations: 304.8 kB / 0.6611 GB, free: 10.05 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/2.077, allocations: 2.182 MB / 0.6632 GB, free: 8.062 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005743/2.078, allocations: 403 kB / 0.6636 GB, free: 7.754 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009912/2.087, allocations: 465.2 kB / 0.6641 GB, free: 7.301 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00192/2.089, allocations: 0.573 MB / 0.6646 GB, free: 6.73 MB / 0.4949 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.01056/2.1, allocations: 3.687 MB / 0.6682 GB, free: 3.223 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001603/2.102, allocations: 0.59 MB / 0.6688 GB, free: 2.625 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009999/2.112, allocations: 2.985 MB / 0.6717 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.228e-05/2.112, allocations: 32.55 kB / 0.6717 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/2.112, allocations: 0 / 0.6717 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.92e-05/2.112, allocations: 11.95 kB / 0.6718 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3672/2.479, allocations: 25.14 MB / 0.6963 GB, free: 203.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000207/2.479, allocations: 64.53 kB / 0.6964 GB, free: 203.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004455/2.484, allocations: 0.6128 MB / 0.697 GB, free: 203.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/2.484, allocations: 92.12 kB / 0.6971 GB, free: 203.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005936/2.485, allocations: 140.7 kB / 0.6972 GB, free: 203.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001456/2.485, allocations: 123.7 kB / 0.6973 GB, free: 203.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.813e-05/2.485, allocations: 103 kB / 0.6974 GB, free: 203.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/2.501, allocations: 17.36 MB / 0.7144 GB, free: 186 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002549/2.503, allocations: 0.7397 MB / 0.7151 GB, free: 185.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002262/2.506, allocations: 145.2 kB / 0.7152 GB, free: 185.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005286/2.511, allocations: 161.9 kB / 0.7154 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/2.512, allocations: 415.3 kB / 0.7158 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004954/2.513, allocations: 174.7 kB / 0.7159 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01243/2.525, allocations: 4.552 MB / 0.7204 GB, free: 184.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.112e-06/2.525, allocations: 7.844 kB / 0.7204 GB, free: 184.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0121/2.537, allocations: 1.573 MB / 0.7219 GB, free: 183.9 MB / 0.5105 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.00138/2.539, allocations: 333.4 kB / 0.7222 GB, free: 183.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01491/2.554, allocations: 6.338 MB / 0.7284 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.431e-05/2.554, allocations: 7.656 kB / 0.7284 GB, free: 181.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004838/2.559, allocations: 1.637 MB / 0.73 GB, free: 181.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009986/2.569, allocations: 0.9045 MB / 0.7309 GB, free: 180.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05465/2.623, allocations: 21.24 MB / 0.7517 GB, free: 168.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/2.637, allocations: 5.963 MB / 0.7575 GB, free: 164 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01406/2.651, allocations: 2.893 MB / 0.7603 GB, free: 162.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/2.653, allocations: 426.9 kB / 0.7607 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/2.653, allocations: 0 / 0.7607 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1566/2.809, allocations: 48.61 MB / 0.8082 GB, free: 113.4 MB / 0.5105 GB