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.964/1.964, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.409e-05, allocations: 0 / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3089, allocations: 44.49 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.061/2.37, allocations: 0.7078 GB / 0.9951 GB, free: 47.97 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/2.37, allocations: 84.27 kB / 0.9952 GB, free: 47.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.95/5.32, allocations: 0.5661 GB / 1.561 GB, free: 68.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/5.32, allocations: 0 / 1.561 GB, free: 68.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.423e-05/5.32, allocations: 13.73 kB / 1.561 GB, free: 68.86 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.002165/5.322, allocations: 0.7817 MB / 1.562 GB, free: 68.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/5.322, allocations: 10.98 kB / 1.562 GB, free: 68.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/5.323, allocations: 119.4 kB / 1.562 GB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008599/5.324, allocations: 378.4 kB / 1.563 GB, free: 68.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/5.324, allocations: 15 kB / 1.563 GB, free: 68.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.327e-05/5.324, allocations: 22.59 kB / 1.563 GB, free: 68.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008998/5.325, allocations: 392.1 kB / 1.563 GB, free: 68.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/5.326, allocations: 475 kB / 1.563 GB, free: 68.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/5.327, allocations: 3.75 kB / 1.563 GB, free: 68.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-05/5.327, allocations: 3.625 kB / 1.563 GB, free: 68.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/5.327, allocations: 11.16 kB / 1.563 GB, free: 68.2 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.004266/5.331, allocations: 1.956 MB / 1.565 GB, free: 67.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/5.331, allocations: 144.2 kB / 1.566 GB, free: 67.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/5.331, allocations: 75.09 kB / 1.566 GB, free: 67.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.416e-05/5.331, allocations: 7.422 kB / 1.566 GB, free: 67.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/5.332, allocations: 36.25 kB / 1.566 GB, free: 67.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 3.096e-06/5.332, allocations: 0 / 1.566 GB, free: 67.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.007575/5.339, allocations: 1.146 MB / 1.567 GB, free: 66.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/5.339, allocations: 54.55 kB / 1.567 GB, free: 66.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005895/5.34, allocations: 390.5 kB / 1.567 GB, free: 66.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/5.34, allocations: 32.3 kB / 1.567 GB, free: 66.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/5.34, allocations: 370.2 kB / 1.568 GB, free: 66.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/5.34, allocations: 83.02 kB / 1.568 GB, free: 65.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/5.34, allocations: 0 / 1.568 GB, free: 65.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.966e-05/5.34, allocations: 339 kB / 1.568 GB, free: 65.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/5.341, allocations: 120 kB / 1.568 GB, free: 65.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/5.341, allocations: 415.6 kB / 1.568 GB, free: 65.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/5.341, allocations: 207.2 kB / 1.569 GB, free: 65.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/5.341, allocations: 3.969 kB / 1.569 GB, free: 65.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001243/5.343, allocations: 0.5345 MB / 1.569 GB, free: 65.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/5.343, allocations: 13.97 kB / 1.569 GB, free: 65.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/5.343, allocations: 8.625 kB / 1.569 GB, free: 65.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/5.343, allocations: 58.69 kB / 1.569 GB, free: 65.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/5.344, allocations: 146.9 kB / 1.569 GB, free: 65.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/5.345, allocations: 1.785 MB / 1.571 GB, free: 63.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007739/5.346, allocations: 30.62 kB / 1.571 GB, free: 63.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/5.346, allocations: 40.06 kB / 1.571 GB, free: 63.49 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.0001674/5.346, allocations: 136.7 kB / 1.571 GB, free: 63.38 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000565/5.347, allocations: 231 kB / 1.572 GB, free: 63.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/5.347, allocations: 46.72 kB / 1.572 GB, free: 63.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006946/5.348, allocations: 269.1 kB / 1.572 GB, free: 63.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/5.348, allocations: 3.219 kB / 1.572 GB, free: 63.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/5.348, allocations: 1.75 kB / 1.572 GB, free: 63.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005013/5.348, allocations: 0.4988 MB / 1.572 GB, free: 62.78 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/5.35, allocations: 0.6492 MB / 1.573 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/5.35, allocations: 0 / 1.573 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/5.35, allocations: 53.25 kB / 1.573 GB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/5.35, allocations: 21.48 kB / 1.573 GB, free: 62.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/5.35, allocations: 0 / 1.573 GB, free: 62.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000817/5.351, allocations: 1.249 MB / 1.574 GB, free: 61.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/5.351, allocations: 0 / 1.574 GB, free: 61.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/5.352, allocations: 409.5 kB / 1.575 GB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/5.352, allocations: 111.6 kB / 1.575 GB, free: 61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/5.352, allocations: 7.859 kB / 1.575 GB, free: 60.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004854/5.353, allocations: 10.23 kB / 1.575 GB, free: 60.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/5.353, allocations: 18.69 kB / 1.575 GB, free: 60.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/5.353, allocations: 15.81 kB / 1.575 GB, free: 60.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004107/5.353, allocations: 283.7 kB / 1.575 GB, free: 60.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.5e-07/5.353, allocations: 3.812 kB / 1.575 GB, free: 60.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001532/5.355, allocations: 251.8 kB / 1.575 GB, free: 60.91 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.00415/5.359, allocations: 2.094 MB / 1.577 GB, free: 60.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/5.36, allocations: 418 kB / 1.578 GB, free: 60.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/5.36, allocations: 3.938 kB / 1.578 GB, free: 60.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/5.36, allocations: 195.4 kB / 1.578 GB, free: 59.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/5.362, allocations: 166.8 kB / 1.578 GB, free: 59.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002517/5.365, allocations: 0.7745 MB / 1.579 GB, free: 59.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/5.365, allocations: 0.838 MB / 1.58 GB, free: 58.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003716/5.365, allocations: 146.3 kB / 1.58 GB, free: 58.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/5.365, allocations: 0 / 1.58 GB, free: 58.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.196/8.562, allocations: 18.12 MB / 1.598 GB, free: 58.41 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