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 2.185/2.185, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.301e-05, allocations: 4 kB / 255.4 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 44.5 MB / 299.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.352/2.453, allocations: 0.7084 GB / 1.001 GB, free: 108.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/2.453, allocations: 82.16 kB / 1.001 GB, free: 108.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766/5.22, allocations: 0.5739 GB / 1.575 GB, free: 34.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.485e-06/5.22, allocations: 0 / 1.575 GB, free: 34.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.1e-05/5.22, allocations: 19.92 kB / 1.575 GB, free: 34.58 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.002409/5.222, allocations: 0.784 MB / 1.576 GB, free: 33.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/5.222, allocations: 8.031 kB / 1.576 GB, free: 33.74 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/5.222, allocations: 70.53 kB / 1.576 GB, free: 33.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009852/5.223, allocations: 123.4 kB / 1.576 GB, free: 33.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009867/5.224, allocations: 381.2 kB / 1.577 GB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/5.224, allocations: 32.78 kB / 1.577 GB, free: 33.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.931e-05/5.225, allocations: 36 kB / 1.577 GB, free: 33.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/5.226, allocations: 0.5239 MB / 1.577 GB, free: 32.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/5.226, allocations: 4 kB / 1.577 GB, free: 32.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/5.226, allocations: 16 kB / 1.577 GB, free: 32.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/5.226, allocations: 12 kB / 1.577 GB, free: 32.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/5.227, allocations: 414.9 kB / 1.578 GB, free: 32.08 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.004661/5.232, allocations: 2.03 MB / 1.58 GB, free: 29.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/5.232, allocations: 146.7 kB / 1.58 GB, free: 29.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/5.232, allocations: 80.8 kB / 1.58 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/5.232, allocations: 15.94 kB / 1.58 GB, free: 29.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/5.233, allocations: 34.5 kB / 1.58 GB, free: 29.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.535e-06/5.233, allocations: 0 / 1.58 GB, free: 29.59 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.008516/5.241, allocations: 1.323 MB / 1.581 GB, free: 28.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/5.241, allocations: 55.41 kB / 1.581 GB, free: 28.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/5.242, allocations: 430.8 kB / 1.582 GB, free: 27.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/5.242, allocations: 33.7 kB / 1.582 GB, free: 27.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/5.242, allocations: 368.7 kB / 1.582 GB, free: 27.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/5.242, allocations: 78.91 kB / 1.582 GB, free: 27.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/5.242, allocations: 12 kB / 1.582 GB, free: 27.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/5.242, allocations: 338.8 kB / 1.582 GB, free: 26.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/5.243, allocations: 129.5 kB / 1.583 GB, free: 26.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/5.243, allocations: 441.8 kB / 1.583 GB, free: 26.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/5.244, allocations: 217.3 kB / 1.583 GB, free: 25.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-05/5.244, allocations: 4 kB / 1.583 GB, free: 25.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001335/5.245, allocations: 0.6043 MB / 1.584 GB, free: 25.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/5.245, allocations: 15.98 kB / 1.584 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/5.245, allocations: 8 kB / 1.584 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/5.245, allocations: 57.7 kB / 1.584 GB, free: 25.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/5.246, allocations: 140.3 kB / 1.584 GB, free: 25.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/5.247, allocations: 1.84 MB / 1.586 GB, free: 23.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000813/5.248, allocations: 35.92 kB / 1.586 GB, free: 23.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/5.248, allocations: 36 kB / 1.586 GB, free: 23.02 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.0001569/5.249, allocations: 144.7 kB / 1.586 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.811e-05/5.249, allocations: 51.48 kB / 1.586 GB, free: 22.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007879/5.249, allocations: 286.6 kB / 1.586 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/5.249, allocations: 0 / 1.586 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/5.25, allocations: 4 kB / 1.586 GB, free: 22.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005224/5.25, allocations: 0.5241 MB / 1.587 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/5.251, allocations: 0.702 MB / 1.588 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/5.251, allocations: 0 / 1.588 GB, free: 21.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/5.252, allocations: 55.97 kB / 1.588 GB, free: 21.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/5.252, allocations: 20.84 kB / 1.588 GB, free: 21.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/5.252, allocations: 15.92 kB / 1.588 GB, free: 21.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008197/5.253, allocations: 1.28 MB / 1.589 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/5.253, allocations: 0 / 1.589 GB, free: 19.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/5.254, allocations: 423.6 kB / 1.589 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/5.254, allocations: 124.5 kB / 1.589 GB, free: 19.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.665e-05/5.254, allocations: 8 kB / 1.589 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/5.255, allocations: 16.14 kB / 1.589 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/5.255, allocations: 15.98 kB / 1.589 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/5.255, allocations: 15.98 kB / 1.589 GB, free: 19.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005075/5.255, allocations: 321.2 kB / 1.59 GB, free: 18.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/5.255, allocations: 0 / 1.59 GB, free: 18.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001516/5.257, allocations: 287.9 kB / 1.59 GB, free: 18.41 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.004037/5.261, allocations: 1.963 MB / 1.592 GB, free: 16.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/5.262, allocations: 456.5 kB / 1.592 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/5.262, allocations: 0.75 kB / 1.592 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003114/5.262, allocations: 206.6 kB / 1.593 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/5.264, allocations: 197.4 kB / 1.593 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/5.267, allocations: 0.8088 MB / 1.594 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/5.267, allocations: 0.8315 MB / 1.594 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/5.268, allocations: 155.4 kB / 1.594 GB, free: 13.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.011e-06/5.268, allocations: 4 kB / 1.594 GB, free: 13.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.611/8.879, allocations: 18.6 MB / 1.613 GB, free: 62.48 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