Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.129e-05, allocations: 1.547 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/1.565, allocations: 418.1 MB / 0.7226 GB, free: 90.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003778/1.566, allocations: 87.95 kB / 0.7227 GB, free: 90.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.764/2.33, allocations: 132.1 MB / 0.8517 GB, free: 99.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/2.33, allocations: 2.75 kB / 0.8517 GB, free: 99.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.838e-05/2.33, allocations: 19.84 kB / 0.8517 GB, free: 99.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002329/2.332, allocations: 0.8981 MB / 0.8526 GB, free: 98.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/2.332, allocations: 14 kB / 0.8526 GB, free: 98.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000165/2.333, allocations: 97.88 kB / 0.8527 GB, free: 98.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/2.333, allocations: 93.53 kB / 0.8528 GB, free: 98.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/2.334, allocations: 0.5523 MB / 0.8533 GB, free: 98.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/2.335, allocations: 96.59 kB / 0.8534 GB, free: 98.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/2.335, allocations: 49.56 kB / 0.8535 GB, free: 98.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/2.336, allocations: 0.7941 MB / 0.8543 GB, free: 97.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/2.336, allocations: 2.531 kB / 0.8543 GB, free: 97.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/2.337, allocations: 26.22 kB / 0.8543 GB, free: 97.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.931e-05/2.337, allocations: 44.5 kB / 0.8543 GB, free: 97.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/2.338, allocations: 0.6187 MB / 0.8549 GB, free: 97.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005765/2.344, allocations: 3.647 MB / 0.8585 GB, free: 95.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/2.345, allocations: 388.1 kB / 0.8589 GB, free: 95.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/2.345, allocations: 198.5 kB / 0.8591 GB, free: 95.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002587/2.348, allocations: 1.648 MB / 0.8607 GB, free: 94.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/2.348, allocations: 36.47 kB / 0.8607 GB, free: 94.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 2.655e-06/2.348, allocations: 0 / 0.8607 GB, free: 94.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.003899/2.352, allocations: 1.292 MB / 0.862 GB, free: 94.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/2.352, allocations: 139.4 kB / 0.8621 GB, free: 93.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008379/2.353, allocations: 497.8 kB / 0.8626 GB, free: 93.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/2.353, allocations: 37.39 kB / 0.8626 GB, free: 93.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/2.353, allocations: 374.8 kB / 0.863 GB, free: 93.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/2.353, allocations: 153.1 kB / 0.8631 GB, free: 93.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/2.353, allocations: 15.94 kB / 0.8631 GB, free: 93.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/2.354, allocations: 372 kB / 0.8635 GB, free: 92.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004754/2.354, allocations: 201 kB / 0.8637 GB, free: 92.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/2.355, allocations: 0.5266 MB / 0.8642 GB, free: 92.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/2.355, allocations: 306.9 kB / 0.8645 GB, free: 92.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/2.355, allocations: 3.906 kB / 0.8645 GB, free: 92.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002131/2.358, allocations: 0.8857 MB / 0.8653 GB, free: 91.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/2.358, allocations: 7.562 kB / 0.8654 GB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/2.358, allocations: 11.62 kB / 0.8654 GB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/2.36, allocations: 252.2 kB / 0.8656 GB, free: 91.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/2.36, allocations: 138 kB / 0.8657 GB, free: 91.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/2.362, allocations: 0.8426 MB / 0.8666 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009574/2.362, allocations: 58.3 kB / 0.8666 GB, free: 91.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/2.363, allocations: 38.81 kB / 0.8666 GB, free: 91.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002092/2.363, allocations: 159.7 kB / 0.8668 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/2.363, allocations: 65 kB / 0.8669 GB, free: 90.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/2.365, allocations: 0.7113 MB / 0.8676 GB, free: 90.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/2.365, allocations: 7.812 kB / 0.8676 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/2.365, allocations: 7.859 kB / 0.8676 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/2.365, allocations: 3.656 kB / 0.8676 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/2.367, allocations: 1.322 MB / 0.8689 GB, free: 89.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/2.367, allocations: 4.375 kB / 0.8689 GB, free: 89.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/2.369, allocations: 196.9 kB / 0.8691 GB, free: 89.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/2.369, allocations: 24.23 kB / 0.8691 GB, free: 89.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/2.369, allocations: 15.78 kB / 0.8691 GB, free: 89.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/2.371, allocations: 2.677 MB / 0.8717 GB, free: 87.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/2.371, allocations: 3.625 kB / 0.8717 GB, free: 87.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/2.373, allocations: 0.9984 MB / 0.8727 GB, free: 86.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/2.374, allocations: 207.4 kB / 0.8729 GB, free: 86.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/2.374, allocations: 7.812 kB / 0.8729 GB, free: 86.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007321/2.375, allocations: 26.19 kB / 0.8729 GB, free: 86.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/2.375, allocations: 40.47 kB / 0.873 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/2.375, allocations: 22.44 kB / 0.873 GB, free: 86.21 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006438/2.375, allocations: 392 kB / 0.8734 GB, free: 86.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.375, allocations: 0 / 0.8734 GB, free: 86.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001229/2.377, allocations: 243.6 kB / 0.8736 GB, free: 85.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002705/2.379, allocations: 2.197 MB / 0.8757 GB, free: 84.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/2.381, allocations: 0.572 MB / 0.8763 GB, free: 84.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/2.381, allocations: 3.969 kB / 0.8763 GB, free: 84.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/2.383, allocations: 413.8 kB / 0.8767 GB, free: 83.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/2.385, allocations: 291 kB / 0.877 GB, free: 83.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/2.388, allocations: 1.154 MB / 0.8781 GB, free: 83.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/2.388, allocations: 0.9514 MB / 0.879 GB, free: 82.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001134/2.39, allocations: 205.2 kB / 0.8792 GB, free: 82.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/2.39, allocations: 231.6 kB / 0.8794 GB, free: 82.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/2.39, allocations: 0 / 0.8794 GB, free: 82.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06435/2.454, allocations: 21.15 MB / 0.9001 GB, free: 75.06 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/2.455, allocations: 239.9 kB / 0.9003 GB, free: 74.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.278/5.733, allocations: 3.938 kB / 0.9003 GB, free: 74.72 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat