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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(ModelicaTest): time 2.27/2.27, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.485e-05, allocations: 5.969 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.976/2.091, allocations: 0.7921 GB / 1.193 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/2.091, allocations: 88.98 kB / 1.193 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.415/5.506, allocations: 0.7035 GB / 1.896 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.072e-06/5.506, allocations: 0 / 1.896 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.54e-05/5.506, allocations: 28.59 kB / 1.896 GB, free: 74.47 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.004788/5.511, allocations: 1.57 MB / 1.898 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/5.511, allocations: 11.97 kB / 1.898 GB, free: 73.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/5.513, allocations: 309.2 kB / 1.898 GB, free: 73.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/5.515, allocations: 0.8043 MB / 1.899 GB, free: 73.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/5.515, allocations: 139.9 kB / 1.899 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/5.515, allocations: 103.7 kB / 1.899 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003742/5.519, allocations: 1.761 MB / 1.901 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/5.519, allocations: 4.594 kB / 1.901 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/5.519, allocations: 52.58 kB / 1.901 GB, free: 73.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/5.519, allocations: 80.14 kB / 1.901 GB, free: 73.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/5.523, allocations: 1.58 MB / 1.903 GB, free: 73.24 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.01181/5.535, allocations: 6.839 MB / 1.909 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/5.536, allocations: 0.7706 MB / 1.91 GB, free: 69.78 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007369/5.537, allocations: 429.4 kB / 1.91 GB, free: 69.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002562/5.537, allocations: 278.9 kB / 1.911 GB, free: 69.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/5.537, allocations: 54.17 kB / 1.911 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 1.433e-05/5.537, allocations: 0 / 1.911 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.01254/5.55, allocations: 3.759 MB / 1.914 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/5.55, allocations: 115.7 kB / 1.915 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/5.551, allocations: 0.9777 MB / 1.916 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/5.552, allocations: 45.84 kB / 1.916 GB, free: 68.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/5.552, allocations: 0.5213 MB / 1.916 GB, free: 68.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/5.552, allocations: 265 kB / 1.916 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/5.552, allocations: 18.84 kB / 1.916 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/5.553, allocations: 352.5 kB / 1.917 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/5.554, allocations: 0.5576 MB / 1.917 GB, free: 67.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/5.555, allocations: 0.8441 MB / 1.918 GB, free: 67.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/5.556, allocations: 0.6777 MB / 1.919 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.851e-06/5.556, allocations: 5.031 kB / 1.919 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003854/5.56, allocations: 1.928 MB / 1.921 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/5.56, allocations: 11.38 kB / 1.921 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/5.56, allocations: 10.41 kB / 1.921 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005641/5.566, allocations: 1.382 MB / 1.922 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000803/5.567, allocations: 137.3 kB / 1.922 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/5.57, allocations: 1.914 MB / 1.924 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/5.572, allocations: 106 kB / 1.924 GB, free: 66.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/5.572, allocations: 71.14 kB / 1.924 GB, free: 66.75 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.0003225/5.572, allocations: 170.2 kB / 1.924 GB, free: 66.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/5.572, allocations: 112.3 kB / 1.924 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003087/5.575, allocations: 1.474 MB / 1.926 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.877e-06/5.576, allocations: 7.625 kB / 1.926 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.359e-06/5.576, allocations: 0 / 1.926 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/5.576, allocations: 3.797 kB / 1.926 GB, free: 66.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005244/5.581, allocations: 2.665 MB / 1.928 GB, free: 66.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.749e-06/5.581, allocations: 7.891 kB / 1.928 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/5.583, allocations: 326 kB / 1.929 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/5.583, allocations: 67.91 kB / 1.929 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/5.584, allocations: 39.45 kB / 1.929 GB, free: 66.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/5.586, allocations: 2.828 MB / 1.932 GB, free: 63.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/5.586, allocations: 3.719 kB / 1.932 GB, free: 63.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/5.589, allocations: 1.857 MB / 1.933 GB, free: 63.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009617/5.59, allocations: 347.8 kB / 1.934 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/5.591, allocations: 31.44 kB / 1.934 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/5.592, allocations: 82.88 kB / 1.934 GB, free: 63.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/5.592, allocations: 59.88 kB / 1.934 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/5.593, allocations: 70.41 kB / 1.934 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001294/5.594, allocations: 0.776 MB / 1.935 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.58e-07/5.594, allocations: 0 / 1.935 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002334/5.596, allocations: 0.5759 MB / 1.935 GB, free: 63.01 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.00357/5.6, allocations: 1.336 MB / 1.937 GB, free: 62.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003153/5.603, allocations: 1.425 MB / 1.938 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.297e-06/5.603, allocations: 4.625 kB / 1.938 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/5.605, allocations: 0.8194 MB / 1.939 GB, free: 62.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/5.609, allocations: 0.7259 MB / 1.94 GB, free: 62.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006591/5.616, allocations: 2.391 MB / 1.942 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/5.618, allocations: 1.197 MB / 1.943 GB, free: 61.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004424/5.622, allocations: 478.8 kB / 1.944 GB, free: 61.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/5.623, allocations: 115.8 kB / 1.944 GB, free: 61.4 MB / 0.5261 GB Notification: Performance of SimCode: time 4.119e-06/5.623, allocations: 0 / 1.944 GB, free: 61.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1347/5.758, allocations: 49.87 MB / 1.992 GB, free: 37.6 MB / 0.5261 GB