Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 1.981/1.981, allocations: 209.2 MB / 224.4 MB, free: 1.461 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.698e-05, allocations: 4 kB / 276.1 MB, free: 0 / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 48.7 MB / 324.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.388/0.4979, allocations: 79.66 MB / 404.5 MB, free: 9.262 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05216/0.5501, allocations: 16.76 MB / 421.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02288/0.573, allocations: 431.1 kB / 421.7 MB, free: 8.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02064/0.5938, allocations: 4.293 MB / 426 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05552/0.6493, allocations: 11.44 MB / 437.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009139/0.6585, allocations: 1.225 MB / 438.6 MB, free: 7.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.01512/0.6737, allocations: 3.399 MB / 442 MB, free: 3.621 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01843/0.6922, allocations: 8.322 MB / 450.4 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/0.6969, allocations: 1.672 MB / 452 MB, free: 9.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005636/0.7026, allocations: 2.47 MB / 454.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/0.7064, allocations: 0.8973 MB / 455.4 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00183/0.7083, allocations: 211.9 kB / 455.6 MB, free: 5.988 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005385/0.7137, allocations: 3.008 MB / 458.6 MB, free: 2.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002769/0.7165, allocations: 500 kB / 459.1 MB, free: 2.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01695/0.7335, allocations: 10.06 MB / 469.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7336, allocations: 0 / 469.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.851e-06/0.7336, allocations: 0 / 469.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004773/0.7341, allocations: 3.938 kB / 469.2 MB, free: 8.391 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02616/0.7603, allocations: 7.55 MB / 476.7 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/0.7604, allocations: 20.02 kB / 476.7 MB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02389/0.7843, allocations: 3.074 MB / 479.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01766/0.802, allocations: 5.639 MB / 485.5 MB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007907/0.8029, allocations: 472.1 kB / 485.9 MB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003007/0.8059, allocations: 0.5933 MB / 486.5 MB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05975/0.8657, allocations: 18.86 MB / 0.4935 GB, free: 2.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003798/0.8662, allocations: 71.41 kB / 0.4936 GB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002617/0.8688, allocations: 283.7 kB / 0.4939 GB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5546/1.423, allocations: 3.44 MB / 0.4972 GB, free: 135.3 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05851/1.482, allocations: 14.75 MB / 0.5116 GB, free: 131.6 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1329/1.615, allocations: 70.65 MB / 0.5806 GB, free: 68.68 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0289/1.644, allocations: 6.147 MB / 0.5866 GB, free: 62.39 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03255/1.677, allocations: 10.97 MB / 0.5973 GB, free: 51.04 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/1.677, allocations: 60.56 kB / 0.5974 GB, free: 50.97 MB / 426.8 MB Notification: Performance of pre-optimization done (n=238): time 6.683e-06/1.677, allocations: 3.938 kB / 0.5974 GB, free: 50.96 MB / 426.8 MB Notification: Performance of matching and sorting (n=262): time 0.06914/1.746, allocations: 16.39 MB / 0.6134 GB, free: 34.56 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/1.746, allocations: 158.5 kB / 0.6136 GB, free: 34.37 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01402/1.76, allocations: 6.336 MB / 0.6198 GB, free: 28.05 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005762/1.761, allocations: 63.81 kB / 0.6198 GB, free: 27.99 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0046/1.765, allocations: 5.318 MB / 0.625 GB, free: 22.68 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.767, allocations: 1.011 MB / 0.626 GB, free: 21.67 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008556/1.768, allocations: 178.6 kB / 0.6262 GB, free: 21.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0005509/1.768, allocations: 0.6993 MB / 0.6268 GB, free: 20.79 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007304/1.775, allocations: 2.586 MB / 0.6294 GB, free: 18.2 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/1.786, allocations: 8.24 MB / 0.6374 GB, free: 7.125 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.797, allocations: 4.45 MB / 0.6418 GB, free: 2.672 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001861/1.797, allocations: 56 kB / 0.6418 GB, free: 2.617 MB / 426.8 MB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.03133/1.829, allocations: 10.32 MB / 0.6519 GB, free: 8.305 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001888/1.829, allocations: 92 kB / 0.652 GB, free: 8.215 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003632/1.829, allocations: 207.9 kB / 0.6522 GB, free: 8.012 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004144/1.83, allocations: 296 kB / 0.6525 GB, free: 7.723 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01416/1.844, allocations: 2.109 MB / 0.6545 GB, free: 5.609 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005596/1.844, allocations: 394.6 kB / 0.6549 GB, free: 5.219 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009967/1.854, allocations: 455.4 kB / 0.6553 GB, free: 4.773 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002362/1.857, allocations: 0.5582 MB / 0.6559 GB, free: 4.219 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 920 * 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],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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 (1136): * Single equations (assignments): 1125 * 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.01354/1.87, allocations: 3.555 MB / 0.6593 GB, free: 0.6445 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/1.873, allocations: 0.5668 MB / 0.6599 GB, free: 72 kB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3385/2.211, allocations: 2.779 MB / 0.6626 GB, free: 133.8 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-05/2.211, allocations: 30.36 kB / 0.6626 GB, free: 133.8 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/2.211, allocations: 5.031 kB / 0.6626 GB, free: 133.8 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.923e-05/2.211, allocations: 13.84 kB / 0.6627 GB, free: 133.8 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06291/2.274, allocations: 26.56 MB / 0.6886 GB, free: 124 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001573/2.274, allocations: 54.78 kB / 0.6887 GB, free: 124 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003645/2.278, allocations: 0.5274 MB / 0.6892 GB, free: 124 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.758e-05/2.278, allocations: 77.62 kB / 0.6892 GB, free: 124 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004408/2.279, allocations: 125.1 kB / 0.6894 GB, free: 123.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.201e-05/2.279, allocations: 102 kB / 0.6895 GB, free: 123.9 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.789e-05/2.279, allocations: 86 kB / 0.6895 GB, free: 123.9 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/2.291, allocations: 14.75 MB / 0.7039 GB, free: 109.4 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002253/2.293, allocations: 0.7027 MB / 0.7046 GB, free: 109.3 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/2.295, allocations: 129.2 kB / 0.7048 GB, free: 109.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00514/2.3, allocations: 144.9 kB / 0.7049 GB, free: 109.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009565/2.301, allocations: 352.3 kB / 0.7052 GB, free: 109.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000441/2.302, allocations: 153.7 kB / 0.7054 GB, free: 109.1 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01098/2.313, allocations: 4.476 MB / 0.7097 GB, free: 107.7 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.133e-06/2.313, allocations: 0 / 0.7097 GB, free: 107.7 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01044/2.323, allocations: 1.517 MB / 0.7112 GB, free: 107.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 270 * 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.001256/2.324, allocations: 301.5 kB / 0.7115 GB, free: 107.3 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.01446/2.339, allocations: 6.036 MB / 0.7174 GB, free: 102.6 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-05/2.339, allocations: 11.28 kB / 0.7174 GB, free: 102.6 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003714/2.343, allocations: 1.491 MB / 0.7189 GB, free: 101.3 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007322/2.35, allocations: 0.8606 MB / 0.7197 GB, free: 100.5 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04578/2.396, allocations: 20.92 MB / 0.7402 GB, free: 79.16 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01284/2.409, allocations: 5.735 MB / 0.7458 GB, free: 73.39 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002279/2.411, allocations: 475.4 kB / 0.7462 GB, free: 72.93 MB / 442.8 MB Notification: Performance of SimCode: time 1.713e-06/2.411, allocations: 1.75 kB / 0.7462 GB, free: 72.93 MB / 442.8 MB Notification: Performance of Templates: time 0.4926/2.904, allocations: 91.93 MB / 0.836 GB, free: 132.1 MB / 458.8 MB