Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.85e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09781, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.378/2.476, allocations: 0.7084 GB / 1.001 GB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/2.476, allocations: 85.98 kB / 1.001 GB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.843/5.319, allocations: 0.5739 GB / 1.575 GB, free: 34.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/5.319, allocations: 0 / 1.575 GB, free: 34.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.308e-05/5.319, allocations: 8 kB / 1.575 GB, free: 34.47 MB / 410.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.002144/5.321, allocations: 0.7856 MB / 1.576 GB, free: 33.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/5.321, allocations: 12.03 kB / 1.576 GB, free: 33.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/5.322, allocations: 74.53 kB / 1.576 GB, free: 33.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008878/5.323, allocations: 115.4 kB / 1.576 GB, free: 33.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/5.323, allocations: 381.2 kB / 1.577 GB, free: 33.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/5.323, allocations: 24.78 kB / 1.577 GB, free: 33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/5.324, allocations: 36 kB / 1.577 GB, free: 32.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/5.325, allocations: 0.5352 MB / 1.577 GB, free: 32.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/5.325, allocations: 0 / 1.577 GB, free: 32.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/5.325, allocations: 24 kB / 1.577 GB, free: 32.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/5.325, allocations: 8 kB / 1.577 GB, free: 32.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008997/5.326, allocations: 410.9 kB / 1.578 GB, free: 31.98 MB / 410.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.004221/5.33, allocations: 2.022 MB / 1.58 GB, free: 29.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/5.331, allocations: 150.8 kB / 1.58 GB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/5.331, allocations: 82.41 kB / 1.58 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/5.331, allocations: 15.81 kB / 1.58 GB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/5.331, allocations: 38.56 kB / 1.58 GB, free: 29.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 3.406e-06/5.331, allocations: 4 kB / 1.58 GB, free: 29.48 MB / 410.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.008417/5.339, allocations: 1.311 MB / 1.581 GB, free: 28.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/5.339, allocations: 55.41 kB / 1.581 GB, free: 28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/5.34, allocations: 426.8 kB / 1.582 GB, free: 27.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/5.34, allocations: 37.7 kB / 1.582 GB, free: 27.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/5.34, allocations: 322.3 kB / 1.582 GB, free: 27.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/5.34, allocations: 78.91 kB / 1.582 GB, free: 27.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/5.34, allocations: 16 kB / 1.582 GB, free: 27.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/5.34, allocations: 354.8 kB / 1.582 GB, free: 26.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/5.341, allocations: 129.5 kB / 1.583 GB, free: 26.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/5.341, allocations: 425.8 kB / 1.583 GB, free: 26.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/5.342, allocations: 225.3 kB / 1.583 GB, free: 25.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/5.342, allocations: 4 kB / 1.583 GB, free: 25.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001362/5.343, allocations: 0.6317 MB / 1.584 GB, free: 25.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/5.343, allocations: 14.44 kB / 1.584 GB, free: 25.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/5.343, allocations: 12 kB / 1.584 GB, free: 25.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/5.343, allocations: 61.69 kB / 1.584 GB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/5.344, allocations: 139.8 kB / 1.584 GB, free: 24.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/5.346, allocations: 1.84 MB / 1.586 GB, free: 22.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/5.347, allocations: 44.08 kB / 1.586 GB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/5.347, allocations: 36 kB / 1.586 GB, free: 22.91 MB / 410.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.0001638/5.347, allocations: 140.7 kB / 1.586 GB, free: 22.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.955e-05/5.347, allocations: 47.48 kB / 1.586 GB, free: 22.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000796/5.348, allocations: 286.6 kB / 1.586 GB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/5.348, allocations: 4 kB / 1.586 GB, free: 22.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/5.348, allocations: 4 kB / 1.586 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005338/5.348, allocations: 0.5281 MB / 1.587 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/5.35, allocations: 0.6826 MB / 1.588 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/5.35, allocations: 7.938 kB / 1.588 GB, free: 21.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/5.35, allocations: 55.91 kB / 1.588 GB, free: 20.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/5.35, allocations: 20.84 kB / 1.588 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/5.35, allocations: 15.94 kB / 1.588 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008301/5.351, allocations: 1.28 MB / 1.589 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/5.351, allocations: 0 / 1.589 GB, free: 19.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/5.352, allocations: 427.6 kB / 1.589 GB, free: 19.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/5.352, allocations: 120.6 kB / 1.589 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/5.352, allocations: 4 kB / 1.589 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/5.353, allocations: 20.03 kB / 1.589 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/5.353, allocations: 15.97 kB / 1.589 GB, free: 18.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.277e-05/5.353, allocations: 23.98 kB / 1.589 GB, free: 18.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005084/5.354, allocations: 317.2 kB / 1.59 GB, free: 18.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/5.354, allocations: 0 / 1.59 GB, free: 18.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001451/5.355, allocations: 283.9 kB / 1.59 GB, free: 18.32 MB / 410.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.00401/5.359, allocations: 1.965 MB / 1.592 GB, free: 16.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/5.36, allocations: 451.8 kB / 1.592 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/5.36, allocations: 3.938 kB / 1.592 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/5.361, allocations: 212 kB / 1.593 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/5.363, allocations: 197.4 kB / 1.593 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/5.365, allocations: 0.7604 MB / 1.594 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/5.365, allocations: 0.8276 MB / 1.594 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008628/5.366, allocations: 144.5 kB / 1.594 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/5.367, allocations: 153.6 kB / 1.595 GB, free: 13.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/5.367, allocations: 0 / 1.595 GB, free: 13.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4195/5.786, allocations: 32.06 MB / 1.626 GB, free: 63.58 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002958/5.786, allocations: 224.3 kB / 1.626 GB, free: 63.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.45/10.24, allocations: 0 / 1.626 GB, free: 63.34 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat