Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(ModelicaTest): time 1.851/1.851, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.776e-05, allocations: 0 / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1257, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.14/2.266, allocations: 0.807 GB / 1.121 GB, free: 40.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/2.266, allocations: 93.02 kB / 1.121 GB, free: 40.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.648/5.914, allocations: 0.7074 GB / 1.829 GB, free: 57.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.482e-06/5.914, allocations: 2.75 kB / 1.829 GB, free: 57.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.827e-05/5.915, allocations: 31.2 kB / 1.829 GB, free: 57.34 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.005457/5.92, allocations: 1.563 MB / 1.83 GB, free: 56.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/5.92, allocations: 7.219 kB / 1.83 GB, free: 56.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002362/5.922, allocations: 313.2 kB / 1.831 GB, free: 56.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/5.925, allocations: 0.8237 MB / 1.831 GB, free: 56.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/5.925, allocations: 135.3 kB / 1.832 GB, free: 56.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004398/5.926, allocations: 108.7 kB / 1.832 GB, free: 56.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/5.93, allocations: 1.74 MB / 1.833 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/5.93, allocations: 13.25 kB / 1.833 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/5.93, allocations: 47.28 kB / 1.833 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/5.93, allocations: 80.61 kB / 1.834 GB, free: 56.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/5.934, allocations: 1.57 MB / 1.835 GB, free: 56.33 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.01102/5.945, allocations: 5.891 MB / 1.841 GB, free: 53.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/5.946, allocations: 0.6117 MB / 1.841 GB, free: 53.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/5.947, allocations: 359.2 kB / 1.842 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/5.947, allocations: 20.98 kB / 1.842 GB, free: 53.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/5.947, allocations: 52.69 kB / 1.842 GB, free: 53.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 3.934e-06/5.947, allocations: 0 / 1.842 GB, free: 53.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01195/5.959, allocations: 3.419 MB / 1.845 GB, free: 52.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/5.959, allocations: 114.2 kB / 1.845 GB, free: 52.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/5.961, allocations: 0.848 MB / 1.846 GB, free: 52.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002439/5.961, allocations: 42.67 kB / 1.846 GB, free: 52.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/5.961, allocations: 0.5658 MB / 1.847 GB, free: 52.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/5.962, allocations: 241.4 kB / 1.847 GB, free: 52.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/5.962, allocations: 21.72 kB / 1.847 GB, free: 52.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/5.962, allocations: 357.5 kB / 1.847 GB, free: 52.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/5.963, allocations: 0.5098 MB / 1.848 GB, free: 52.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002117/5.965, allocations: 0.8759 MB / 1.849 GB, free: 51.58 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002362/5.968, allocations: 0.6513 MB / 1.849 GB, free: 51.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/5.968, allocations: 3.938 kB / 1.849 GB, free: 51.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.006286/5.974, allocations: 1.815 MB / 1.851 GB, free: 51.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/5.974, allocations: 7.812 kB / 1.851 GB, free: 51.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/5.974, allocations: 18.16 kB / 1.851 GB, free: 51.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00977/5.984, allocations: 1.283 MB / 1.852 GB, free: 51.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/5.986, allocations: 175.3 kB / 1.852 GB, free: 51.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/5.991, allocations: 1.707 MB / 1.854 GB, free: 50.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/5.994, allocations: 117.9 kB / 1.854 GB, free: 50.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004236/5.995, allocations: 77.62 kB / 1.854 GB, free: 50.9 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.0005948/5.996, allocations: 175.8 kB / 1.854 GB, free: 50.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005618/5.996, allocations: 95.81 kB / 1.855 GB, free: 50.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/6.001, allocations: 1.248 MB / 1.856 GB, free: 50.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/6.001, allocations: 11.3 kB / 1.856 GB, free: 50.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.826e-06/6.001, allocations: 0 / 1.856 GB, free: 50.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/6.001, allocations: 3.75 kB / 1.856 GB, free: 50.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/6.007, allocations: 2.456 MB / 1.858 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.197e-06/6.007, allocations: 3.75 kB / 1.858 GB, free: 50.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002229/6.009, allocations: 314.9 kB / 1.859 GB, free: 50.31 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/6.009, allocations: 70.88 kB / 1.859 GB, free: 50.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/6.009, allocations: 37.94 kB / 1.859 GB, free: 50.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/6.012, allocations: 2.831 MB / 1.861 GB, free: 47.74 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-06/6.012, allocations: 0 / 1.861 GB, free: 47.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/6.015, allocations: 1.665 MB / 1.863 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/6.016, allocations: 312.8 kB / 1.863 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/6.016, allocations: 29.36 kB / 1.863 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/6.017, allocations: 71.92 kB / 1.863 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/6.018, allocations: 52.67 kB / 1.863 GB, free: 47.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/6.018, allocations: 56.83 kB / 1.864 GB, free: 47.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001173/6.019, allocations: 0.6578 MB / 1.864 GB, free: 47.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/6.019, allocations: 0 / 1.864 GB, free: 47.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002785/6.022, allocations: 0.6059 MB / 1.865 GB, free: 47.21 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.004241/6.026, allocations: 1.458 MB / 1.866 GB, free: 46.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003056/6.029, allocations: 1.337 MB / 1.867 GB, free: 46.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/6.029, allocations: 4.219 kB / 1.867 GB, free: 46.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/6.031, allocations: 0.7608 MB / 1.868 GB, free: 46.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/6.035, allocations: 0.5926 MB / 1.869 GB, free: 46.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/6.041, allocations: 2.296 MB / 1.871 GB, free: 46.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/6.042, allocations: 1.194 MB / 1.872 GB, free: 45.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002021/6.044, allocations: 392.1 kB / 1.873 GB, free: 45.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/6.044, allocations: 102.2 kB / 1.873 GB, free: 45.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.789e-06/6.045, allocations: 0 / 1.873 GB, free: 45.62 MB / 442.7 MB Notification: Performance of Templates: time 0.08529/6.13, allocations: 45.64 MB / 1.917 GB, free: 40.89 MB / 442.7 MB