Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.109/2.109, allocations: 209.3 MB / 224.4 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.818e-05, allocations: 4 kB / 276.1 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 48.71 MB / 324.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.4361/0.5411, allocations: 105.1 MB / 429.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07787/0.6191, allocations: 21.57 MB / 451.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02876/0.6479, allocations: 0.5418 MB / 452 MB, free: 9.703 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02576/0.6737, allocations: 5.654 MB / 457.7 MB, free: 4.023 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0716/0.7454, allocations: 14.9 MB / 472.6 MB, free: 5.078 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009879/0.7553, allocations: 1.365 MB / 474 MB, free: 3.711 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01212/0.7675, allocations: 3.929 MB / 477.9 MB, free: 15.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02311/0.7906, allocations: 10.36 MB / 488.2 MB, free: 5.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005421/0.7961, allocations: 1.964 MB / 490.2 MB, free: 3.391 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006912/0.8031, allocations: 3.039 MB / 493.2 MB, free: 352 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00444/0.8076, allocations: 0.9481 MB / 494.2 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002624/0.8102, allocations: 263.9 kB / 494.5 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007406/0.8177, allocations: 3.748 MB / 498.2 MB, free: 11.38 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004374/0.8221, allocations: 0.6055 MB / 498.8 MB, free: 10.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.7334/1.556, allocations: 13.12 MB / 0.4999 GB, free: 17.55 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.556, allocations: 1.531 kB / 0.4999 GB, free: 17.55 MB / 426.8 MB Notification: Performance of FrontEnd: time 4.368e-06/1.556, allocations: 0.875 kB / 0.4999 GB, free: 17.55 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0006525/1.556, allocations: 0 / 0.4999 GB, free: 17.55 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03246/1.589, allocations: 9.211 MB / 0.5089 GB, free: 13.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.589, allocations: 8.875 kB / 0.5089 GB, free: 13.86 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02723/1.616, allocations: 3.479 MB / 0.5123 GB, free: 13.18 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/1.637, allocations: 6.389 MB / 0.5186 GB, free: 12.17 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009656/1.638, allocations: 0.5942 MB / 0.5192 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004483/1.643, allocations: 0.7641 MB / 0.5199 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07473/1.718, allocations: 24.63 MB / 0.5439 GB, free: 8.477 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005829/1.718, allocations: 78.67 kB / 0.544 GB, free: 8.473 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004377/1.723, allocations: 364 kB / 0.5444 GB, free: 8.473 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01165/1.734, allocations: 4.547 MB / 0.5488 GB, free: 7.574 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06711/1.801, allocations: 19.38 MB / 0.5677 GB, free: 12.58 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1866/1.988, allocations: 85.94 MB / 0.6517 GB, free: 5.098 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03874/2.027, allocations: 7.778 MB / 0.6593 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04214/2.069, allocations: 13.27 MB / 0.6722 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.964e-05/2.069, allocations: 86.42 kB / 0.6723 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=336): time 7.985e-06/2.069, allocations: 0 / 0.6723 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=360): time 0.3958/2.465, allocations: 21.08 MB / 0.6929 GB, free: 235.6 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/2.465, allocations: 166.5 kB / 0.693 GB, free: 235.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02013/2.485, allocations: 7.004 MB / 0.6999 GB, free: 234.3 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0008132/2.486, allocations: 79.84 kB / 0.7 GB, free: 234.2 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.005608/2.492, allocations: 6.536 MB / 0.7063 GB, free: 230 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001991/2.494, allocations: 1.353 MB / 0.7077 GB, free: 229 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/2.495, allocations: 218.3 kB / 0.7079 GB, free: 228.9 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.000824/2.496, allocations: 0.7795 MB / 0.7086 GB, free: 228.4 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01016/2.506, allocations: 3.229 MB / 0.7118 GB, free: 227.4 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01446/2.521, allocations: 9.778 MB / 0.7213 GB, free: 217.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/2.535, allocations: 5.431 MB / 0.7266 GB, free: 215.5 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002197/2.535, allocations: 70.12 kB / 0.7267 GB, free: 215.5 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.03336/2.568, allocations: 12.5 MB / 0.7389 GB, free: 210.7 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/2.568, allocations: 106.8 kB / 0.739 GB, free: 210.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003554/2.569, allocations: 229.5 kB / 0.7392 GB, free: 210.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/2.569, allocations: 341.8 kB / 0.7396 GB, free: 210.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01585/2.585, allocations: 2.548 MB / 0.742 GB, free: 210.4 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004681/2.586, allocations: 464.5 kB / 0.7425 GB, free: 210.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/2.597, allocations: 0.5123 MB / 0.743 GB, free: 210.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001984/2.599, allocations: 0.6565 MB / 0.7436 GB, free: 209.4 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1374): * Single equations (assignments): 1363 * 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.61, allocations: 4.454 MB / 0.748 GB, free: 205.5 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/2.612, allocations: 0.6594 MB / 0.7486 GB, free: 204.9 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01303/2.625, allocations: 4.089 MB / 0.7526 GB, free: 201.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/2.625, allocations: 43.78 kB / 0.7527 GB, free: 201.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/2.625, allocations: 0 / 0.7527 GB, free: 201.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.121e-05/2.625, allocations: 19.19 kB / 0.7527 GB, free: 201.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09951/2.724, allocations: 49.26 MB / 0.8008 GB, free: 151.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000216/2.725, allocations: 76 kB / 0.8009 GB, free: 151.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005536/2.73, allocations: 0.7525 MB / 0.8016 GB, free: 151 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/2.73, allocations: 108 kB / 0.8017 GB, free: 150.9 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007654/2.731, allocations: 164 kB / 0.8019 GB, free: 150.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001288/2.731, allocations: 144.8 kB / 0.802 GB, free: 150.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.958e-05/2.731, allocations: 115.5 kB / 0.8021 GB, free: 150.5 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01692/2.748, allocations: 21.73 MB / 0.8233 GB, free: 125.6 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/2.751, allocations: 0.8085 MB / 0.8241 GB, free: 124.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002838/2.754, allocations: 173.2 kB / 0.8243 GB, free: 124.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006796/2.761, allocations: 219.9 kB / 0.8245 GB, free: 124.4 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/2.762, allocations: 482 kB / 0.825 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005308/2.763, allocations: 217.3 kB / 0.8252 GB, free: 123.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01111/2.774, allocations: 4.928 MB / 0.83 GB, free: 118.8 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7.81e-07/2.774, allocations: 0 / 0.83 GB, free: 118.8 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01301/2.787, allocations: 1.895 MB / 0.8318 GB, free: 116.9 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (380): * Single equations (assignments): 377 * 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.001535/2.789, allocations: 373.1 kB / 0.8322 GB, free: 116.6 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01909/2.808, allocations: 7.649 MB / 0.8396 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 6.374e-05/2.808, allocations: 12 kB / 0.8397 GB, free: 108.9 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005545/2.813, allocations: 2.139 MB / 0.8417 GB, free: 106.8 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008913/2.822, allocations: 1.027 MB / 0.8427 GB, free: 105.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06495/2.887, allocations: 27.02 MB / 0.8691 GB, free: 77.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02433/2.912, allocations: 7.131 MB / 0.8761 GB, free: 70.52 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004818/2.917, allocations: 0.5892 MB / 0.8767 GB, free: 69.93 MB / 0.5262 GB Notification: Performance of SimCode: time 2.354e-06/2.917, allocations: 3.172 kB / 0.8767 GB, free: 69.93 MB / 0.5262 GB Notification: Performance of Templates: time 0.5505/3.467, allocations: 114.1 MB / 0.9881 GB, free: 177.3 MB / 0.5262 GB