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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(ModelicaTest): time 2.198/2.198, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.813e-05, allocations: 2.5 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3363, allocations: 54.85 MB / 359.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.079/2.416, allocations: 0.8213 GB / 1.173 GB, free: 95.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/2.416, allocations: 92.75 kB / 1.173 GB, free: 95.12 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.492/5.908, allocations: 0.711 GB / 1.884 GB, free: 65.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.145e-06/5.909, allocations: 3.594 kB / 1.884 GB, free: 65.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.249e-05/5.909, allocations: 25.38 kB / 1.884 GB, free: 65.67 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00488/5.914, allocations: 1.56 MB / 1.885 GB, free: 65.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/5.914, allocations: 10.84 kB / 1.885 GB, free: 65.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/5.916, allocations: 305.5 kB / 1.886 GB, free: 64.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/5.918, allocations: 0.8235 MB / 1.886 GB, free: 64.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/5.919, allocations: 142.8 kB / 1.887 GB, free: 64.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/5.919, allocations: 103.8 kB / 1.887 GB, free: 64.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003923/5.923, allocations: 1.741 MB / 1.888 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/5.923, allocations: 5.5 kB / 1.888 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/5.923, allocations: 56.23 kB / 1.888 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/5.923, allocations: 75.97 kB / 1.888 GB, free: 64.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003405/5.927, allocations: 1.575 MB / 1.89 GB, free: 64.46 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.01092/5.938, allocations: 6.68 MB / 1.897 GB, free: 61.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/5.939, allocations: 0.6195 MB / 1.897 GB, free: 61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/5.94, allocations: 353.6 kB / 1.897 GB, free: 60.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/5.94, allocations: 245.4 kB / 1.898 GB, free: 60.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/5.94, allocations: 44.09 kB / 1.898 GB, free: 60.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=53): time 4.642e-06/5.94, allocations: 0 / 1.898 GB, free: 60.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.01326/5.954, allocations: 3.481 MB / 1.901 GB, free: 60.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/5.954, allocations: 110.6 kB / 1.901 GB, free: 59.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/5.956, allocations: 0.862 MB / 1.902 GB, free: 59.78 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002653/5.956, allocations: 41.05 kB / 1.902 GB, free: 59.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/5.957, allocations: 0.5615 MB / 1.903 GB, free: 59.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/5.957, allocations: 245.3 kB / 1.903 GB, free: 59.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/5.957, allocations: 20.31 kB / 1.903 GB, free: 59.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/5.957, allocations: 356 kB / 1.903 GB, free: 59.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/5.959, allocations: 0.5228 MB / 1.904 GB, free: 59.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/5.961, allocations: 0.8839 MB / 1.905 GB, free: 58.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/5.962, allocations: 0.6576 MB / 1.905 GB, free: 58.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.334e-06/5.962, allocations: 3.812 kB / 1.905 GB, free: 58.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003811/5.966, allocations: 1.851 MB / 1.907 GB, free: 58.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/5.966, allocations: 11.59 kB / 1.907 GB, free: 58.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/5.966, allocations: 11.03 kB / 1.907 GB, free: 58.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006282/5.973, allocations: 1.289 MB / 1.908 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/5.974, allocations: 182.8 kB / 1.909 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/5.979, allocations: 1.716 MB / 1.91 GB, free: 57.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/5.982, allocations: 113.6 kB / 1.91 GB, free: 57.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/5.982, allocations: 96.73 kB / 1.91 GB, free: 57.94 MB / 490.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.0004944/5.983, allocations: 177.4 kB / 1.911 GB, free: 57.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/5.983, allocations: 102.5 kB / 1.911 GB, free: 57.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/5.986, allocations: 1.243 MB / 1.912 GB, free: 57.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/5.986, allocations: 7.812 kB / 1.912 GB, free: 57.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-06/5.986, allocations: 3.953 kB / 1.912 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/5.986, allocations: 3.844 kB / 1.912 GB, free: 57.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/5.991, allocations: 2.474 MB / 1.914 GB, free: 57.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.784e-06/5.991, allocations: 4 kB / 1.914 GB, free: 57.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/5.993, allocations: 315.6 kB / 1.915 GB, free: 57.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/5.994, allocations: 69.31 kB / 1.915 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/5.994, allocations: 36.86 kB / 1.915 GB, free: 57.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/5.996, allocations: 2.827 MB / 1.917 GB, free: 54.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/5.996, allocations: 0 / 1.917 GB, free: 54.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003227/5.999, allocations: 1.673 MB / 1.919 GB, free: 54.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009278/6, allocations: 306.8 kB / 1.919 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/6, allocations: 22.25 kB / 1.919 GB, free: 54.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/6.002, allocations: 79.81 kB / 1.92 GB, free: 54.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/6.002, allocations: 54.11 kB / 1.92 GB, free: 54.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/6.002, allocations: 58.69 kB / 1.92 GB, free: 54.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001176/6.003, allocations: 0.6637 MB / 1.92 GB, free: 54.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.816e-06/6.003, allocations: 0 / 1.92 GB, free: 54.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002564/6.006, allocations: 0.5997 MB / 1.921 GB, free: 54.22 MB / 490.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.004157/6.01, allocations: 1.432 MB / 1.922 GB, free: 53.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00318/6.013, allocations: 1.348 MB / 1.924 GB, free: 53.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/6.013, allocations: 4.656 kB / 1.924 GB, free: 53.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/6.015, allocations: 0.7566 MB / 1.924 GB, free: 53.81 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003782/6.019, allocations: 0.5936 MB / 1.925 GB, free: 53.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/6.024, allocations: 2.258 MB / 1.927 GB, free: 53.31 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008947/6.025, allocations: 1.194 MB / 1.928 GB, free: 52.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002691/6.028, allocations: 453.8 kB / 1.929 GB, free: 52.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/6.029, allocations: 119.5 kB / 1.929 GB, free: 52.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.894e-06/6.029, allocations: 0 / 1.929 GB, free: 52.58 MB / 490.7 MB Notification: Performance of Templates: time 0.1135/6.142, allocations: 45.92 MB / 1.974 GB, free: 31.14 MB / 490.7 MB