Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.905/1.905, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.193e-05/4.198e-05, allocations: 0 / 225.1 MB, free: 2.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3433, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.24/2.584, allocations: 0.6962 GB / 0.9539 GB, free: 88.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004324/2.584, allocations: 81.88 kB / 0.954 GB, free: 88.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895/5.479, allocations: 0.5698 GB / 1.524 GB, free: 53.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/5.479, allocations: 384 / 1.524 GB, free: 53.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.643e-05/5.479, allocations: 8.125 kB / 1.524 GB, free: 53.16 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002372/5.481, allocations: 0.7941 MB / 1.525 GB, free: 52.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/5.481, allocations: 7.094 kB / 1.525 GB, free: 52.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/5.482, allocations: 78.73 kB / 1.525 GB, free: 52.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009409/5.483, allocations: 112.8 kB / 1.525 GB, free: 52.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/5.484, allocations: 370 kB / 1.525 GB, free: 52.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/5.484, allocations: 28.88 kB / 1.525 GB, free: 52.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/5.484, allocations: 47.86 kB / 1.525 GB, free: 52.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/5.485, allocations: 0.5205 MB / 1.526 GB, free: 52.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/5.485, allocations: 3.438 kB / 1.526 GB, free: 52.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/5.485, allocations: 22.03 kB / 1.526 GB, free: 52.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/5.485, allocations: 10.31 kB / 1.526 GB, free: 52.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/5.486, allocations: 405.5 kB / 1.526 GB, free: 52.31 MB / 362.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.004259/5.491, allocations: 1.825 MB / 1.528 GB, free: 51.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/5.491, allocations: 148 kB / 1.528 GB, free: 51.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/5.491, allocations: 78.11 kB / 1.528 GB, free: 51.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/5.491, allocations: 6.266 kB / 1.528 GB, free: 51.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/5.491, allocations: 36.88 kB / 1.528 GB, free: 51.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.805e-06/5.492, allocations: 3.812 kB / 1.528 GB, free: 51.28 MB / 362.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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.008573/5.5, allocations: 1.316 MB / 1.529 GB, free: 50.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/5.5, allocations: 55.16 kB / 1.53 GB, free: 50.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/5.501, allocations: 429 kB / 1.53 GB, free: 50.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/5.501, allocations: 33.36 kB / 1.53 GB, free: 50.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/5.501, allocations: 319.2 kB / 1.53 GB, free: 50.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/5.501, allocations: 86.8 kB / 1.53 GB, free: 50.24 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/5.501, allocations: 10.62 kB / 1.53 GB, free: 50.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.446e-05/5.501, allocations: 352.6 kB / 1.531 GB, free: 49.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/5.502, allocations: 128.3 kB / 1.531 GB, free: 49.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/5.502, allocations: 426.5 kB / 1.531 GB, free: 49.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/5.503, allocations: 226.1 kB / 1.531 GB, free: 49.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/5.503, allocations: 6.875 kB / 1.531 GB, free: 49.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001358/5.504, allocations: 0.586 MB / 1.532 GB, free: 49.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/5.504, allocations: 9.594 kB / 1.532 GB, free: 49.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/5.504, allocations: 13.91 kB / 1.532 GB, free: 49.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/5.504, allocations: 62.98 kB / 1.532 GB, free: 49.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/5.505, allocations: 139.5 kB / 1.532 GB, free: 49.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/5.507, allocations: 1.839 MB / 1.534 GB, free: 47.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/5.508, allocations: 35.7 kB / 1.534 GB, free: 47.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/5.508, allocations: 39.69 kB / 1.534 GB, free: 47.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * 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: 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.0001658/5.508, allocations: 151.6 kB / 1.534 GB, free: 47.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/5.508, allocations: 41.91 kB / 1.534 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007735/5.509, allocations: 277.9 kB / 1.535 GB, free: 47.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/5.509, allocations: 3.688 kB / 1.535 GB, free: 47.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/5.509, allocations: 3.438 kB / 1.535 GB, free: 47.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005286/5.509, allocations: 0.5258 MB / 1.535 GB, free: 46.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/5.511, allocations: 0.6936 MB / 1.536 GB, free: 46.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/5.511, allocations: 0 / 1.536 GB, free: 46.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/5.511, allocations: 58.83 kB / 1.536 GB, free: 46.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/5.511, allocations: 23.52 kB / 1.536 GB, free: 46.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/5.511, allocations: 7.438 kB / 1.536 GB, free: 46.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008286/5.512, allocations: 1.279 MB / 1.537 GB, free: 45.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/5.512, allocations: 0 / 1.537 GB, free: 45.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/5.513, allocations: 428.5 kB / 1.537 GB, free: 45.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/5.513, allocations: 114.5 kB / 1.538 GB, free: 45.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/5.513, allocations: 7.75 kB / 1.538 GB, free: 45.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005198/5.514, allocations: 23.58 kB / 1.538 GB, free: 45.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/5.514, allocations: 18.28 kB / 1.538 GB, free: 45.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/5.514, allocations: 11.36 kB / 1.538 GB, free: 45.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005071/5.515, allocations: 319 kB / 1.538 GB, free: 44.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.4e-07/5.515, allocations: 3.938 kB / 1.538 GB, free: 44.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001595/5.516, allocations: 287.6 kB / 1.538 GB, free: 44.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.004091/5.52, allocations: 1.976 MB / 1.54 GB, free: 44.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001143/5.522, allocations: 443.3 kB / 1.541 GB, free: 43.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/5.522, allocations: 0 / 1.541 GB, free: 43.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/5.522, allocations: 198.4 kB / 1.541 GB, free: 43.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/5.524, allocations: 209.6 kB / 1.541 GB, free: 43.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/5.526, allocations: 0.7561 MB / 1.542 GB, free: 43.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/5.527, allocations: 0.8338 MB / 1.543 GB, free: 42.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009095/5.528, allocations: 135.4 kB / 1.543 GB, free: 42.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/5.528, allocations: 145.9 kB / 1.543 GB, free: 42.87 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/5.528, allocations: 0 / 1.543 GB, free: 42.87 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07974/5.608, allocations: 32.08 MB / 1.574 GB, free: 15.97 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/5.608, allocations: 230.5 kB / 1.574 GB, free: 15.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.504/10.11, allocations: 3.906 kB / 1.574 GB, free: 15.74 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat