Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.861e-05/3.865e-05, allocations: 4 kB / 305 MB, free: 5.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4129, allocations: 54.85 MB / 359.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.359/2.772, allocations: 0.8213 GB / 1.173 GB, free: 90.97 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/2.772, allocations: 89.81 kB / 1.173 GB, free: 90.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.871/6.643, allocations: 0.711 GB / 1.884 GB, free: 64.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/6.643, allocations: 0 / 1.884 GB, free: 64.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001079/6.643, allocations: 32.19 kB / 1.884 GB, free: 64.81 MB / 490.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.00683/6.65, allocations: 1.565 MB / 1.885 GB, free: 64.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/6.65, allocations: 8 kB / 1.885 GB, free: 64.13 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006558/6.651, allocations: 174.2 kB / 1.886 GB, free: 64.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/6.654, allocations: 306.1 kB / 1.886 GB, free: 64.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003034/6.657, allocations: 0.823 MB / 1.887 GB, free: 63.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/6.657, allocations: 145.6 kB / 1.887 GB, free: 63.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004596/6.657, allocations: 108 kB / 1.887 GB, free: 63.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004649/6.662, allocations: 1.737 MB / 1.889 GB, free: 63.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-05/6.662, allocations: 3.875 kB / 1.889 GB, free: 63.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000326/6.662, allocations: 47.09 kB / 1.889 GB, free: 63.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/6.663, allocations: 80.41 kB / 1.889 GB, free: 63.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004678/6.667, allocations: 1.578 MB / 1.89 GB, free: 63.51 MB / 490.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.01572/6.683, allocations: 6.68 MB / 1.897 GB, free: 60.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/6.685, allocations: 0.6167 MB / 1.897 GB, free: 60.06 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000798/6.686, allocations: 355.1 kB / 1.898 GB, free: 60.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/6.686, allocations: 243.9 kB / 1.898 GB, free: 59.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/6.686, allocations: 50.05 kB / 1.898 GB, free: 59.82 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 4.188e-06/6.686, allocations: 3.406 kB / 1.898 GB, free: 59.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01608/6.702, allocations: 3.474 MB / 1.901 GB, free: 59.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/6.702, allocations: 114.6 kB / 1.902 GB, free: 58.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/6.704, allocations: 0.859 MB / 1.902 GB, free: 58.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/6.705, allocations: 44.2 kB / 1.902 GB, free: 58.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/6.705, allocations: 0.559 MB / 1.903 GB, free: 58.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/6.705, allocations: 246.6 kB / 1.903 GB, free: 58.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/6.706, allocations: 21.75 kB / 1.903 GB, free: 58.39 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/6.706, allocations: 354.2 kB / 1.904 GB, free: 58.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/6.707, allocations: 0.5132 MB / 1.904 GB, free: 58.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/6.709, allocations: 0.8921 MB / 1.905 GB, free: 57.63 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/6.71, allocations: 0.656 MB / 1.906 GB, free: 57.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/6.71, allocations: 7.109 kB / 1.906 GB, free: 57.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004764/6.715, allocations: 1.852 MB / 1.907 GB, free: 57.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/6.715, allocations: 16.06 kB / 1.907 GB, free: 57.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.863e-05/6.715, allocations: 11.25 kB / 1.907 GB, free: 57.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007913/6.723, allocations: 1.281 MB / 1.909 GB, free: 57.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/6.725, allocations: 194.1 kB / 1.909 GB, free: 57.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/6.728, allocations: 1.715 MB / 1.91 GB, free: 56.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/6.731, allocations: 115.6 kB / 1.911 GB, free: 56.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/6.731, allocations: 95.98 kB / 1.911 GB, free: 56.93 MB / 490.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.0004214/6.732, allocations: 177.5 kB / 1.911 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/6.732, allocations: 102.9 kB / 1.911 GB, free: 56.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/6.735, allocations: 1.237 MB / 1.912 GB, free: 56.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/6.735, allocations: 6.125 kB / 1.912 GB, free: 56.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/6.735, allocations: 0 / 1.912 GB, free: 56.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/6.736, allocations: 6.812 kB / 1.912 GB, free: 56.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006318/6.742, allocations: 2.471 MB / 1.915 GB, free: 56.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/6.742, allocations: 0 / 1.915 GB, free: 56.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003449/6.745, allocations: 312.9 kB / 1.915 GB, free: 56.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003142/6.746, allocations: 66.25 kB / 1.915 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/6.746, allocations: 38.25 kB / 1.915 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/6.749, allocations: 2.836 MB / 1.918 GB, free: 53.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/6.749, allocations: 3.438 kB / 1.918 GB, free: 53.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003847/6.753, allocations: 1.669 MB / 1.919 GB, free: 53.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/6.754, allocations: 313.6 kB / 1.92 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004313/6.754, allocations: 27.56 kB / 1.92 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001899/6.756, allocations: 72.14 kB / 1.92 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/6.756, allocations: 48.31 kB / 1.92 GB, free: 53.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/6.757, allocations: 58.3 kB / 1.92 GB, free: 53.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00136/6.758, allocations: 0.6644 MB / 1.921 GB, free: 53.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.443e-06/6.758, allocations: 0 / 1.921 GB, free: 53.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003145/6.761, allocations: 0.6092 MB / 1.921 GB, free: 53.18 MB / 490.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.008798/6.77, allocations: 3.688 MB / 1.925 GB, free: 52.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003893/6.774, allocations: 1.352 MB / 1.926 GB, free: 52.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/6.774, allocations: 4.156 kB / 1.926 GB, free: 52.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/6.776, allocations: 0.7612 MB / 1.927 GB, free: 51.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005124/6.782, allocations: 0.5918 MB / 1.927 GB, free: 51.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/6.79, allocations: 2.652 MB / 1.93 GB, free: 51.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009177/6.791, allocations: 1.197 MB / 1.931 GB, free: 50.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002865/6.794, allocations: 455.7 kB / 1.932 GB, free: 50.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/6.795, allocations: 446.7 kB / 1.932 GB, free: 50.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/6.795, allocations: 0 / 1.932 GB, free: 50.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/6.932, allocations: 59.36 MB / 1.99 GB, free: 12.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.002074/6.934, allocations: 253.5 kB / 1.99 GB, free: 12.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.889/11.82, allocations: 0 / 1.99 GB, free: 12.04 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat does not exist to compare? outputFormat=mat