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.694/1.694, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.278e-05/3.299e-05, allocations: 0 / 225.1 MB, free: 2.199 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2621, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.093/2.355, allocations: 0.6962 GB / 0.9539 GB, free: 88.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/2.355, allocations: 85.94 kB / 0.954 GB, free: 88.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.172/5.527, allocations: 0.5698 GB / 1.524 GB, free: 53.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/5.527, allocations: 3.531 kB / 1.524 GB, free: 53.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.398e-05/5.527, allocations: 6.656 kB / 1.524 GB, free: 53.22 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.002391/5.529, allocations: 0.7885 MB / 1.525 GB, free: 52.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/5.529, allocations: 6.562 kB / 1.525 GB, free: 52.74 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/5.529, allocations: 78.36 kB / 1.525 GB, free: 52.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009465/5.53, allocations: 118.1 kB / 1.525 GB, free: 52.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/5.531, allocations: 373.5 kB / 1.525 GB, free: 52.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/5.531, allocations: 26.16 kB / 1.525 GB, free: 52.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.234e-05/5.531, allocations: 49.38 kB / 1.525 GB, free: 52.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/5.533, allocations: 0.5275 MB / 1.526 GB, free: 52.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/5.533, allocations: 3.344 kB / 1.526 GB, free: 52.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/5.533, allocations: 17.22 kB / 1.526 GB, free: 52.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/5.533, allocations: 9.875 kB / 1.526 GB, free: 52.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009415/5.534, allocations: 418.3 kB / 1.526 GB, free: 52.36 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.003968/5.538, allocations: 1.82 MB / 1.528 GB, free: 51.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/5.538, allocations: 147.9 kB / 1.528 GB, free: 51.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/5.539, allocations: 91.73 kB / 1.528 GB, free: 51.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/5.539, allocations: 6.406 kB / 1.528 GB, free: 51.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/5.539, allocations: 30.56 kB / 1.528 GB, free: 51.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 3.547e-06/5.539, allocations: 0 / 1.528 GB, free: 51.32 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.008653/5.547, allocations: 1.329 MB / 1.529 GB, free: 50.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/5.547, allocations: 55.28 kB / 1.529 GB, free: 50.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/5.548, allocations: 429.2 kB / 1.53 GB, free: 50.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/5.548, allocations: 29.08 kB / 1.53 GB, free: 50.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/5.548, allocations: 315 kB / 1.53 GB, free: 50.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/5.548, allocations: 86.62 kB / 1.53 GB, free: 50.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/5.549, allocations: 13.88 kB / 1.53 GB, free: 50.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/5.549, allocations: 355.1 kB / 1.531 GB, free: 49.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/5.549, allocations: 124.7 kB / 1.531 GB, free: 49.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/5.549, allocations: 443.1 kB / 1.531 GB, free: 49.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/5.55, allocations: 226.8 kB / 1.531 GB, free: 49.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/5.55, allocations: 3.844 kB / 1.531 GB, free: 49.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001448/5.551, allocations: 0.6217 MB / 1.532 GB, free: 49.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/5.551, allocations: 9.688 kB / 1.532 GB, free: 49.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/5.552, allocations: 13.19 kB / 1.532 GB, free: 49.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002844/5.552, allocations: 60.67 kB / 1.532 GB, free: 49.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/5.553, allocations: 139.5 kB / 1.532 GB, free: 49.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/5.554, allocations: 1.842 MB / 1.534 GB, free: 47.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/5.555, allocations: 43.42 kB / 1.534 GB, free: 47.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/5.555, allocations: 33.94 kB / 1.534 GB, free: 47.61 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.0001742/5.555, allocations: 147.7 kB / 1.534 GB, free: 47.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/5.555, allocations: 42.34 kB / 1.534 GB, free: 47.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/5.556, allocations: 295.9 kB / 1.535 GB, free: 47.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/5.556, allocations: 3.875 kB / 1.535 GB, free: 47.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/5.556, allocations: 0 / 1.535 GB, free: 47.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005315/5.557, allocations: 0.5204 MB / 1.535 GB, free: 46.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/5.558, allocations: 0.696 MB / 1.536 GB, free: 46.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/5.558, allocations: 0 / 1.536 GB, free: 46.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/5.559, allocations: 51.06 kB / 1.536 GB, free: 46.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/5.559, allocations: 23.73 kB / 1.536 GB, free: 46.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/5.559, allocations: 7.438 kB / 1.536 GB, free: 46.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009003/5.56, allocations: 1.272 MB / 1.537 GB, free: 45.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/5.56, allocations: 3.938 kB / 1.537 GB, free: 45.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/5.561, allocations: 427.4 kB / 1.538 GB, free: 45.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/5.561, allocations: 116.5 kB / 1.538 GB, free: 45.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.941e-05/5.561, allocations: 14.47 kB / 1.538 GB, free: 45.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/5.562, allocations: 22.69 kB / 1.538 GB, free: 45.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/5.562, allocations: 17 kB / 1.538 GB, free: 45.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/5.562, allocations: 23.73 kB / 1.538 GB, free: 45.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005096/5.562, allocations: 315.5 kB / 1.538 GB, free: 44.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/5.562, allocations: 0 / 1.538 GB, free: 44.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001549/5.564, allocations: 297.3 kB / 1.538 GB, free: 44.95 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.004147/5.568, allocations: 1.946 MB / 1.54 GB, free: 44.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/5.569, allocations: 459 kB / 1.541 GB, free: 44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/5.569, allocations: 2.25 kB / 1.541 GB, free: 44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/5.57, allocations: 205.9 kB / 1.541 GB, free: 43.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/5.572, allocations: 208.5 kB / 1.541 GB, free: 43.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/5.574, allocations: 0.7549 MB / 1.542 GB, free: 43.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/5.575, allocations: 0.8364 MB / 1.543 GB, free: 42.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009351/5.576, allocations: 138.9 kB / 1.543 GB, free: 42.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/5.576, allocations: 145.1 kB / 1.543 GB, free: 42.89 MB / 362.7 MB Notification: Performance of SimCode: time 1.543e-06/5.576, allocations: 0 / 1.543 GB, free: 42.89 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08281/5.659, allocations: 32.06 MB / 1.574 GB, free: 16.41 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/5.659, allocations: 227.8 kB / 1.574 GB, free: 16.19 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.244/9.904, allocations: 4.062 kB / 1.574 GB, free: 16.18 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