Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.108e-05, allocations: 8 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 47.58 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.445/2.551, allocations: 0.7116 GB / 1.021 GB, free: 118.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/2.551, allocations: 96.03 kB / 1.021 GB, free: 118.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.95/5.502, allocations: 0.5509 GB / 1.572 GB, free: 48.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.374e-06/5.502, allocations: 0 / 1.572 GB, free: 48.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.92e-05/5.502, allocations: 24 kB / 1.572 GB, free: 48.29 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003598/5.505, allocations: 0.9518 MB / 1.573 GB, free: 47.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/5.506, allocations: 16.03 kB / 1.573 GB, free: 47.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003297/5.506, allocations: 114.5 kB / 1.573 GB, free: 47.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/5.507, allocations: 151.1 kB / 1.573 GB, free: 47.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/5.508, allocations: 480.9 kB / 1.574 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.035e-05/5.509, allocations: 54 kB / 1.574 GB, free: 46.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/5.509, allocations: 72 kB / 1.574 GB, free: 46.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/5.511, allocations: 0.8976 MB / 1.575 GB, free: 45.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/5.511, allocations: 3.938 kB / 1.575 GB, free: 45.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/5.512, allocations: 37.97 kB / 1.575 GB, free: 45.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/5.512, allocations: 20 kB / 1.575 GB, free: 45.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/5.514, allocations: 0.8239 MB / 1.576 GB, free: 44.59 MB / 426.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.008544/5.523, allocations: 3.423 MB / 1.579 GB, free: 40.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/5.524, allocations: 0.6093 MB / 1.58 GB, free: 40.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/5.525, allocations: 365 kB / 1.58 GB, free: 39.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/5.525, allocations: 16.55 kB / 1.58 GB, free: 39.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/5.525, allocations: 47.12 kB / 1.58 GB, free: 39.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 4.478e-06/5.525, allocations: 0 / 1.58 GB, free: 39.85 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02133/5.546, allocations: 4.304 MB / 1.584 GB, free: 35.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/5.546, allocations: 64.19 kB / 1.584 GB, free: 35.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/5.547, allocations: 0.4913 MB / 1.585 GB, free: 34.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/5.548, allocations: 41.7 kB / 1.585 GB, free: 34.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/5.548, allocations: 280.6 kB / 1.585 GB, free: 34.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/5.548, allocations: 256.3 kB / 1.585 GB, free: 34.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/5.548, allocations: 16 kB / 1.585 GB, free: 34.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/5.548, allocations: 370.8 kB / 1.586 GB, free: 33.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009603/5.549, allocations: 433.3 kB / 1.586 GB, free: 33.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/5.55, allocations: 0.4922 MB / 1.587 GB, free: 32.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/5.551, allocations: 497.9 kB / 1.587 GB, free: 32.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/5.551, allocations: 0 / 1.587 GB, free: 32.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003069/5.555, allocations: 1.311 MB / 1.588 GB, free: 31.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/5.555, allocations: 4 kB / 1.588 GB, free: 31.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/5.555, allocations: 4 kB / 1.588 GB, free: 31.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009214/5.556, allocations: 338.6 kB / 1.589 GB, free: 30.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/5.557, allocations: 175.8 kB / 1.589 GB, free: 30.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008466/5.566, allocations: 10.19 MB / 1.599 GB, free: 19.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/5.567, allocations: 79.91 kB / 1.599 GB, free: 19.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/5.568, allocations: 39.98 kB / 1.599 GB, free: 19.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000346/5.568, allocations: 156.7 kB / 1.599 GB, free: 19.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002588/5.568, allocations: 67.3 kB / 1.599 GB, free: 19.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/5.571, allocations: 1.259 MB / 1.6 GB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/5.571, allocations: 8 kB / 1.6 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/5.571, allocations: 0 / 1.6 GB, free: 17.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002459/5.574, allocations: 1.591 MB / 1.602 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/5.579, allocations: 2.256 MB / 1.604 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/5.579, allocations: 0 / 1.604 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/5.582, allocations: 227.8 kB / 1.604 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003047/5.582, allocations: 64.8 kB / 1.604 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/5.582, allocations: 43.95 kB / 1.605 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/5.584, allocations: 1.442 MB / 1.606 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/5.584, allocations: 0 / 1.606 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/5.587, allocations: 1.603 MB / 1.607 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/5.588, allocations: 148.4 kB / 1.608 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/5.588, allocations: 27.98 kB / 1.608 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/5.589, allocations: 83.72 kB / 1.608 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/5.59, allocations: 56.7 kB / 1.608 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001915/5.59, allocations: 59.91 kB / 1.608 GB, free: 9.785 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006931/5.591, allocations: 397.1 kB / 1.608 GB, free: 9.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/5.591, allocations: 0 / 1.608 GB, free: 9.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002289/5.593, allocations: 419.9 kB / 1.609 GB, free: 8.988 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007249/5.6, allocations: 3.498 MB / 1.612 GB, free: 5.441 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003718/5.604, allocations: 1.79 MB / 1.614 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/5.604, allocations: 4 kB / 1.614 GB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001578/5.606, allocations: 0.665 MB / 1.614 GB, free: 2.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004529/5.61, allocations: 484 kB / 1.615 GB, free: 2.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006973/5.617, allocations: 2.112 MB / 1.617 GB, free: 280 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008437/5.618, allocations: 0.9867 MB / 1.618 GB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001897/5.62, allocations: 277.7 kB / 1.618 GB, free: 14.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008968/5.621, allocations: 275.3 kB / 1.618 GB, free: 14.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/5.621, allocations: 0 / 1.618 GB, free: 14.71 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4538/6.075, allocations: 47.07 MB / 1.664 GB, free: 80.43 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/6.075, allocations: 206 kB / 1.665 GB, free: 80.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.905/10.98, allocations: 0 / 1.665 GB, free: 80.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat