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.046/2.046, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.675e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.383/2.495, allocations: 0.7084 GB / 1.001 GB, free: 108.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/2.495, allocations: 86.06 kB / 1.001 GB, free: 108.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.837/5.332, allocations: 0.5739 GB / 1.575 GB, free: 34.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/5.332, allocations: 0 / 1.575 GB, free: 34.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.195e-05/5.332, allocations: 8 kB / 1.575 GB, free: 34.59 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.002225/5.334, allocations: 0.7879 MB / 1.576 GB, free: 33.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/5.334, allocations: 8.031 kB / 1.576 GB, free: 33.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000123/5.334, allocations: 78.52 kB / 1.576 GB, free: 33.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009029/5.335, allocations: 119.5 kB / 1.576 GB, free: 33.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008493/5.336, allocations: 381.2 kB / 1.577 GB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/5.336, allocations: 35.19 kB / 1.577 GB, free: 33.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/5.336, allocations: 36 kB / 1.577 GB, free: 33.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/5.337, allocations: 0.5199 MB / 1.577 GB, free: 32.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/5.337, allocations: 4 kB / 1.577 GB, free: 32.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/5.338, allocations: 16 kB / 1.577 GB, free: 32.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/5.338, allocations: 12 kB / 1.577 GB, free: 32.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009433/5.338, allocations: 405.4 kB / 1.578 GB, free: 32.09 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.004431/5.343, allocations: 2.029 MB / 1.58 GB, free: 29.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/5.343, allocations: 142.7 kB / 1.58 GB, free: 29.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/5.344, allocations: 84.78 kB / 1.58 GB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/5.344, allocations: 11.89 kB / 1.58 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/5.344, allocations: 38.56 kB / 1.58 GB, free: 29.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 3.036e-06/5.344, allocations: 0 / 1.58 GB, free: 29.6 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.008457/5.352, allocations: 1.312 MB / 1.581 GB, free: 28.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/5.352, allocations: 63.34 kB / 1.581 GB, free: 28.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/5.353, allocations: 430.8 kB / 1.582 GB, free: 27.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.268e-05/5.353, allocations: 29.7 kB / 1.582 GB, free: 27.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/5.353, allocations: 322.3 kB / 1.582 GB, free: 27.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/5.353, allocations: 78.91 kB / 1.582 GB, free: 27.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/5.353, allocations: 16 kB / 1.582 GB, free: 27.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.779e-05/5.353, allocations: 350.8 kB / 1.582 GB, free: 26.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/5.354, allocations: 129.5 kB / 1.583 GB, free: 26.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/5.354, allocations: 424.3 kB / 1.583 GB, free: 26.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/5.355, allocations: 225.3 kB / 1.583 GB, free: 25.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/5.355, allocations: 7.953 kB / 1.583 GB, free: 25.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001341/5.356, allocations: 0.5964 MB / 1.584 GB, free: 25.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/5.356, allocations: 8 kB / 1.584 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/5.356, allocations: 12 kB / 1.584 GB, free: 25.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/5.356, allocations: 57.7 kB / 1.584 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/5.357, allocations: 144.2 kB / 1.584 GB, free: 25.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/5.359, allocations: 1.84 MB / 1.586 GB, free: 23.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/5.359, allocations: 35.83 kB / 1.586 GB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/5.36, allocations: 40 kB / 1.586 GB, free: 23.07 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.0001633/5.36, allocations: 140.7 kB / 1.586 GB, free: 22.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.905e-05/5.36, allocations: 47.62 kB / 1.586 GB, free: 22.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007989/5.361, allocations: 286.6 kB / 1.586 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/5.361, allocations: 0 / 1.586 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/5.361, allocations: 3.938 kB / 1.586 GB, free: 22.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005207/5.361, allocations: 0.5203 MB / 1.587 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/5.363, allocations: 0.6982 MB / 1.587 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/5.363, allocations: 0 / 1.587 GB, free: 21.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/5.363, allocations: 55.95 kB / 1.588 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/5.363, allocations: 24.78 kB / 1.588 GB, free: 21.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/5.363, allocations: 8 kB / 1.588 GB, free: 21.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008327/5.364, allocations: 1.28 MB / 1.589 GB, free: 19.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/5.364, allocations: 0 / 1.589 GB, free: 19.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/5.365, allocations: 423.6 kB / 1.589 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/5.365, allocations: 116.6 kB / 1.589 GB, free: 19.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.79e-05/5.365, allocations: 4 kB / 1.589 GB, free: 19.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/5.366, allocations: 24.05 kB / 1.589 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/5.366, allocations: 15.98 kB / 1.589 GB, free: 19.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/5.366, allocations: 19.94 kB / 1.589 GB, free: 19.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005322/5.367, allocations: 317.2 kB / 1.59 GB, free: 18.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/5.367, allocations: 0 / 1.59 GB, free: 18.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001728/5.368, allocations: 291.9 kB / 1.59 GB, free: 18.49 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.004096/5.372, allocations: 1.971 MB / 1.592 GB, free: 16.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/5.374, allocations: 432.2 kB / 1.592 GB, free: 16.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/5.374, allocations: 0 / 1.592 GB, free: 16.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/5.374, allocations: 202 kB / 1.593 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/5.376, allocations: 213.2 kB / 1.593 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/5.378, allocations: 0.7642 MB / 1.593 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/5.379, allocations: 0.8276 MB / 1.594 GB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008793/5.38, allocations: 140.5 kB / 1.594 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/5.38, allocations: 151.4 kB / 1.595 GB, free: 13.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/5.38, allocations: 0 / 1.595 GB, free: 13.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4014/5.782, allocations: 32.07 MB / 1.626 GB, free: 63.51 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/5.782, allocations: 223 kB / 1.626 GB, free: 63.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.114/9.896, allocations: 0 / 1.626 GB, free: 63.29 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