Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.438e-05, allocations: 0 / 299.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.375, allocations: 54.86 MB / 354.4 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.825/2.2, allocations: 0.636 GB / 0.9821 GB, free: 55.12 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/2.201, allocations: 92.31 kB / 0.9821 GB, free: 55.08 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117/3.317, allocations: 226.9 MB / 1.204 GB, free: 34.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.685e-06/3.317, allocations: 4.188 kB / 1.204 GB, free: 34.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.382e-05/3.317, allocations: 28.3 kB / 1.204 GB, free: 34.63 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.003829/3.321, allocations: 1.15 MB / 1.205 GB, free: 33.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/3.321, allocations: 12.02 kB / 1.205 GB, free: 33.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/3.322, allocations: 142.9 kB / 1.205 GB, free: 33.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/3.324, allocations: 0.5507 MB / 1.206 GB, free: 32.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/3.324, allocations: 84.72 kB / 1.206 GB, free: 32.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/3.324, allocations: 31.98 kB / 1.206 GB, free: 32.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001274/3.326, allocations: 0.5218 MB / 1.206 GB, free: 32.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/3.327, allocations: 0.7168 MB / 1.207 GB, free: 31.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/3.327, allocations: 11.94 kB / 1.207 GB, free: 31.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-05/3.327, allocations: 0 / 1.207 GB, free: 31.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.968e-05/3.327, allocations: 45.25 kB / 1.207 GB, free: 31.19 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.005825/3.333, allocations: 3.87 MB / 1.211 GB, free: 27.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/3.334, allocations: 251.1 kB / 1.211 GB, free: 26.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/3.334, allocations: 133.2 kB / 1.211 GB, free: 26.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/3.334, allocations: 21.02 kB / 1.211 GB, free: 26.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/3.334, allocations: 34.8 kB / 1.211 GB, free: 26.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.787e-06/3.334, allocations: 0 / 1.211 GB, free: 26.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.008315/3.343, allocations: 1.419 MB / 1.213 GB, free: 25.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/3.343, allocations: 132.5 kB / 1.213 GB, free: 24.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007322/3.343, allocations: 482 kB / 1.213 GB, free: 24.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/3.343, allocations: 25.7 kB / 1.213 GB, free: 24.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/3.344, allocations: 406.7 kB / 1.214 GB, free: 24.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/3.344, allocations: 118.3 kB / 1.214 GB, free: 23.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/3.344, allocations: 0 / 1.214 GB, free: 23.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/3.344, allocations: 362.8 kB / 1.214 GB, free: 23.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/3.344, allocations: 181.5 kB / 1.214 GB, free: 23.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005605/3.345, allocations: 0.5122 MB / 1.215 GB, free: 22.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009292/3.346, allocations: 327.4 kB / 1.215 GB, free: 22.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/3.346, allocations: 4 kB / 1.215 GB, free: 22.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002093/3.348, allocations: 0.8257 MB / 1.216 GB, free: 21.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/3.348, allocations: 16.16 kB / 1.216 GB, free: 21.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/3.348, allocations: 12 kB / 1.216 GB, free: 21.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/3.35, allocations: 260.6 kB / 1.216 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/3.351, allocations: 135.7 kB / 1.216 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/3.352, allocations: 0.9129 MB / 1.217 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/3.353, allocations: 39.89 kB / 1.217 GB, free: 20.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/3.353, allocations: 71.98 kB / 1.217 GB, free: 20.1 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.0002202/3.354, allocations: 128.7 kB / 1.217 GB, free: 19.96 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001202/3.355, allocations: 433.5 kB / 1.218 GB, free: 19.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/3.355, allocations: 63.34 kB / 1.218 GB, free: 19.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/3.356, allocations: 0.4966 MB / 1.218 GB, free: 18.96 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/3.357, allocations: 7.984 kB / 1.218 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/3.357, allocations: 0 / 1.218 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/3.357, allocations: 0 / 1.218 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/3.359, allocations: 0.957 MB / 1.219 GB, free: 17.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/3.359, allocations: 0 / 1.219 GB, free: 17.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/3.36, allocations: 203.8 kB / 1.219 GB, free: 17.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/3.361, allocations: 20.84 kB / 1.219 GB, free: 17.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/3.361, allocations: 11.95 kB / 1.219 GB, free: 17.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/3.363, allocations: 2.59 MB / 1.222 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/3.363, allocations: 0 / 1.222 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/3.364, allocations: 0.6742 MB / 1.223 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/3.364, allocations: 168.3 kB / 1.223 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/3.364, allocations: 4 kB / 1.223 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006732/3.365, allocations: 19.97 kB / 1.223 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/3.365, allocations: 27.97 kB / 1.223 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/3.365, allocations: 40.05 kB / 1.223 GB, free: 13.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009631/3.366, allocations: 342.9 kB / 1.223 GB, free: 13.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.864e-06/3.366, allocations: 0 / 1.223 GB, free: 13.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003168/3.37, allocations: 351.7 kB / 1.224 GB, free: 13.25 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.00653/3.376, allocations: 2.366 MB / 1.226 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002435/3.379, allocations: 488.3 kB / 1.226 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/3.379, allocations: 0.625 kB / 1.226 GB, free: 10.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/3.381, allocations: 353.5 kB / 1.227 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/3.384, allocations: 241.9 kB / 1.227 GB, free: 9.781 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/3.401, allocations: 2.505 MB / 1.229 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/3.402, allocations: 0.9449 MB / 1.23 GB, free: 6.262 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002585/3.404, allocations: 245.4 kB / 1.23 GB, free: 6.02 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/3.405, allocations: 259.3 kB / 1.231 GB, free: 5.766 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/3.405, allocations: 0 / 1.231 GB, free: 5.766 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.429/3.834, allocations: 25.52 MB / 1.256 GB, free: 92.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003444/3.835, allocations: 193.3 kB / 1.256 GB, free: 92.47 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/7.454, allocations: 3.906 kB / 1.256 GB, free: 92.46 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat