Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 270 MB / 283.6 MB, free: 3.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.889e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.991/2.107, allocations: 0.7929 GB / 1.194 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/2.107, allocations: 95.94 kB / 1.194 GB, free: 44.31 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.699/5.806, allocations: 0.7268 GB / 1.92 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.974e-06/5.806, allocations: 0.8125 kB / 1.92 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.736e-05/5.806, allocations: 22.25 kB / 1.92 GB, free: 78.48 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004068/5.81, allocations: 1.389 MB / 1.922 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/5.81, allocations: 10.25 kB / 1.922 GB, free: 77.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/5.812, allocations: 284.7 kB / 1.922 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/5.814, allocations: 0.67 MB / 1.923 GB, free: 77.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/5.814, allocations: 119.5 kB / 1.923 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/5.814, allocations: 65.38 kB / 1.923 GB, free: 77.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/5.817, allocations: 1.222 MB / 1.924 GB, free: 77.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/5.817, allocations: 3.188 kB / 1.924 GB, free: 77.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/5.817, allocations: 30.16 kB / 1.924 GB, free: 77.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.479e-05/5.817, allocations: 67.56 kB / 1.924 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/5.819, allocations: 1.003 MB / 1.925 GB, free: 77.23 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.007011/5.826, allocations: 4.801 MB / 1.93 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/5.827, allocations: 256.2 kB / 1.93 GB, free: 74.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/5.827, allocations: 146.8 kB / 1.93 GB, free: 74.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/5.827, allocations: 271.7 kB / 1.931 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/5.827, allocations: 38.33 kB / 1.931 GB, free: 74.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.92e-06/5.827, allocations: 0 / 1.931 GB, free: 74.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.006513/5.834, allocations: 1.609 MB / 1.932 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/5.834, allocations: 132.4 kB / 1.932 GB, free: 73.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/5.835, allocations: 0.8195 MB / 1.933 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/5.835, allocations: 37.45 kB / 1.933 GB, free: 73.11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/5.835, allocations: 0.5616 MB / 1.934 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/5.836, allocations: 137.6 kB / 1.934 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/5.836, allocations: 18.03 kB / 1.934 GB, free: 72.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000143/5.836, allocations: 401.4 kB / 1.934 GB, free: 72.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000546/5.836, allocations: 263.7 kB / 1.934 GB, free: 72.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/5.837, allocations: 0.8431 MB / 1.935 GB, free: 71.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/5.838, allocations: 446.6 kB / 1.936 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/5.838, allocations: 12.64 kB / 1.936 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002326/5.84, allocations: 1.15 MB / 1.937 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/5.84, allocations: 14.16 kB / 1.937 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/5.84, allocations: 20.91 kB / 1.937 GB, free: 71.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/5.842, allocations: 292.7 kB / 1.937 GB, free: 71.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/5.843, allocations: 203.6 kB / 1.937 GB, free: 71.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/5.844, allocations: 0.9048 MB / 1.938 GB, free: 70.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/5.845, allocations: 63.12 kB / 1.938 GB, free: 70.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/5.845, allocations: 67.16 kB / 1.938 GB, free: 70.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002307/5.845, allocations: 182 kB / 1.939 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/5.845, allocations: 97.08 kB / 1.939 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/5.847, allocations: 0.5103 MB / 1.939 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/5.847, allocations: 3.844 kB / 1.939 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.208e-06/5.847, allocations: 5.344 kB / 1.939 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.965e-06/5.847, allocations: 0 / 1.939 GB, free: 70.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/5.849, allocations: 1.109 MB / 1.94 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.019e-06/5.849, allocations: 0 / 1.94 GB, free: 70.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/5.85, allocations: 191.6 kB / 1.94 GB, free: 70.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/5.85, allocations: 21.34 kB / 1.94 GB, free: 70.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/5.85, allocations: 6.656 kB / 1.94 GB, free: 70.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/5.852, allocations: 2.684 MB / 1.943 GB, free: 67.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.917e-06/5.852, allocations: 0 / 1.943 GB, free: 67.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/5.853, allocations: 0.6948 MB / 1.944 GB, free: 67.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/5.854, allocations: 208.5 kB / 1.944 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/5.854, allocations: 6.812 kB / 1.944 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/5.855, allocations: 28.28 kB / 1.944 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/5.855, allocations: 25.8 kB / 1.944 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/5.855, allocations: 20.66 kB / 1.944 GB, free: 67.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009845/5.856, allocations: 0.6066 MB / 1.945 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.7e-07/5.856, allocations: 0 / 1.945 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002033/5.858, allocations: 470.9 kB / 1.945 GB, free: 67.15 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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.003231/5.861, allocations: 1.3 MB / 1.946 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001526/5.863, allocations: 0.6338 MB / 1.947 GB, free: 66.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.544e-06/5.863, allocations: 0 / 1.947 GB, free: 66.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/5.864, allocations: 348.5 kB / 1.947 GB, free: 66.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/5.866, allocations: 417.4 kB / 1.948 GB, free: 66.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/5.869, allocations: 1.156 MB / 1.949 GB, free: 66.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/5.869, allocations: 1.047 MB / 1.95 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001464/5.871, allocations: 379.8 kB / 1.95 GB, free: 65.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/5.871, allocations: 81.72 kB / 1.95 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.82e-06/5.871, allocations: 3.938 kB / 1.95 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.06165/5.933, allocations: 33.85 MB / 1.983 GB, free: 49.83 MB / 0.5261 GB