Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.409e-05/4.415e-05, allocations: 4 kB / 255.5 MB, free: 3.07 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 44.51 MB / 300 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.443/2.549, allocations: 0.7084 GB / 1.001 GB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003967/2.549, allocations: 83.39 kB / 1.001 GB, free: 108.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.759/5.308, allocations: 0.5739 GB / 1.575 GB, free: 33.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/5.308, allocations: 0 / 1.575 GB, free: 33.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.956e-05/5.308, allocations: 12 kB / 1.575 GB, free: 33.08 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.002109/5.31, allocations: 0.7934 MB / 1.576 GB, free: 32.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/5.31, allocations: 8.031 kB / 1.576 GB, free: 32.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/5.311, allocations: 78.53 kB / 1.576 GB, free: 32.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/5.311, allocations: 113.4 kB / 1.576 GB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/5.312, allocations: 373.3 kB / 1.577 GB, free: 31.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/5.312, allocations: 32.78 kB / 1.577 GB, free: 31.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/5.312, allocations: 36 kB / 1.577 GB, free: 31.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/5.314, allocations: 0.5263 MB / 1.577 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/5.314, allocations: 0 / 1.577 GB, free: 31.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/5.314, allocations: 24 kB / 1.577 GB, free: 31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/5.314, allocations: 8 kB / 1.577 GB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009064/5.315, allocations: 413.4 kB / 1.578 GB, free: 30.59 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.004363/5.319, allocations: 2.024 MB / 1.58 GB, free: 28.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/5.32, allocations: 146.6 kB / 1.58 GB, free: 28.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/5.32, allocations: 76.86 kB / 1.58 GB, free: 28.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/5.32, allocations: 11.94 kB / 1.58 GB, free: 28.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/5.32, allocations: 38.5 kB / 1.58 GB, free: 28.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/5.32, allocations: 0 / 1.58 GB, free: 28.1 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.008671/5.328, allocations: 1.326 MB / 1.581 GB, free: 26.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/5.329, allocations: 51.41 kB / 1.581 GB, free: 26.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/5.329, allocations: 430.8 kB / 1.582 GB, free: 26.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/5.329, allocations: 29.7 kB / 1.582 GB, free: 26.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/5.33, allocations: 372.7 kB / 1.582 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/5.33, allocations: 90.83 kB / 1.582 GB, free: 25.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/5.33, allocations: 12 kB / 1.582 GB, free: 25.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.38e-05/5.33, allocations: 334.8 kB / 1.582 GB, free: 25.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/5.33, allocations: 129.5 kB / 1.583 GB, free: 25.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/5.33, allocations: 424.3 kB / 1.583 GB, free: 24.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/5.331, allocations: 233.2 kB / 1.583 GB, free: 24.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/5.331, allocations: 3.953 kB / 1.583 GB, free: 24.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001301/5.332, allocations: 0.5777 MB / 1.584 GB, free: 23.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/5.332, allocations: 8 kB / 1.584 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/5.332, allocations: 12 kB / 1.584 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/5.333, allocations: 53.7 kB / 1.584 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/5.334, allocations: 143.7 kB / 1.584 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/5.335, allocations: 1.836 MB / 1.586 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008693/5.336, allocations: 32.22 kB / 1.586 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/5.336, allocations: 43.92 kB / 1.586 GB, free: 21.55 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.0001791/5.336, allocations: 144.7 kB / 1.586 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/5.336, allocations: 47.44 kB / 1.586 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007995/5.337, allocations: 290.5 kB / 1.586 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/5.337, allocations: 7.984 kB / 1.586 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/5.337, allocations: 0 / 1.586 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005355/5.338, allocations: 0.5203 MB / 1.587 GB, free: 20.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/5.339, allocations: 0.6904 MB / 1.587 GB, free: 19.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/5.339, allocations: 0 / 1.587 GB, free: 19.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/5.34, allocations: 59.89 kB / 1.588 GB, free: 19.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/5.34, allocations: 20.84 kB / 1.588 GB, free: 19.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/5.34, allocations: 8 kB / 1.588 GB, free: 19.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008264/5.341, allocations: 1.272 MB / 1.589 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/5.341, allocations: 8.016 kB / 1.589 GB, free: 18.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/5.342, allocations: 419.7 kB / 1.589 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/5.342, allocations: 116.7 kB / 1.589 GB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/5.342, allocations: 8 kB / 1.589 GB, free: 17.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005091/5.342, allocations: 15.98 kB / 1.589 GB, free: 17.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/5.342, allocations: 16.05 kB / 1.589 GB, free: 17.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/5.343, allocations: 19.94 kB / 1.589 GB, free: 17.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004953/5.343, allocations: 321.2 kB / 1.59 GB, free: 17.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/5.343, allocations: 0 / 1.59 GB, free: 17.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001525/5.345, allocations: 299.8 kB / 1.59 GB, free: 16.96 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.003923/5.349, allocations: 1.961 MB / 1.592 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/5.35, allocations: 430 kB / 1.592 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/5.35, allocations: 2.062 kB / 1.592 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/5.35, allocations: 201.6 kB / 1.592 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/5.352, allocations: 217.2 kB / 1.593 GB, free: 14.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/5.354, allocations: 0.8011 MB / 1.593 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/5.355, allocations: 0.8315 MB / 1.594 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/5.355, allocations: 151.4 kB / 1.594 GB, free: 12.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/5.355, allocations: 0 / 1.594 GB, free: 12.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.548/8.903, allocations: 18.62 MB / 1.613 GB, free: 63.88 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat