Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.402e-05, allocations: 0 / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4004, allocations: 54.85 MB / 359.8 MB, free: 2.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.5851, allocations: 95.83 MB / 455.7 MB, free: 1.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.5855, allocations: 73.03 kB / 455.7 MB, free: 1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2315/0.817, allocations: 55.11 MB / 0.4989 GB, free: 9.547 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.518e-06/0.817, allocations: 3.984 kB / 0.4989 GB, free: 9.543 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001528/0.8172, allocations: 56 kB / 0.4989 GB, free: 9.488 MB / 442.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.009653/0.8269, allocations: 2.605 MB / 0.5015 GB, free: 6.828 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.964e-05/0.8269, allocations: 12.03 kB / 0.5015 GB, free: 6.816 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002258/0.8292, allocations: 0.5479 MB / 0.502 GB, free: 6.258 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.8437, allocations: 1.817 MB / 0.5038 GB, free: 4.434 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006363/0.8501, allocations: 1.715 MB / 0.5055 GB, free: 2.668 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.8505, allocations: 221.7 kB / 0.5057 GB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001613/0.8521, allocations: 283.9 kB / 0.506 GB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01977/0.8719, allocations: 6.543 MB / 0.5124 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.967e-05/0.8721, allocations: 19.81 kB / 0.5124 GB, free: 11.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006509/0.8727, allocations: 131.9 kB / 0.5125 GB, free: 11.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001544/0.8743, allocations: 0.6727 MB / 0.5132 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01889/0.8932, allocations: 5.63 MB / 0.5187 GB, free: 4.781 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3982/1.291, allocations: 23.02 MB / 0.5411 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00769/1.299, allocations: 2.21 MB / 0.5433 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/1.301, allocations: 0.7637 MB / 0.544 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/1.313, allocations: 3.759 MB / 0.5477 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/1.313, allocations: 42.56 kB / 0.5478 GB, free: 101.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 4.438e-06/1.314, allocations: 0 / 0.5478 GB, free: 101.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.009103/1.323, allocations: 1.723 MB / 0.5494 GB, free: 101.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/1.323, allocations: 58.84 kB / 0.5495 GB, free: 101.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/1.327, allocations: 1.749 MB / 0.5512 GB, free: 101 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/1.327, allocations: 38.67 kB / 0.5512 GB, free: 101 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/1.329, allocations: 1.96 MB / 0.5532 GB, free: 100 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005957/1.329, allocations: 361.2 kB / 0.5535 GB, free: 99.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/1.33, allocations: 59.53 kB / 0.5536 GB, free: 99.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002563/1.33, allocations: 447.7 kB / 0.554 GB, free: 99.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/1.332, allocations: 0.8956 MB / 0.5549 GB, free: 99.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003954/1.336, allocations: 2.793 MB / 0.5576 GB, free: 97.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/1.34, allocations: 1.62 MB / 0.5592 GB, free: 97.01 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-05/1.341, allocations: 23.12 kB / 0.5592 GB, free: 97.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009228/1.35, allocations: 3.368 MB / 0.5625 GB, free: 96.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/1.35, allocations: 39.08 kB / 0.5625 GB, free: 96.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.179e-05/1.35, allocations: 69.06 kB / 0.5626 GB, free: 96.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001263/1.35, allocations: 101.2 kB / 0.5627 GB, free: 96.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004214/1.354, allocations: 0.7063 MB / 0.5634 GB, free: 96.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001365/1.355, allocations: 134.1 kB / 0.5635 GB, free: 96.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/1.358, allocations: 430.3 kB / 0.5639 GB, free: 95.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006834/1.359, allocations: 195 kB / 0.5641 GB, free: 95.73 MB / 458.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.0006026/1.36, allocations: 345.6 kB / 0.5644 GB, free: 95.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003649/1.36, allocations: 168 kB / 0.5646 GB, free: 95.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/1.363, allocations: 1.164 MB / 0.5657 GB, free: 94.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/1.363, allocations: 11.81 kB / 0.5657 GB, free: 94.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.363, allocations: 6.953 kB / 0.5657 GB, free: 94.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.363, allocations: 7.328 kB / 0.5657 GB, free: 94.94 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.375, allocations: 4.934 MB / 0.5706 GB, free: 92.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/1.375, allocations: 10.94 kB / 0.5706 GB, free: 92.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/1.377, allocations: 138.6 kB / 0.5707 GB, free: 92.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.322e-05/1.377, allocations: 15.16 kB / 0.5707 GB, free: 92.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-05/1.377, allocations: 28.09 kB / 0.5707 GB, free: 92.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.818e-05/1.377, allocations: 17.25 kB / 0.5708 GB, free: 92.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/1.377, allocations: 13.88 kB / 0.5708 GB, free: 92.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/1.38, allocations: 2.158 MB / 0.5729 GB, free: 91.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/1.38, allocations: 283.5 kB / 0.5732 GB, free: 90.82 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/1.381, allocations: 22.97 kB / 0.5732 GB, free: 90.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.382, allocations: 39.19 kB / 0.5732 GB, free: 90.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.382, allocations: 76 kB / 0.5733 GB, free: 90.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/1.382, allocations: 39.94 kB / 0.5733 GB, free: 90.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002921/1.385, allocations: 1.276 MB / 0.5746 GB, free: 90.27 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.373e-06/1.385, allocations: 0 / 0.5746 GB, free: 90.27 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00413/1.389, allocations: 0.7478 MB / 0.5753 GB, free: 90.04 MB / 458.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.003698/1.393, allocations: 5.235 MB / 0.5804 GB, free: 85.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004705/1.398, allocations: 2.021 MB / 0.5824 GB, free: 84.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/1.398, allocations: 4.125 kB / 0.5824 GB, free: 84.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.399, allocations: 0.5198 MB / 0.5829 GB, free: 84.55 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.401, allocations: 240.1 kB / 0.5831 GB, free: 84.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/1.419, allocations: 5.705 MB / 0.5887 GB, free: 82.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004643/1.423, allocations: 2.455 MB / 0.5911 GB, free: 81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002648/1.426, allocations: 1.139 MB / 0.5922 GB, free: 80.08 MB / 458.7 MB Notification: Performance of SimCode: time 1.813e-06/1.426, allocations: 0 / 0.5922 GB, free: 80.08 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.495/4.921, allocations: 47.08 MB / 0.6382 GB, free: 44.32 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat