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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(ModelicaTest): time 2.399/2.399, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.046e-05/5.068e-05, allocations: 8 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1603, allocations: 61.88 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.969/2.129, allocations: 0.7921 GB / 1.193 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/2.129, allocations: 87.95 kB / 1.193 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.503/5.632, allocations: 0.7035 GB / 1.896 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.968e-06/5.632, allocations: 0 / 1.896 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.69e-05/5.632, allocations: 29.66 kB / 1.896 GB, free: 75.39 MB / 0.5261 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.004624/5.637, allocations: 1.575 MB / 1.898 GB, free: 74.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/5.637, allocations: 10.69 kB / 1.898 GB, free: 74.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/5.638, allocations: 309.3 kB / 1.898 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/5.64, allocations: 0.7936 MB / 1.899 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/5.64, allocations: 141.6 kB / 1.899 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/5.641, allocations: 109.6 kB / 1.899 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003342/5.644, allocations: 1.755 MB / 1.901 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.196e-05/5.644, allocations: 9.875 kB / 1.901 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/5.644, allocations: 48.45 kB / 1.901 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/5.644, allocations: 82.38 kB / 1.901 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003119/5.648, allocations: 1.582 MB / 1.903 GB, free: 74.15 MB / 0.5261 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.01173/5.659, allocations: 6.852 MB / 1.909 GB, free: 70.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/5.662, allocations: 0.7599 MB / 1.91 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/5.663, allocations: 435.1 kB / 1.911 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/5.663, allocations: 274 kB / 1.911 GB, free: 70.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/5.664, allocations: 50.42 kB / 1.911 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 5.55e-06/5.664, allocations: 3.625 kB / 1.911 GB, free: 70.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.0148/5.678, allocations: 3.761 MB / 1.914 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/5.678, allocations: 114.8 kB / 1.915 GB, free: 69.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/5.68, allocations: 0.9757 MB / 1.916 GB, free: 69.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/5.68, allocations: 43.48 kB / 1.916 GB, free: 69.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/5.681, allocations: 0.5157 MB / 1.916 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/5.681, allocations: 270.2 kB / 1.916 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/5.681, allocations: 17.94 kB / 1.916 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/5.681, allocations: 347.2 kB / 1.917 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/5.682, allocations: 0.5642 MB / 1.917 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/5.683, allocations: 0.8409 MB / 1.918 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/5.685, allocations: 0.6804 MB / 1.919 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.8e-06/5.685, allocations: 3.375 kB / 1.919 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003868/5.689, allocations: 1.918 MB / 1.921 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/5.689, allocations: 9.25 kB / 1.921 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/5.689, allocations: 7.625 kB / 1.921 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005489/5.694, allocations: 1.397 MB / 1.922 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/5.695, allocations: 140 kB / 1.922 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/5.698, allocations: 1.907 MB / 1.924 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/5.7, allocations: 115.4 kB / 1.924 GB, free: 67.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/5.7, allocations: 72.48 kB / 1.924 GB, free: 67.66 MB / 0.5261 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.000319/5.7, allocations: 169.8 kB / 1.924 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002538/5.701, allocations: 116.4 kB / 1.924 GB, free: 67.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003082/5.704, allocations: 1.467 MB / 1.926 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.597e-06/5.704, allocations: 7.625 kB / 1.926 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8e-06/5.704, allocations: 3.5 kB / 1.926 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.75e-06/5.704, allocations: 6.391 kB / 1.926 GB, free: 67.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/5.709, allocations: 2.663 MB / 1.928 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.308e-06/5.709, allocations: 1.781 kB / 1.929 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/5.711, allocations: 330 kB / 1.929 GB, free: 67.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/5.711, allocations: 64.73 kB / 1.929 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/5.711, allocations: 46.98 kB / 1.929 GB, free: 67.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/5.714, allocations: 2.827 MB / 1.932 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/5.714, allocations: 3.625 kB / 1.932 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/5.717, allocations: 1.862 MB / 1.934 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008916/5.718, allocations: 349.8 kB / 1.934 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/5.718, allocations: 28.84 kB / 1.934 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/5.72, allocations: 81.77 kB / 1.934 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/5.72, allocations: 61.86 kB / 1.934 GB, free: 64.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/5.72, allocations: 65.89 kB / 1.934 GB, free: 64.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001258/5.721, allocations: 0.776 MB / 1.935 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.21e-07/5.721, allocations: 0 / 1.935 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002192/5.724, allocations: 0.5646 MB / 1.935 GB, free: 63.92 MB / 0.5261 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.003455/5.727, allocations: 1.339 MB / 1.937 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003115/5.73, allocations: 1.419 MB / 1.938 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.932e-06/5.73, allocations: 9.844 kB / 1.938 GB, free: 63.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/5.732, allocations: 0.8215 MB / 1.939 GB, free: 63.53 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/5.736, allocations: 0.7236 MB / 1.94 GB, free: 63.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005344/5.742, allocations: 2.387 MB / 1.942 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/5.743, allocations: 1.2 MB / 1.943 GB, free: 62.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00215/5.745, allocations: 475.8 kB / 1.944 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/5.745, allocations: 119.2 kB / 1.944 GB, free: 62.31 MB / 0.5261 GB Notification: Performance of SimCode: time 1.582e-06/5.745, allocations: 1.312 kB / 1.944 GB, free: 62.31 MB / 0.5261 GB Notification: Performance of Templates: time 0.105/5.851, allocations: 49.87 MB / 1.992 GB, free: 37.3 MB / 0.5261 GB