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.789/1.789, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.461e-05/2.495e-05, allocations: 4 kB / 219.6 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2705, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.075/2.346, allocations: 0.6956 GB / 0.9479 GB, free: 101.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/2.346, allocations: 83.8 kB / 0.9479 GB, free: 101.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.789/5.135, allocations: 0.5621 GB / 1.51 GB, free: 60.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/5.135, allocations: 3.844 kB / 1.51 GB, free: 60.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.897e-05/5.135, allocations: 9.344 kB / 1.51 GB, free: 60.49 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.002051/5.137, allocations: 0.7853 MB / 1.511 GB, free: 60.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/5.137, allocations: 6.844 kB / 1.511 GB, free: 60.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007837/5.138, allocations: 120 kB / 1.511 GB, free: 60.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006787/5.138, allocations: 371.6 kB / 1.511 GB, free: 59.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/5.138, allocations: 10.56 kB / 1.511 GB, free: 59.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.611e-05/5.139, allocations: 23.56 kB / 1.511 GB, free: 59.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008394/5.139, allocations: 398.5 kB / 1.512 GB, free: 59.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009897/5.14, allocations: 484.2 kB / 1.512 GB, free: 59.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/5.14, allocations: 3.375 kB / 1.512 GB, free: 59.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/5.14, allocations: 7.328 kB / 1.512 GB, free: 59.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/5.141, allocations: 6.688 kB / 1.512 GB, free: 59.82 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.003319/5.144, allocations: 1.753 MB / 1.514 GB, free: 58.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/5.144, allocations: 137.1 kB / 1.514 GB, free: 58.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/5.144, allocations: 76.52 kB / 1.514 GB, free: 58.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/5.144, allocations: 6.5 kB / 1.514 GB, free: 58.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/5.144, allocations: 37.62 kB / 1.514 GB, free: 58.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.535e-06/5.144, allocations: 0 / 1.514 GB, free: 58.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.007283/5.152, allocations: 1.151 MB / 1.515 GB, free: 58.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/5.152, allocations: 51.41 kB / 1.515 GB, free: 58.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005663/5.152, allocations: 391.3 kB / 1.516 GB, free: 58.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/5.152, allocations: 25.7 kB / 1.516 GB, free: 58.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/5.153, allocations: 366 kB / 1.516 GB, free: 57.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/5.153, allocations: 94.09 kB / 1.516 GB, free: 57.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/5.153, allocations: 0 / 1.516 GB, free: 57.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.609e-05/5.153, allocations: 342 kB / 1.516 GB, free: 57.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/5.153, allocations: 113.2 kB / 1.517 GB, free: 57.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/5.153, allocations: 422.3 kB / 1.517 GB, free: 57.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/5.154, allocations: 211.5 kB / 1.517 GB, free: 57.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/5.154, allocations: 3.188 kB / 1.517 GB, free: 57.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001177/5.155, allocations: 0.5218 MB / 1.518 GB, free: 57.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/5.155, allocations: 18.02 kB / 1.518 GB, free: 57.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/5.155, allocations: 10.41 kB / 1.518 GB, free: 57.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002396/5.155, allocations: 57.84 kB / 1.518 GB, free: 57.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/5.156, allocations: 137.1 kB / 1.518 GB, free: 57.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/5.157, allocations: 1.792 MB / 1.52 GB, free: 55.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/5.158, allocations: 24.28 kB / 1.52 GB, free: 55.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/5.158, allocations: 35.38 kB / 1.52 GB, free: 55.31 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.0001488/5.158, allocations: 135.5 kB / 1.52 GB, free: 55.2 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005117/5.159, allocations: 238 kB / 1.52 GB, free: 55.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/5.159, allocations: 40.12 kB / 1.52 GB, free: 55.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006634/5.16, allocations: 261.7 kB / 1.52 GB, free: 55.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/5.16, allocations: 2.719 kB / 1.52 GB, free: 55.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/5.16, allocations: 5.25 kB / 1.52 GB, free: 55.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004733/5.16, allocations: 0.5092 MB / 1.521 GB, free: 54.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/5.161, allocations: 0.6334 MB / 1.521 GB, free: 54.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/5.161, allocations: 0 / 1.521 GB, free: 54.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/5.162, allocations: 59.94 kB / 1.522 GB, free: 54.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/5.162, allocations: 21.41 kB / 1.522 GB, free: 54.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/5.162, allocations: 4.266 kB / 1.522 GB, free: 54.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007614/5.163, allocations: 1.226 MB / 1.523 GB, free: 53.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/5.163, allocations: 1.531 kB / 1.523 GB, free: 53.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/5.164, allocations: 414.4 kB / 1.523 GB, free: 52.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/5.164, allocations: 114.9 kB / 1.523 GB, free: 52.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/5.164, allocations: 0 / 1.523 GB, free: 52.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004749/5.164, allocations: 19.95 kB / 1.523 GB, free: 52.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/5.164, allocations: 16.92 kB / 1.523 GB, free: 52.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/5.164, allocations: 17.59 kB / 1.523 GB, free: 52.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003911/5.165, allocations: 283.6 kB / 1.524 GB, free: 52.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/5.165, allocations: 0 / 1.524 GB, free: 52.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001403/5.166, allocations: 258.2 kB / 1.524 GB, free: 52.71 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.004028/5.17, allocations: 2.092 MB / 1.526 GB, free: 51.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009975/5.171, allocations: 426.7 kB / 1.526 GB, free: 51.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/5.171, allocations: 0 / 1.526 GB, free: 51.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/5.172, allocations: 188.1 kB / 1.526 GB, free: 51.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/5.173, allocations: 180.8 kB / 1.527 GB, free: 51.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/5.175, allocations: 0.7644 MB / 1.527 GB, free: 51.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/5.176, allocations: 0.8352 MB / 1.528 GB, free: 50.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/5.176, allocations: 150.4 kB / 1.528 GB, free: 50.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/5.176, allocations: 0 / 1.528 GB, free: 50.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.06/8.236, allocations: 18.08 MB / 1.546 GB, free: 50.12 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