Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.03e-05, allocations: 11.42 kB / 225.1 MB, free: 2.676 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2718, allocations: 38.77 MB / 263.9 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.138/2.41, allocations: 0.6962 GB / 0.9539 GB, free: 88.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/2.411, allocations: 86.81 kB / 0.954 GB, free: 88.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.943/5.354, allocations: 0.5698 GB / 1.524 GB, free: 53.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.973e-06/5.354, allocations: 0 / 1.524 GB, free: 53.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.573e-05/5.354, allocations: 8.938 kB / 1.524 GB, free: 53.02 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.002416/5.357, allocations: 0.7882 MB / 1.525 GB, free: 52.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/5.357, allocations: 10.06 kB / 1.525 GB, free: 52.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/5.357, allocations: 77.64 kB / 1.525 GB, free: 52.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009526/5.358, allocations: 113 kB / 1.525 GB, free: 52.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009425/5.359, allocations: 371.4 kB / 1.525 GB, free: 52.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/5.359, allocations: 29.59 kB / 1.525 GB, free: 52.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.56e-05/5.359, allocations: 42.92 kB / 1.525 GB, free: 52.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/5.36, allocations: 0.521 MB / 1.526 GB, free: 52.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/5.36, allocations: 0 / 1.526 GB, free: 52.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/5.361, allocations: 29.41 kB / 1.526 GB, free: 52.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/5.361, allocations: 9.656 kB / 1.526 GB, free: 52.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009267/5.361, allocations: 403.9 kB / 1.526 GB, free: 52.17 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.004055/5.366, allocations: 1.827 MB / 1.528 GB, free: 51.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/5.366, allocations: 148.6 kB / 1.528 GB, free: 51.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/5.366, allocations: 79.36 kB / 1.528 GB, free: 51.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/5.366, allocations: 3.875 kB / 1.528 GB, free: 51.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/5.366, allocations: 37.34 kB / 1.528 GB, free: 51.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/5.366, allocations: 3.938 kB / 1.528 GB, free: 51.14 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.008729/5.375, allocations: 1.318 MB / 1.529 GB, free: 50.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/5.375, allocations: 54.91 kB / 1.529 GB, free: 50.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/5.376, allocations: 430.5 kB / 1.53 GB, free: 50.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/5.376, allocations: 33.58 kB / 1.53 GB, free: 50.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/5.376, allocations: 364.4 kB / 1.53 GB, free: 50.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/5.376, allocations: 87.62 kB / 1.53 GB, free: 50.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/5.376, allocations: 10.72 kB / 1.53 GB, free: 50.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.712e-05/5.376, allocations: 332.5 kB / 1.531 GB, free: 49.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/5.377, allocations: 129.7 kB / 1.531 GB, free: 49.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/5.377, allocations: 428.6 kB / 1.531 GB, free: 49.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00047/5.378, allocations: 225.5 kB / 1.531 GB, free: 49.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/5.378, allocations: 0 / 1.531 GB, free: 49.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001342/5.379, allocations: 0.5783 MB / 1.532 GB, free: 49.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/5.379, allocations: 10.28 kB / 1.532 GB, free: 49.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/5.379, allocations: 10.59 kB / 1.532 GB, free: 49.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/5.379, allocations: 59.39 kB / 1.532 GB, free: 49.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008645/5.38, allocations: 142.7 kB / 1.532 GB, free: 49.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/5.382, allocations: 1.845 MB / 1.534 GB, free: 47.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008393/5.383, allocations: 31.61 kB / 1.534 GB, free: 47.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/5.383, allocations: 40.72 kB / 1.534 GB, free: 47.39 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.0001718/5.383, allocations: 149.1 kB / 1.534 GB, free: 47.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/5.383, allocations: 46.59 kB / 1.534 GB, free: 47.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008428/5.384, allocations: 284 kB / 1.535 GB, free: 47.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/5.384, allocations: 3.906 kB / 1.535 GB, free: 47.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/5.384, allocations: 0 / 1.535 GB, free: 47.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005356/5.384, allocations: 0.5258 MB / 1.535 GB, free: 46.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/5.386, allocations: 0.6879 MB / 1.536 GB, free: 46.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/5.386, allocations: 0 / 1.536 GB, free: 46.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/5.386, allocations: 54.53 kB / 1.536 GB, free: 46.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/5.387, allocations: 23.91 kB / 1.536 GB, free: 46.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/5.387, allocations: 11.42 kB / 1.536 GB, free: 46.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009145/5.387, allocations: 1.266 MB / 1.537 GB, free: 45.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/5.388, allocations: 0 / 1.537 GB, free: 45.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008813/5.388, allocations: 442.8 kB / 1.537 GB, free: 44.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/5.389, allocations: 113.7 kB / 1.538 GB, free: 44.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/5.389, allocations: 3.312 kB / 1.538 GB, free: 44.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/5.389, allocations: 18.12 kB / 1.538 GB, free: 44.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/5.389, allocations: 14.53 kB / 1.538 GB, free: 44.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/5.389, allocations: 15.22 kB / 1.538 GB, free: 44.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000519/5.39, allocations: 318 kB / 1.538 GB, free: 44.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/5.39, allocations: 0 / 1.538 GB, free: 44.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001689/5.392, allocations: 293.1 kB / 1.538 GB, free: 44.75 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.004247/5.396, allocations: 1.976 MB / 1.54 GB, free: 43.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/5.397, allocations: 430.9 kB / 1.541 GB, free: 43.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/5.397, allocations: 0 / 1.541 GB, free: 43.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/5.398, allocations: 207.7 kB / 1.541 GB, free: 43.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/5.4, allocations: 203 kB / 1.541 GB, free: 43.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/5.402, allocations: 0.7949 MB / 1.542 GB, free: 43.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/5.403, allocations: 0.8345 MB / 1.543 GB, free: 42.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/5.403, allocations: 154.8 kB / 1.543 GB, free: 42.66 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/5.403, allocations: 3.938 kB / 1.543 GB, free: 42.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.287/8.69, allocations: 18.61 MB / 1.561 GB, free: 29.85 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat