Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.384e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.635/2.737, allocations: 0.807 GB / 1.121 GB, free: 11.56 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/2.737, allocations: 92.75 kB / 1.121 GB, free: 11.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.965/6.702, allocations: 0.7075 GB / 1.829 GB, free: 59.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.445e-06/6.702, allocations: 0 / 1.829 GB, free: 59.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000121/6.702, allocations: 29.09 kB / 1.829 GB, free: 59.5 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.007276/6.71, allocations: 1.57 MB / 1.83 GB, free: 58.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/6.71, allocations: 7.656 kB / 1.83 GB, free: 58.92 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000607/6.71, allocations: 173.4 kB / 1.831 GB, free: 58.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/6.713, allocations: 304.9 kB / 1.831 GB, free: 58.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003389/6.716, allocations: 0.8313 MB / 1.832 GB, free: 58.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/6.717, allocations: 137.9 kB / 1.832 GB, free: 58.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006545/6.717, allocations: 108.2 kB / 1.832 GB, free: 58.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005166/6.723, allocations: 1.747 MB / 1.834 GB, free: 58.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.96e-05/6.723, allocations: 7.781 kB / 1.834 GB, free: 58.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/6.723, allocations: 52.52 kB / 1.834 GB, free: 58.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/6.723, allocations: 84.11 kB / 1.834 GB, free: 58.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004523/6.728, allocations: 1.592 MB / 1.835 GB, free: 58.29 MB / 442.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.01396/6.742, allocations: 5.881 MB / 1.841 GB, free: 55.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/6.744, allocations: 0.6313 MB / 1.842 GB, free: 55.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007502/6.744, allocations: 351.9 kB / 1.842 GB, free: 55.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/6.744, allocations: 23.56 kB / 1.842 GB, free: 55.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.096e-05/6.745, allocations: 41.28 kB / 1.842 GB, free: 55.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.586e-06/6.745, allocations: 0 / 1.842 GB, free: 55.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01663/6.761, allocations: 3.419 MB / 1.845 GB, free: 54.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/6.761, allocations: 114.3 kB / 1.846 GB, free: 54.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/6.763, allocations: 0.8463 MB / 1.846 GB, free: 54.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002717/6.763, allocations: 44.8 kB / 1.846 GB, free: 54.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000469/6.764, allocations: 0.5641 MB / 1.847 GB, free: 54.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/6.764, allocations: 248.7 kB / 1.847 GB, free: 54.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/6.764, allocations: 21.5 kB / 1.847 GB, free: 54.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/6.765, allocations: 355.7 kB / 1.848 GB, free: 53.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/6.766, allocations: 0.5102 MB / 1.848 GB, free: 53.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/6.767, allocations: 0.8864 MB / 1.849 GB, free: 53.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/6.769, allocations: 0.6475 MB / 1.85 GB, free: 53.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/6.769, allocations: 5.844 kB / 1.85 GB, free: 53.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.0044/6.773, allocations: 1.848 MB / 1.851 GB, free: 53.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/6.773, allocations: 12.09 kB / 1.851 GB, free: 53.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/6.773, allocations: 10.31 kB / 1.851 GB, free: 53.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007758/6.781, allocations: 1.281 MB / 1.853 GB, free: 53.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/6.782, allocations: 172.9 kB / 1.853 GB, free: 53.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/6.786, allocations: 1.716 MB / 1.854 GB, free: 52.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/6.788, allocations: 110.2 kB / 1.855 GB, free: 52.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/6.788, allocations: 67.72 kB / 1.855 GB, free: 52.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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: 0 * Non-linear torn systems: 1 {9 28} Notification: Performance of prepare postOptimizeDAE: time 0.0003906/6.789, allocations: 181 kB / 1.855 GB, free: 52.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/6.789, allocations: 101.1 kB / 1.855 GB, free: 52.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/6.792, allocations: 1.238 MB / 1.856 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/6.792, allocations: 10.5 kB / 1.856 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/6.792, allocations: 0 / 1.856 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/6.792, allocations: 3.891 kB / 1.856 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005923/6.798, allocations: 2.48 MB / 1.859 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/6.798, allocations: 3.875 kB / 1.859 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003374/6.802, allocations: 306.2 kB / 1.859 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002891/6.802, allocations: 73.92 kB / 1.859 GB, free: 52.15 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/6.802, allocations: 48.28 kB / 1.859 GB, free: 52.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002628/6.805, allocations: 2.823 MB / 1.862 GB, free: 49.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/6.805, allocations: 0 / 1.862 GB, free: 49.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/6.809, allocations: 1.669 MB / 1.863 GB, free: 49.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/6.81, allocations: 305.7 kB / 1.864 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/6.81, allocations: 33.56 kB / 1.864 GB, free: 49.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/6.812, allocations: 71.03 kB / 1.864 GB, free: 49.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/6.812, allocations: 50.95 kB / 1.864 GB, free: 49.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/6.812, allocations: 55.56 kB / 1.864 GB, free: 49.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001269/6.813, allocations: 0.6619 MB / 1.864 GB, free: 49.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/6.813, allocations: 0 / 1.864 GB, free: 49.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002858/6.816, allocations: 0.6033 MB / 1.865 GB, free: 49.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.008331/6.825, allocations: 3.714 MB / 1.869 GB, free: 48.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003739/6.828, allocations: 1.352 MB / 1.87 GB, free: 48 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/6.828, allocations: 3.938 kB / 1.87 GB, free: 48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/6.831, allocations: 0.7702 MB / 1.871 GB, free: 47.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005027/6.836, allocations: 0.5977 MB / 1.871 GB, free: 47.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008568/6.845, allocations: 2.693 MB / 1.874 GB, free: 47.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008947/6.846, allocations: 1.199 MB / 1.875 GB, free: 46.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002266/6.848, allocations: 392.7 kB / 1.876 GB, free: 46.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009632/6.849, allocations: 429 kB / 1.876 GB, free: 46.6 MB / 442.7 MB Notification: Performance of SimCode: time 2.565e-06/6.849, allocations: 0 / 1.876 GB, free: 46.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/6.981, allocations: 59.15 MB / 1.934 GB, free: 9.59 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/6.981, allocations: 258.8 kB / 1.934 GB, free: 9.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.27/12.25, allocations: 0 / 1.934 GB, free: 9.25 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat