Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 235 MB / 247.2 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.482e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4021, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.674, allocations: 424.5 MB / 0.766 GB, free: 124.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004111/1.675, allocations: 95.19 kB / 0.7661 GB, free: 124.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.477/2.152, allocations: 132.1 MB / 0.8951 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/2.152, allocations: 4 kB / 0.8951 GB, free: 2.246 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.267e-05/2.152, allocations: 12 kB / 0.8952 GB, free: 2.234 MB / 490.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.002268/2.154, allocations: 0.9002 MB / 0.896 GB, free: 1.289 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/2.154, allocations: 8.25 kB / 0.896 GB, free: 1.281 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001489/2.154, allocations: 98.5 kB / 0.8961 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/2.155, allocations: 95 kB / 0.8962 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/2.156, allocations: 0.5483 MB / 0.8968 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/2.156, allocations: 100.4 kB / 0.8969 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/2.156, allocations: 48 kB / 0.8969 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3116/2.468, allocations: 0.7822 MB / 0.8977 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/2.468, allocations: 7.406 kB / 0.8977 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/2.468, allocations: 22.55 kB / 0.8977 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/2.468, allocations: 43.41 kB / 0.8977 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/2.47, allocations: 0.6053 MB / 0.8983 GB, free: 112.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006935/2.477, allocations: 3.643 MB / 0.9019 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/2.478, allocations: 378.7 kB / 0.9023 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/2.479, allocations: 200.8 kB / 0.9024 GB, free: 110.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/2.482, allocations: 1.645 MB / 0.904 GB, free: 109.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/2.482, allocations: 37.84 kB / 0.9041 GB, free: 109.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 3.176e-06/2.482, allocations: 2.297 kB / 0.9041 GB, free: 109.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.004321/2.486, allocations: 1.282 MB / 0.9053 GB, free: 108.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/2.486, allocations: 137.6 kB / 0.9055 GB, free: 108.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/2.487, allocations: 499.5 kB / 0.9059 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/2.488, allocations: 32.8 kB / 0.906 GB, free: 108.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/2.488, allocations: 375.2 kB / 0.9063 GB, free: 108.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/2.488, allocations: 155.9 kB / 0.9065 GB, free: 108.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.046e-05/2.488, allocations: 17.12 kB / 0.9065 GB, free: 108.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/2.488, allocations: 374.6 kB / 0.9069 GB, free: 107.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/2.489, allocations: 202.1 kB / 0.9071 GB, free: 107.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/2.49, allocations: 0.5261 MB / 0.9076 GB, free: 107.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007335/2.49, allocations: 302.5 kB / 0.9079 GB, free: 107.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/2.49, allocations: 3.906 kB / 0.9079 GB, free: 107.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002507/2.493, allocations: 0.8412 MB / 0.9087 GB, free: 107.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/2.493, allocations: 16.53 kB / 0.9087 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/2.493, allocations: 10.78 kB / 0.9087 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002151/2.495, allocations: 253.8 kB / 0.9089 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009393/2.496, allocations: 136.3 kB / 0.9091 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/2.498, allocations: 0.8338 MB / 0.9099 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/2.499, allocations: 56.55 kB / 0.9099 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/2.499, allocations: 40.22 kB / 0.91 GB, free: 106.8 MB / 490.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.0002683/2.499, allocations: 157.6 kB / 0.9101 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/2.499, allocations: 64.95 kB / 0.9102 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/2.501, allocations: 0.715 MB / 0.9109 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/2.501, allocations: 5.844 kB / 0.9109 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/2.501, allocations: 0 / 0.9109 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/2.501, allocations: 3.719 kB / 0.9109 GB, free: 106.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/2.505, allocations: 1.323 MB / 0.9122 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/2.505, allocations: 2.016 kB / 0.9122 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/2.507, allocations: 203.4 kB / 0.9124 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001437/2.507, allocations: 25.08 kB / 0.9124 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/2.507, allocations: 14.89 kB / 0.9124 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/2.51, allocations: 2.673 MB / 0.915 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/2.51, allocations: 5.031 kB / 0.915 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/2.512, allocations: 0.9988 MB / 0.916 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/2.512, allocations: 193.1 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/2.513, allocations: 12.5 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007775/2.513, allocations: 36.14 kB / 0.9162 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/2.514, allocations: 35.23 kB / 0.9163 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/2.514, allocations: 25.64 kB / 0.9163 GB, free: 102.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007577/2.514, allocations: 395.1 kB / 0.9167 GB, free: 102.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.514, allocations: 0.9375 kB / 0.9167 GB, free: 102.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001553/2.516, allocations: 232.6 kB / 0.9169 GB, free: 102.8 MB / 490.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.003078/2.519, allocations: 2.219 MB / 0.9191 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002024/2.521, allocations: 0.5453 MB / 0.9196 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/2.521, allocations: 0 / 0.9196 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/2.523, allocations: 410.5 kB / 0.92 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/2.526, allocations: 290.1 kB / 0.9203 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/2.53, allocations: 1.149 MB / 0.9214 GB, free: 101 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/2.53, allocations: 0.9492 MB / 0.9223 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001398/2.532, allocations: 203.3 kB / 0.9225 GB, free: 100.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/2.532, allocations: 232.9 kB / 0.9227 GB, free: 100.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.463e-06/2.532, allocations: 1.375 kB / 0.9227 GB, free: 100.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06579/2.598, allocations: 21.15 MB / 0.9434 GB, free: 99.27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/2.598, allocations: 242.6 kB / 0.9436 GB, free: 98.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.423/6.022, allocations: 11.44 kB / 0.9436 GB, free: 98.92 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat