Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.571e-05, allocations: 4 kB / 299.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3869, allocations: 54.84 MB / 354.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.923/2.31, allocations: 0.636 GB / 0.9821 GB, free: 74.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/2.31, allocations: 88.72 kB / 0.9822 GB, free: 74.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1/3.41, allocations: 226.9 MB / 1.204 GB, free: 53.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.675e-06/3.41, allocations: 0 / 1.204 GB, free: 53.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.475e-05/3.411, allocations: 23.3 kB / 1.204 GB, free: 53.13 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.0035/3.414, allocations: 1.147 MB / 1.205 GB, free: 51.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/3.414, allocations: 16 kB / 1.205 GB, free: 51.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/3.415, allocations: 143 kB / 1.205 GB, free: 51.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/3.417, allocations: 0.5504 MB / 1.206 GB, free: 51.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/3.417, allocations: 84.72 kB / 1.206 GB, free: 51.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/3.417, allocations: 35.89 kB / 1.206 GB, free: 51.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00124/3.418, allocations: 0.518 MB / 1.206 GB, free: 50.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/3.42, allocations: 0.7246 MB / 1.207 GB, free: 49.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/3.42, allocations: 7.938 kB / 1.207 GB, free: 49.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/3.42, allocations: 4 kB / 1.207 GB, free: 49.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/3.42, allocations: 33.3 kB / 1.207 GB, free: 49.71 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005663/3.426, allocations: 3.866 MB / 1.211 GB, free: 45.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/3.426, allocations: 255 kB / 1.211 GB, free: 45.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/3.426, allocations: 125.3 kB / 1.211 GB, free: 45.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.776e-05/3.426, allocations: 24.95 kB / 1.211 GB, free: 45.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/3.427, allocations: 41.14 kB / 1.211 GB, free: 45.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 2.805e-06/3.427, allocations: 0 / 1.211 GB, free: 45.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.008019/3.435, allocations: 1.415 MB / 1.213 GB, free: 43.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/3.435, allocations: 136.5 kB / 1.213 GB, free: 43.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/3.435, allocations: 476.6 kB / 1.213 GB, free: 43.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.021e-05/3.435, allocations: 25.7 kB / 1.213 GB, free: 43.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/3.436, allocations: 398.7 kB / 1.214 GB, free: 42.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/3.436, allocations: 122.3 kB / 1.214 GB, free: 42.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/3.436, allocations: 0 / 1.214 GB, free: 42.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/3.436, allocations: 366.8 kB / 1.214 GB, free: 42.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/3.436, allocations: 185.5 kB / 1.214 GB, free: 41.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/3.437, allocations: 0.4966 MB / 1.215 GB, free: 41.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009028/3.438, allocations: 335.7 kB / 1.215 GB, free: 40.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/3.438, allocations: 7.953 kB / 1.215 GB, free: 40.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002035/3.44, allocations: 0.8294 MB / 1.216 GB, free: 40.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/3.44, allocations: 11.28 kB / 1.216 GB, free: 40.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/3.44, allocations: 12 kB / 1.216 GB, free: 40.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/3.442, allocations: 261 kB / 1.216 GB, free: 39.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/3.443, allocations: 131.8 kB / 1.216 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/3.444, allocations: 0.9192 MB / 1.217 GB, free: 38.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009368/3.445, allocations: 43.77 kB / 1.217 GB, free: 38.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/3.445, allocations: 67.98 kB / 1.217 GB, free: 38.66 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002019/3.445, allocations: 136.8 kB / 1.217 GB, free: 38.52 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001083/3.446, allocations: 417.6 kB / 1.218 GB, free: 38.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/3.446, allocations: 63.25 kB / 1.218 GB, free: 38.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/3.448, allocations: 0.5081 MB / 1.218 GB, free: 37.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/3.448, allocations: 4 kB / 1.218 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/3.448, allocations: 0 / 1.218 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/3.448, allocations: 3.984 kB / 1.218 GB, free: 37.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/3.45, allocations: 0.9581 MB / 1.219 GB, free: 36.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/3.45, allocations: 4 kB / 1.219 GB, free: 36.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/3.452, allocations: 195.8 kB / 1.219 GB, free: 36.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/3.452, allocations: 20.84 kB / 1.219 GB, free: 36.29 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/3.452, allocations: 16.02 kB / 1.219 GB, free: 36.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/3.454, allocations: 2.589 MB / 1.222 GB, free: 33.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/3.454, allocations: 0 / 1.222 GB, free: 33.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/3.455, allocations: 0.6665 MB / 1.223 GB, free: 32.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/3.455, allocations: 172.4 kB / 1.223 GB, free: 32.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/3.456, allocations: 0 / 1.223 GB, free: 32.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/3.456, allocations: 27.94 kB / 1.223 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/3.456, allocations: 27.97 kB / 1.223 GB, free: 32.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.747e-05/3.457, allocations: 39.94 kB / 1.223 GB, free: 32.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005401/3.457, allocations: 350.9 kB / 1.223 GB, free: 32.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.457, allocations: 0 / 1.223 GB, free: 32.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001627/3.459, allocations: 335.8 kB / 1.224 GB, free: 31.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003868/3.463, allocations: 2.37 MB / 1.226 GB, free: 29.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/3.464, allocations: 487 kB / 1.226 GB, free: 29.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/3.464, allocations: 4 kB / 1.226 GB, free: 29.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/3.465, allocations: 351.1 kB / 1.227 GB, free: 28.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/3.467, allocations: 233.8 kB / 1.227 GB, free: 28.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/3.478, allocations: 2.507 MB / 1.229 GB, free: 25.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/3.478, allocations: 0.9449 MB / 1.23 GB, free: 25.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001573/3.48, allocations: 249.3 kB / 1.23 GB, free: 24.76 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/3.48, allocations: 255.3 kB / 1.231 GB, free: 24.51 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/3.48, allocations: 0 / 1.231 GB, free: 24.51 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4264/3.907, allocations: 25.52 MB / 1.256 GB, free: 94.99 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/3.907, allocations: 189.4 kB / 1.256 GB, free: 94.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/7.354, allocations: 2 kB / 1.256 GB, free: 94.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat