Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.682e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5446, allocations: 89.23 MB / 411.1 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.545, allocations: 82.72 kB / 411.2 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2303/0.7754, allocations: 55.08 MB / 466.3 MB, free: 9.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7754, allocations: 0 / 466.3 MB, free: 9.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000148/0.7756, allocations: 52 kB / 466.3 MB, free: 8.988 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01005/0.7856, allocations: 2.621 MB / 468.9 MB, free: 6.309 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.7857, allocations: 8.031 kB / 468.9 MB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002515/0.7883, allocations: 0.544 MB / 469.5 MB, free: 5.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.8026, allocations: 1.821 MB / 471.3 MB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006316/0.809, allocations: 1.715 MB / 473 MB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.8094, allocations: 217.7 kB / 473.2 MB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/0.8112, allocations: 283.9 kB / 473.5 MB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.8328, allocations: 6.539 MB / 480 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.8329, allocations: 19.86 kB / 480.1 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001146/0.8341, allocations: 131.9 kB / 480.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00166/0.8358, allocations: 0.6765 MB / 480.9 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.8543, allocations: 5.642 MB / 486.5 MB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3385/1.193, allocations: 23.01 MB / 0.4976 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007504/1.2, allocations: 2.216 MB / 0.4997 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/1.202, allocations: 0.7603 MB / 0.5005 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/1.214, allocations: 3.767 MB / 0.5042 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/1.214, allocations: 46.73 kB / 0.5042 GB, free: 99.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 5.04e-06/1.214, allocations: 0 / 0.5042 GB, free: 99.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.009073/1.223, allocations: 1.712 MB / 0.5059 GB, free: 99.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/1.223, allocations: 64.25 kB / 0.5059 GB, free: 99.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004118/1.227, allocations: 1.745 MB / 0.5076 GB, free: 99.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001683/1.227, allocations: 35.45 kB / 0.5077 GB, free: 99.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001696/1.229, allocations: 1.962 MB / 0.5096 GB, free: 98.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005633/1.23, allocations: 366.6 kB / 0.5099 GB, free: 97.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002455/1.23, allocations: 60.62 kB / 0.51 GB, free: 97.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002526/1.23, allocations: 449.2 kB / 0.5104 GB, free: 97.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/1.232, allocations: 0.9002 MB / 0.5113 GB, free: 97.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003474/1.236, allocations: 2.789 MB / 0.514 GB, free: 95.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/1.24, allocations: 1.618 MB / 0.5156 GB, free: 95.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.678e-05/1.24, allocations: 19.12 kB / 0.5156 GB, free: 95.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009582/1.25, allocations: 3.372 MB / 0.5189 GB, free: 94.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.578e-05/1.25, allocations: 33 kB / 0.519 GB, free: 94.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.973e-05/1.25, allocations: 71.56 kB / 0.519 GB, free: 94.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/1.25, allocations: 99.25 kB / 0.5191 GB, free: 94.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004008/1.254, allocations: 0.7042 MB / 0.5198 GB, free: 94.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001124/1.254, allocations: 131.5 kB / 0.5199 GB, free: 94.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/1.257, allocations: 440.5 kB / 0.5203 GB, free: 94.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004376/1.258, allocations: 190 kB / 0.5205 GB, free: 94.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * 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 (385): * Single equations (assignments): 382 * 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 prepare postOptimizeDAE: time 0.0005309/1.258, allocations: 350.7 kB / 0.5209 GB, free: 94.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/1.259, allocations: 166.1 kB / 0.521 GB, free: 94.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/1.261, allocations: 1.167 MB / 0.5222 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.215e-05/1.261, allocations: 10.91 kB / 0.5222 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/1.261, allocations: 0 / 0.5222 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/1.261, allocations: 3.703 kB / 0.5222 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.273, allocations: 4.94 MB / 0.527 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.527e-05/1.273, allocations: 10.97 kB / 0.527 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.274, allocations: 140.2 kB / 0.5271 GB, free: 93.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/1.275, allocations: 14.19 kB / 0.5272 GB, free: 93.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/1.275, allocations: 25.5 kB / 0.5272 GB, free: 93.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/1.275, allocations: 25.27 kB / 0.5272 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/1.275, allocations: 12.12 kB / 0.5272 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00264/1.277, allocations: 2.163 MB / 0.5293 GB, free: 92.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/1.278, allocations: 272.9 kB / 0.5296 GB, free: 91.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/1.278, allocations: 34.05 kB / 0.5296 GB, free: 91.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.279, allocations: 38.39 kB / 0.5297 GB, free: 91.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.279, allocations: 72.47 kB / 0.5297 GB, free: 91.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.354e-05/1.28, allocations: 36.12 kB / 0.5298 GB, free: 91.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00257/1.282, allocations: 1.277 MB / 0.531 GB, free: 91.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.282, allocations: 0 / 0.531 GB, free: 91.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004015/1.286, allocations: 0.7484 MB / 0.5317 GB, free: 91.02 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.003525/1.29, allocations: 5.233 MB / 0.5368 GB, free: 86.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004582/1.294, allocations: 2.022 MB / 0.5388 GB, free: 85.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/1.294, allocations: 3.938 kB / 0.5388 GB, free: 85.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.296, allocations: 0.516 MB / 0.5393 GB, free: 85.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.297, allocations: 242 kB / 0.5396 GB, free: 85.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.314, allocations: 5.699 MB / 0.5451 GB, free: 83.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/1.317, allocations: 2.463 MB / 0.5475 GB, free: 82.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002166/1.319, allocations: 1.137 MB / 0.5486 GB, free: 81.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/1.319, allocations: 0 / 0.5486 GB, free: 81.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.258/4.577, allocations: 47.06 MB / 0.5946 GB, free: 50.06 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat