Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.283/2.283, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.247e-05/3.265e-05, allocations: 0 / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4455, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.349/2.794, allocations: 0.8221 GB / 1.174 GB, free: 90.28 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/2.795, allocations: 92.19 kB / 1.174 GB, free: 90.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.873/6.668, allocations: 0.7355 GB / 1.909 GB, free: 64.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.424e-06/6.668, allocations: 0 / 1.909 GB, free: 64.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001051/6.668, allocations: 25.77 kB / 1.909 GB, free: 64.72 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006373/6.674, allocations: 1.38 MB / 1.911 GB, free: 64.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/6.674, allocations: 11.97 kB / 1.911 GB, free: 64.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004294/6.675, allocations: 124.2 kB / 1.911 GB, free: 64.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/6.677, allocations: 281.6 kB / 1.911 GB, free: 63.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/6.679, allocations: 0.6799 MB / 1.912 GB, free: 63.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/6.68, allocations: 114.2 kB / 1.912 GB, free: 63.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/6.68, allocations: 75.88 kB / 1.912 GB, free: 63.65 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/6.683, allocations: 1.218 MB / 1.913 GB, free: 63.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/6.683, allocations: 7.875 kB / 1.913 GB, free: 63.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/6.683, allocations: 31.45 kB / 1.913 GB, free: 63.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/6.683, allocations: 61.92 kB / 1.913 GB, free: 63.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/6.685, allocations: 1.007 MB / 1.914 GB, free: 63.38 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.009216/6.695, allocations: 4.813 MB / 1.919 GB, free: 60.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/6.695, allocations: 254.5 kB / 1.919 GB, free: 60.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/6.696, allocations: 130.7 kB / 1.919 GB, free: 60.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/6.696, allocations: 244.5 kB / 1.919 GB, free: 60.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/6.696, allocations: 45.14 kB / 1.919 GB, free: 60.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.306e-06/6.696, allocations: 3.344 kB / 1.919 GB, free: 60.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.009264/6.705, allocations: 1.578 MB / 1.921 GB, free: 59.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/6.705, allocations: 132.3 kB / 1.921 GB, free: 59.53 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/6.707, allocations: 0.8093 MB / 1.922 GB, free: 59.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001421/6.707, allocations: 32.86 kB / 1.922 GB, free: 59.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/6.708, allocations: 0.5904 MB / 1.922 GB, free: 59.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/6.708, allocations: 127.5 kB / 1.923 GB, free: 58.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/6.708, allocations: 26.06 kB / 1.923 GB, free: 58.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/6.708, allocations: 398.8 kB / 1.923 GB, free: 58.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006921/6.709, allocations: 274.8 kB / 1.923 GB, free: 58.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/6.71, allocations: 0.9118 MB / 1.924 GB, free: 57.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/6.711, allocations: 482.5 kB / 1.925 GB, free: 57.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/6.711, allocations: 6.438 kB / 1.925 GB, free: 57.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00325/6.714, allocations: 1.286 MB / 1.926 GB, free: 57.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/6.715, allocations: 14.25 kB / 1.926 GB, free: 57.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/6.715, allocations: 21.84 kB / 1.926 GB, free: 57.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/6.717, allocations: 275.4 kB / 1.926 GB, free: 57.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/6.718, allocations: 235.2 kB / 1.926 GB, free: 57.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/6.719, allocations: 0.8826 MB / 1.927 GB, free: 56.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/6.721, allocations: 69.91 kB / 1.927 GB, free: 56.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/6.721, allocations: 95.12 kB / 1.927 GB, free: 56.99 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002646/6.721, allocations: 192.6 kB / 1.928 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/6.722, allocations: 96.31 kB / 1.928 GB, free: 56.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/6.723, allocations: 453.2 kB / 1.928 GB, free: 56.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/6.723, allocations: 0 / 1.928 GB, free: 56.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/6.723, allocations: 7.828 kB / 1.928 GB, free: 56.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/6.723, allocations: 0 / 1.928 GB, free: 56.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/6.725, allocations: 1.086 MB / 1.929 GB, free: 56.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/6.725, allocations: 0 / 1.929 GB, free: 56.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/6.727, allocations: 182.8 kB / 1.929 GB, free: 56.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/6.727, allocations: 26.66 kB / 1.929 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.494e-05/6.727, allocations: 10.59 kB / 1.929 GB, free: 56.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/6.729, allocations: 2.674 MB / 1.932 GB, free: 53.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/6.729, allocations: 0 / 1.932 GB, free: 53.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/6.731, allocations: 0.6736 MB / 1.933 GB, free: 53.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/6.731, allocations: 199 kB / 1.933 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/6.732, allocations: 6.844 kB / 1.933 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/6.733, allocations: 28.72 kB / 1.933 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/6.733, allocations: 25.23 kB / 1.933 GB, free: 53.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/6.733, allocations: 23.98 kB / 1.933 GB, free: 53.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001142/6.734, allocations: 0.6001 MB / 1.934 GB, free: 53.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/6.734, allocations: 0 / 1.934 GB, free: 53.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002741/6.737, allocations: 0.5168 MB / 1.934 GB, free: 53.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 30 * 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.005752/6.742, allocations: 2.569 MB / 1.937 GB, free: 52.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002047/6.745, allocations: 0.6757 MB / 1.937 GB, free: 52.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/6.745, allocations: 5.719 kB / 1.937 GB, free: 52.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001332/6.746, allocations: 350.8 kB / 1.938 GB, free: 52.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/6.749, allocations: 381.1 kB / 1.938 GB, free: 52.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/6.753, allocations: 1.465 MB / 1.939 GB, free: 51.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/6.754, allocations: 1.045 MB / 1.94 GB, free: 50.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002355/6.757, allocations: 376.8 kB / 1.941 GB, free: 50.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007324/6.757, allocations: 337.4 kB / 1.941 GB, free: 50.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/6.757, allocations: 0 / 1.941 GB, free: 50.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1791/6.936, allocations: 46.49 MB / 1.986 GB, free: 19.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/6.937, allocations: 279.8 kB / 1.987 GB, free: 19.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.52/11.46, allocations: 0 / 1.987 GB, free: 19.05 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat