Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.248/2.248, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.04e-05/4.05e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.521/2.631, allocations: 0.7124 GB / 1.022 GB, free: 118.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004343/2.631, allocations: 105.3 kB / 1.022 GB, free: 118.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.898/5.529, allocations: 0.5691 GB / 1.591 GB, free: 29.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/5.529, allocations: 0 / 1.591 GB, free: 29.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/5.529, allocations: 12 kB / 1.591 GB, free: 29.45 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00224/5.531, allocations: 0.7872 MB / 1.592 GB, free: 28.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/5.532, allocations: 8.031 kB / 1.592 GB, free: 28.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/5.532, allocations: 74.53 kB / 1.592 GB, free: 28.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/5.533, allocations: 119.3 kB / 1.592 GB, free: 28.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/5.533, allocations: 369.4 kB / 1.593 GB, free: 28.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/5.533, allocations: 30.97 kB / 1.593 GB, free: 27.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-05/5.533, allocations: 36 kB / 1.593 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/5.535, allocations: 0.5263 MB / 1.593 GB, free: 27.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/5.535, allocations: 0 / 1.593 GB, free: 27.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/5.535, allocations: 16 kB / 1.593 GB, free: 27.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/5.535, allocations: 12 kB / 1.593 GB, free: 27.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/5.536, allocations: 405.4 kB / 1.594 GB, free: 26.98 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.004383/5.54, allocations: 2.044 MB / 1.596 GB, free: 24.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/5.541, allocations: 149.1 kB / 1.596 GB, free: 24.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/5.541, allocations: 72.86 kB / 1.596 GB, free: 24.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/5.541, allocations: 11.94 kB / 1.596 GB, free: 24.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/5.541, allocations: 34.55 kB / 1.596 GB, free: 24.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 3.206e-06/5.541, allocations: 4 kB / 1.596 GB, free: 24.47 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.008449/5.549, allocations: 1.315 MB / 1.597 GB, free: 23.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/5.549, allocations: 55.41 kB / 1.597 GB, free: 22.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/5.55, allocations: 426.8 kB / 1.598 GB, free: 22.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/5.55, allocations: 33.7 kB / 1.598 GB, free: 22.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/5.55, allocations: 322.3 kB / 1.598 GB, free: 22.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/5.551, allocations: 90.83 kB / 1.598 GB, free: 22.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/5.551, allocations: 12 kB / 1.598 GB, free: 22.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/5.551, allocations: 350.8 kB / 1.598 GB, free: 21.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/5.551, allocations: 129.5 kB / 1.598 GB, free: 21.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/5.551, allocations: 423.8 kB / 1.599 GB, free: 21.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004458/5.552, allocations: 231.7 kB / 1.599 GB, free: 20.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/5.552, allocations: 4 kB / 1.599 GB, free: 20.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001334/5.553, allocations: 0.6005 MB / 1.6 GB, free: 20.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/5.553, allocations: 8 kB / 1.6 GB, free: 20.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/5.553, allocations: 12 kB / 1.6 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/5.554, allocations: 57.7 kB / 1.6 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/5.555, allocations: 139.8 kB / 1.6 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/5.556, allocations: 1.836 MB / 1.602 GB, free: 18.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007977/5.557, allocations: 32.23 kB / 1.602 GB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/5.557, allocations: 40 kB / 1.602 GB, free: 17.95 MB / 426.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.0001672/5.557, allocations: 152.6 kB / 1.602 GB, free: 17.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/5.557, allocations: 47.52 kB / 1.602 GB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007714/5.558, allocations: 278.7 kB / 1.602 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/5.558, allocations: 0 / 1.602 GB, free: 17.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/5.558, allocations: 4 kB / 1.602 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005315/5.558, allocations: 0.5351 MB / 1.603 GB, free: 16.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/5.56, allocations: 0.6866 MB / 1.603 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/5.56, allocations: 0 / 1.603 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/5.56, allocations: 51.97 kB / 1.603 GB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/5.561, allocations: 24.78 kB / 1.603 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/5.561, allocations: 11.98 kB / 1.603 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008395/5.561, allocations: 1.268 MB / 1.605 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/5.561, allocations: 4.062 kB / 1.605 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/5.562, allocations: 424.5 kB / 1.605 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/5.562, allocations: 120.6 kB / 1.605 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/5.563, allocations: 4 kB / 1.605 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/5.563, allocations: 16.06 kB / 1.605 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/5.563, allocations: 19.97 kB / 1.605 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/5.563, allocations: 15.98 kB / 1.605 GB, free: 13.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005167/5.564, allocations: 317.2 kB / 1.606 GB, free: 13.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/5.564, allocations: 0 / 1.606 GB, free: 13.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001603/5.565, allocations: 287.9 kB / 1.606 GB, free: 13.37 MB / 426.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.004085/5.569, allocations: 1.972 MB / 1.608 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/5.571, allocations: 431.5 kB / 1.608 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/5.571, allocations: 1.062 kB / 1.608 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/5.571, allocations: 201.7 kB / 1.608 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/5.573, allocations: 209.3 kB / 1.609 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/5.576, allocations: 0.7567 MB / 1.609 GB, free: 9.734 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/5.576, allocations: 0.8353 MB / 1.61 GB, free: 8.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008682/5.577, allocations: 136.6 kB / 1.61 GB, free: 8.738 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/5.577, allocations: 147.4 kB / 1.61 GB, free: 8.594 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/5.577, allocations: 0 / 1.61 GB, free: 8.594 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.455/6.032, allocations: 31.97 MB / 1.642 GB, free: 82.47 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002553/6.033, allocations: 224 kB / 1.642 GB, free: 82.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.416/10.45, allocations: 8.266 kB / 1.642 GB, free: 82.25 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.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat