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.928/1.928, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.061e-05/4.084e-05, allocations: 3.984 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.449/0.5581, allocations: 89.22 MB / 411.1 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5585, allocations: 75.97 kB / 411.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2347/0.7933, allocations: 55.09 MB / 466.2 MB, free: 9.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7933, allocations: 0 / 466.2 MB, free: 9.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001859/0.7935, allocations: 52 kB / 466.3 MB, free: 9.098 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.01006/0.8036, allocations: 2.609 MB / 468.9 MB, free: 6.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.8037, allocations: 12.03 kB / 468.9 MB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002631/0.8063, allocations: 0.5401 MB / 469.4 MB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/0.8206, allocations: 1.829 MB / 471.3 MB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006466/0.8271, allocations: 1.723 MB / 473 MB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003427/0.8275, allocations: 217.7 kB / 473.2 MB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001736/0.8292, allocations: 283.9 kB / 473.5 MB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02205/0.8513, allocations: 6.574 MB / 480 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.8515, allocations: 15.81 kB / 480.1 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.8527, allocations: 131.9 kB / 480.2 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001674/0.8544, allocations: 0.6727 MB / 480.9 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0186/0.873, allocations: 5.724 MB / 486.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3367/1.21, allocations: 23.01 MB / 0.4977 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007611/1.217, allocations: 2.225 MB / 0.4998 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/1.219, allocations: 0.7589 MB / 0.5006 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/1.231, allocations: 3.764 MB / 0.5042 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/1.231, allocations: 46 kB / 0.5043 GB, free: 100.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 4.689e-06/1.231, allocations: 0 / 0.5043 GB, free: 100.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.008626/1.24, allocations: 1.715 MB / 0.506 GB, free: 100 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/1.24, allocations: 59.16 kB / 0.506 GB, free: 99.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00411/1.244, allocations: 1.749 MB / 0.5077 GB, free: 99.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001723/1.244, allocations: 36.14 kB / 0.5078 GB, free: 99.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.246, allocations: 1.959 MB / 0.5097 GB, free: 98.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005362/1.246, allocations: 365.4 kB / 0.51 GB, free: 98.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/1.247, allocations: 60.19 kB / 0.5101 GB, free: 98.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002575/1.247, allocations: 452.3 kB / 0.5105 GB, free: 98.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/1.249, allocations: 0.902 MB / 0.5114 GB, free: 98.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003425/1.253, allocations: 2.804 MB / 0.5141 GB, free: 95.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003691/1.256, allocations: 1.618 MB / 0.5157 GB, free: 95.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.508e-05/1.257, allocations: 20.09 kB / 0.5157 GB, free: 95.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009353/1.266, allocations: 3.561 MB / 0.5192 GB, free: 95.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/1.266, allocations: 33 kB / 0.5192 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/1.266, allocations: 78.67 kB / 0.5193 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/1.266, allocations: 103.5 kB / 0.5194 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/1.27, allocations: 0.701 MB / 0.5201 GB, free: 95.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/1.27, allocations: 133.2 kB / 0.5202 GB, free: 95.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/1.273, allocations: 437.4 kB / 0.5206 GB, free: 95.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004009/1.274, allocations: 191.9 kB / 0.5208 GB, free: 95.25 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.0005115/1.274, allocations: 352.3 kB / 0.5212 GB, free: 95.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/1.275, allocations: 169.6 kB / 0.5213 GB, free: 94.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/1.277, allocations: 1.164 MB / 0.5225 GB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/1.277, allocations: 12.62 kB / 0.5225 GB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.277, allocations: 0 / 0.5225 GB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/1.277, allocations: 3.844 kB / 0.5225 GB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/1.289, allocations: 4.963 MB / 0.5273 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.289, allocations: 11.12 kB / 0.5273 GB, free: 94.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/1.29, allocations: 134.1 kB / 0.5275 GB, free: 94.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/1.29, allocations: 14.28 kB / 0.5275 GB, free: 94.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/1.29, allocations: 26.12 kB / 0.5275 GB, free: 94.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/1.29, allocations: 18.09 kB / 0.5275 GB, free: 94.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/1.29, allocations: 13.78 kB / 0.5275 GB, free: 94.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/1.293, allocations: 2.168 MB / 0.5296 GB, free: 92.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/1.293, allocations: 275.2 kB / 0.5299 GB, free: 92.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/1.294, allocations: 28.81 kB / 0.5299 GB, free: 92.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/1.295, allocations: 41.33 kB / 0.53 GB, free: 92.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/1.295, allocations: 76.55 kB / 0.5301 GB, free: 92.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-05/1.295, allocations: 37.25 kB / 0.5301 GB, free: 92.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002494/1.297, allocations: 1.275 MB / 0.5313 GB, free: 91.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.297, allocations: 0 / 0.5313 GB, free: 91.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003549/1.301, allocations: 0.7472 MB / 0.5321 GB, free: 91.37 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.003319/1.304, allocations: 5.229 MB / 0.5372 GB, free: 86.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004383/1.309, allocations: 2.125 MB / 0.5392 GB, free: 86.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.309, allocations: 0 / 0.5392 GB, free: 86.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009819/1.31, allocations: 0.5345 MB / 0.5398 GB, free: 85.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/1.311, allocations: 230.6 kB / 0.54 GB, free: 85.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.325, allocations: 5.73 MB / 0.5456 GB, free: 83.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003102/1.328, allocations: 2.457 MB / 0.548 GB, free: 82.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/1.331, allocations: 1.141 MB / 0.5491 GB, free: 81.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/1.331, allocations: 0 / 0.5491 GB, free: 81.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.377/4.708, allocations: 47.58 MB / 0.5956 GB, free: 49.84 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