Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.855e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 44.5 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.591/1.914, allocations: 0.5854 GB / 0.8727 GB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.914, allocations: 90.19 kB / 0.8728 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7654/2.68, allocations: 151.6 MB / 1.021 GB, free: 40.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.884e-06/2.68, allocations: 0 / 1.021 GB, free: 40.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/2.68, allocations: 8 kB / 1.021 GB, free: 40.37 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001261/2.681, allocations: 0.5928 MB / 1.021 GB, free: 39.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/2.681, allocations: 12.03 kB / 1.021 GB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/2.681, allocations: 43.66 kB / 1.021 GB, free: 39.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004948/2.682, allocations: 274.5 kB / 1.022 GB, free: 39.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/2.682, allocations: 8 kB / 1.022 GB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/2.682, allocations: 16 kB / 1.022 GB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004442/2.683, allocations: 177.1 kB / 1.022 GB, free: 39.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/2.683, allocations: 270.6 kB / 1.022 GB, free: 38.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/2.683, allocations: 0 / 1.022 GB, free: 38.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/2.683, allocations: 7.953 kB / 1.022 GB, free: 38.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/2.683, allocations: 7.938 kB / 1.022 GB, free: 38.86 MB / 410.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.002438/2.686, allocations: 1.548 MB / 1.024 GB, free: 37.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/2.686, allocations: 139.8 kB / 1.024 GB, free: 37.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/2.686, allocations: 76.86 kB / 1.024 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/2.686, allocations: 4 kB / 1.024 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/2.686, allocations: 42.83 kB / 1.024 GB, free: 36.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.005e-06/2.686, allocations: 0 / 1.024 GB, free: 36.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.006808/2.693, allocations: 0.9997 MB / 1.025 GB, free: 35.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/2.693, allocations: 55.41 kB / 1.025 GB, free: 35.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/2.693, allocations: 199.9 kB / 1.025 GB, free: 35.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/2.694, allocations: 25.7 kB / 1.025 GB, free: 35.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.824e-05/2.694, allocations: 183.8 kB / 1.025 GB, free: 35.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.17e-05/2.694, allocations: 90.73 kB / 1.025 GB, free: 35.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/2.694, allocations: 3.938 kB / 1.025 GB, free: 35.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.58e-05/2.694, allocations: 334.8 kB / 1.026 GB, free: 34.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/2.694, allocations: 80 kB / 1.026 GB, free: 34.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/2.694, allocations: 167.8 kB / 1.026 GB, free: 34.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/2.695, allocations: 115.9 kB / 1.026 GB, free: 34.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.695, allocations: 0 / 1.026 GB, free: 34.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008896/2.696, allocations: 362.7 kB / 1.026 GB, free: 34.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/2.696, allocations: 11.75 kB / 1.026 GB, free: 34.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/2.696, allocations: 4 kB / 1.026 GB, free: 34.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002957/2.696, allocations: 66.09 kB / 1.027 GB, free: 34.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/2.697, allocations: 87.83 kB / 1.027 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/2.698, allocations: 1.809 MB / 1.028 GB, free: 32.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004647/2.698, allocations: 15.89 kB / 1.028 GB, free: 32.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.436e-05/2.699, allocations: 40 kB / 1.028 GB, free: 31.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001532/2.699, allocations: 117 kB / 1.029 GB, free: 31.85 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006518/2.699, allocations: 255.1 kB / 1.029 GB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/2.699, allocations: 27.77 kB / 1.029 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/2.701, allocations: 360.3 kB / 1.029 GB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/2.701, allocations: 4 kB / 1.029 GB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/2.701, allocations: 0 / 1.029 GB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005664/2.701, allocations: 0.5357 MB / 1.03 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/2.703, allocations: 0.6651 MB / 1.03 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/2.703, allocations: 0 / 1.03 GB, free: 29.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/2.703, allocations: 67.91 kB / 1.03 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/2.703, allocations: 24.84 kB / 1.03 GB, free: 29.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/2.703, allocations: 7.984 kB / 1.03 GB, free: 29.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008427/2.704, allocations: 1.24 MB / 1.032 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/2.704, allocations: 4.031 kB / 1.032 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/2.705, allocations: 468.9 kB / 1.032 GB, free: 27.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/2.705, allocations: 104.8 kB / 1.032 GB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.361e-05/2.705, allocations: 0 / 1.032 GB, free: 27.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/2.706, allocations: 19.98 kB / 1.032 GB, free: 27.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/2.706, allocations: 23.97 kB / 1.032 GB, free: 27.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/2.706, allocations: 35.92 kB / 1.032 GB, free: 27.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001886/2.706, allocations: 156.5 kB / 1.032 GB, free: 27.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.2e-07/2.706, allocations: 0 / 1.032 GB, free: 27.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001026/2.707, allocations: 160 kB / 1.033 GB, free: 27.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00278/2.71, allocations: 1.959 MB / 1.034 GB, free: 25.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009035/2.711, allocations: 337.6 kB / 1.035 GB, free: 25.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/2.711, allocations: 0 / 1.035 GB, free: 25.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/2.711, allocations: 214.6 kB / 1.035 GB, free: 24.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/2.713, allocations: 120.3 kB / 1.035 GB, free: 24.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/2.715, allocations: 0.5437 MB / 1.036 GB, free: 24.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/2.715, allocations: 0.7718 MB / 1.036 GB, free: 23.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009564/2.716, allocations: 111.2 kB / 1.037 GB, free: 23.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/2.716, allocations: 123.4 kB / 1.037 GB, free: 23.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/2.716, allocations: 0 / 1.037 GB, free: 23.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/2.79, allocations: 15.24 MB / 1.052 GB, free: 7.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/2.79, allocations: 149.9 kB / 1.052 GB, free: 7.648 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/5.873, allocations: 11.88 kB / 1.052 GB, free: 7.637 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat