Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadModel(ModelicaTest): time 2.439/2.439, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.119e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3737, allocations: 54.86 MB / 362.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.0475/0.4213, allocations: 30.45 MB / 393.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.4415, allocations: 6.691 MB / 400 MB, free: 8.621 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007253/0.4488, allocations: 151.7 kB / 400.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005841/0.4547, allocations: 1.633 MB / 401.8 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0165/0.4712, allocations: 4.398 MB / 406.2 MB, free: 2.422 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.4736, allocations: 243.6 kB / 406.4 MB, free: 2.184 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.477, allocations: 0.9785 MB / 407.4 MB, free: 1.203 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005783/0.4829, allocations: 2.699 MB / 410.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009338/0.4839, allocations: 454.8 kB / 410.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.4853, allocations: 0.7012 MB / 411.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.4867, allocations: 0.5032 MB / 411.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000507/0.4873, allocations: 76 kB / 411.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.4885, allocations: 0.9194 MB / 412.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.4891, allocations: 152 kB / 412.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005549/0.4947, allocations: 3.628 MB / 416.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4947, allocations: 0 / 416.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.4948, allocations: 0 / 416.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001493/0.4949, allocations: 0 / 416.5 MB, free: 8.02 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.007572/0.5025, allocations: 2.578 MB / 419.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.5026, allocations: 8.031 kB / 419.1 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/0.5144, allocations: 1.927 MB / 421 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/0.5187, allocations: 1.362 MB / 422.4 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.519, allocations: 159.9 kB / 422.5 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.5201, allocations: 195.9 kB / 422.7 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01788/0.538, allocations: 6.799 MB / 429.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-05/0.5381, allocations: 11.88 kB / 429.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004481/0.5386, allocations: 91.89 kB / 429.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004261/0.5428, allocations: 1.474 MB / 431.1 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0189/0.5618, allocations: 5.829 MB / 436.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04735/0.6092, allocations: 21.53 MB / 458.5 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008181/0.6174, allocations: 2.256 MB / 460.7 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.6294, allocations: 3.771 MB / 464.5 MB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.6295, allocations: 43.12 kB / 464.5 MB, free: 6.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 5.26e-06/0.6295, allocations: 0 / 464.5 MB, free: 6.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.0111/0.6406, allocations: 2.441 MB / 467 MB, free: 4.156 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.6407, allocations: 59.97 kB / 467 MB, free: 4.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/0.6455, allocations: 1.779 MB / 468.8 MB, free: 2.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.6457, allocations: 37.7 kB / 468.8 MB, free: 2.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.6478, allocations: 1.967 MB / 470.8 MB, free: 276 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006722/0.6486, allocations: 363.3 kB / 471.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.6488, allocations: 60 kB / 471.2 MB, free: 15.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000398/0.6493, allocations: 453.8 kB / 471.7 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.652, allocations: 0.9509 MB / 472.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004721/0.6568, allocations: 2.88 MB / 475.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004445/0.6613, allocations: 1.658 MB / 477.2 MB, free: 8.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.658e-05/0.6614, allocations: 20 kB / 477.2 MB, free: 8.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.0106/0.6721, allocations: 3.687 MB / 480.9 MB, free: 5.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.315e-05/0.6722, allocations: 37.62 kB / 480.9 MB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.6723, allocations: 71.94 kB / 481 MB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.6725, allocations: 100 kB / 481.1 MB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004428/0.6769, allocations: 0.7135 MB / 481.8 MB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001691/0.6771, allocations: 127.5 kB / 481.9 MB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/0.6805, allocations: 455.1 kB / 482.3 MB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005678/0.6811, allocations: 196 kB / 482.5 MB, free: 3.547 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (388): * Single equations (assignments): 383 * Array equations: 5 * 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.003445/0.6845, allocations: 1.392 MB / 483.9 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004294/0.685, allocations: 165.8 kB / 484.1 MB, free: 1.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.6883, allocations: 1.196 MB / 485.3 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.6883, allocations: 15.98 kB / 485.3 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6884, allocations: 0 / 485.3 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.6884, allocations: 3.984 kB / 485.3 MB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.702, allocations: 4.962 MB / 490.3 MB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/0.7021, allocations: 8 kB / 490.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.7032, allocations: 131.8 kB / 490.4 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/0.7032, allocations: 12 kB / 490.4 MB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.665e-05/0.7033, allocations: 27.98 kB / 490.4 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.328e-05/0.7034, allocations: 20.45 kB / 490.5 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.52e-05/0.7034, allocations: 19.94 kB / 490.5 MB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/0.7071, allocations: 2.177 MB / 492.7 MB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006802/0.7078, allocations: 282.4 kB / 492.9 MB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/0.7082, allocations: 20 kB / 493 MB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.7094, allocations: 39.88 kB / 493 MB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.7096, allocations: 67.78 kB / 493.1 MB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.7097, allocations: 43.92 kB / 493.1 MB, free: 8.289 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003188/0.7129, allocations: 1.292 MB / 494.4 MB, free: 6.973 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.713, allocations: 4 kB / 494.4 MB, free: 6.969 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003863/0.7169, allocations: 0.7388 MB / 495.1 MB, free: 6.227 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.0005219/0.7174, allocations: 153.9 kB / 495.3 MB, free: 6.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005914/0.7234, allocations: 2.201 MB / 497.5 MB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/0.7234, allocations: 4 kB / 497.5 MB, free: 3.883 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.7248, allocations: 0.5332 MB / 498 MB, free: 3.348 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.7266, allocations: 234.7 kB / 498.3 MB, free: 3.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3196/1.046, allocations: 7.018 MB / 0.4934 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00521/1.051, allocations: 2.461 MB / 0.4958 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008054/1.052, allocations: 164.5 kB / 0.496 GB, free: 120.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.893e-06/1.052, allocations: 0 / 0.496 GB, free: 120.1 MB / 426.7 MB Notification: Performance of Templates: time 0.06343/1.116, allocations: 31.36 MB / 0.5266 GB, free: 94.69 MB / 426.7 MB