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.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(ModelicaTest): time 2.503/2.503, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.012e-05, allocations: 7.984 kB / 323.4 MB, free: 4.297 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.321, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.948/2.269, allocations: 0.8261 GB / 1.199 GB, free: 160.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/2.269, allocations: 89.03 kB / 1.199 GB, free: 160 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.066/5.335, allocations: 0.7124 GB / 1.912 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.13e-06/5.335, allocations: 0 / 1.912 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.603e-05/5.335, allocations: 32.16 kB / 1.912 GB, free: 33.52 MB / 0.5105 GB 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.004171/5.339, allocations: 1.555 MB / 1.913 GB, free: 31.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/5.339, allocations: 8.031 kB / 1.913 GB, free: 31.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/5.341, allocations: 318.2 kB / 1.914 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/5.343, allocations: 0.7907 MB / 1.914 GB, free: 30.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/5.343, allocations: 145.3 kB / 1.915 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/5.343, allocations: 111.9 kB / 1.915 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/5.347, allocations: 1.757 MB / 1.916 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/5.347, allocations: 3.938 kB / 1.916 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/5.347, allocations: 51.98 kB / 1.916 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/5.347, allocations: 73.97 kB / 1.917 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/5.35, allocations: 1.577 MB / 1.918 GB, free: 26.95 MB / 0.5105 GB 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.01163/5.362, allocations: 6.867 MB / 1.925 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/5.363, allocations: 0.7897 MB / 1.926 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/5.364, allocations: 430.2 kB / 1.926 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/5.364, allocations: 244.3 kB / 1.926 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/5.364, allocations: 51.36 kB / 1.926 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=60): time 3.987e-06/5.364, allocations: 0 / 1.926 GB, free: 18.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72): time 0.01153/5.376, allocations: 3.759 MB / 1.93 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/5.376, allocations: 119.6 kB / 1.93 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/5.378, allocations: 0.9792 MB / 1.931 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/5.378, allocations: 41.7 kB / 1.931 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/5.378, allocations: 0.5185 MB / 1.932 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/5.378, allocations: 260.3 kB / 1.932 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/5.379, allocations: 20 kB / 1.932 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.593e-05/5.379, allocations: 345.9 kB / 1.932 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/5.38, allocations: 0.5603 MB / 1.933 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/5.381, allocations: 0.8465 MB / 1.934 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/5.382, allocations: 0.6716 MB / 1.934 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.251e-06/5.382, allocations: 4 kB / 1.934 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003576/5.386, allocations: 1.929 MB / 1.936 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/5.386, allocations: 8.625 kB / 1.936 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/5.386, allocations: 8 kB / 1.936 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005484/5.391, allocations: 1.359 MB / 1.937 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007934/5.392, allocations: 147.7 kB / 1.938 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/5.395, allocations: 1.906 MB / 1.939 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/5.397, allocations: 111.8 kB / 1.94 GB, free: 4.156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/5.397, allocations: 67.98 kB / 1.94 GB, free: 4.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.0003252/5.397, allocations: 168.7 kB / 1.94 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002633/5.398, allocations: 110.7 kB / 1.94 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/5.401, allocations: 1.363 MB / 1.941 GB, free: 2.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/5.401, allocations: 11.98 kB / 1.941 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.972e-06/5.401, allocations: 0 / 1.941 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/5.401, allocations: 8.172 kB / 1.941 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3176/5.718, allocations: 2.661 MB / 1.944 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.132e-06/5.718, allocations: 4.5 kB / 1.944 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/5.721, allocations: 331.3 kB / 1.944 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/5.721, allocations: 72.94 kB / 1.944 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/5.721, allocations: 38.88 kB / 1.944 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/5.723, allocations: 2.828 MB / 1.947 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/5.723, allocations: 0 / 1.947 GB, free: 81.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/5.727, allocations: 1.857 MB / 1.949 GB, free: 81.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009245/5.728, allocations: 346.3 kB / 1.949 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/5.728, allocations: 27.11 kB / 1.949 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/5.73, allocations: 83.94 kB / 1.949 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/5.73, allocations: 60.88 kB / 1.949 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/5.73, allocations: 64.86 kB / 1.949 GB, free: 81.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001359/5.732, allocations: 0.7779 MB / 1.95 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.13e-07/5.732, allocations: 2.344 kB / 1.95 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002491/5.734, allocations: 0.6232 MB / 1.951 GB, free: 81.17 MB / 0.5105 GB 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 (78): * Single equations (assignments): 76 * 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.003969/5.738, allocations: 1.455 MB / 1.952 GB, free: 80.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00315/5.741, allocations: 1.423 MB / 1.954 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.683e-06/5.741, allocations: 4.062 kB / 1.954 GB, free: 80.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002027/5.743, allocations: 0.8138 MB / 1.954 GB, free: 80.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004515/5.748, allocations: 0.7186 MB / 1.955 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/5.754, allocations: 2.4 MB / 1.957 GB, free: 80.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000895/5.755, allocations: 1.201 MB / 1.959 GB, free: 79.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002211/5.757, allocations: 400.7 kB / 1.959 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/5.757, allocations: 117.1 kB / 1.959 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.918e-06/5.757, allocations: 0 / 1.959 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.09816/5.856, allocations: 51.03 MB / 2.009 GB, free: 78.16 MB / 0.5105 GB