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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.176e-05, allocations: 0 / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3247, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.945/2.269, allocations: 0.8269 GB / 1.2 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/2.27, allocations: 97.52 kB / 1.2 GB, free: 159.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.248/5.518, allocations: 0.7371 GB / 1.937 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.471e-06/5.518, allocations: 0 / 1.937 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.137e-05/5.518, allocations: 20 kB / 1.937 GB, free: 9.555 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003546/5.521, allocations: 1.38 MB / 1.939 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/5.522, allocations: 15.98 kB / 1.939 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/5.523, allocations: 274.6 kB / 1.939 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/5.525, allocations: 0.6543 MB / 1.94 GB, free: 7.148 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/5.525, allocations: 121.4 kB / 1.94 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/5.525, allocations: 67.95 kB / 1.94 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/5.527, allocations: 1.219 MB / 1.941 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/5.527, allocations: 7.938 kB / 1.941 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/5.528, allocations: 28 kB / 1.941 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-05/5.528, allocations: 65.28 kB / 1.941 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/5.53, allocations: 0.9981 MB / 1.942 GB, free: 4.559 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.3181/5.848, allocations: 4.837 MB / 1.947 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/5.848, allocations: 252.7 kB / 1.947 GB, free: 76.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/5.849, allocations: 142.4 kB / 1.947 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/5.849, allocations: 247 kB / 1.947 GB, free: 76.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/5.849, allocations: 40.27 kB / 1.947 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 3.357e-06/5.849, allocations: 0.5312 kB / 1.947 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.006365/5.855, allocations: 1.608 MB / 1.949 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/5.856, allocations: 131.6 kB / 1.949 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/5.857, allocations: 0.8206 MB / 1.95 GB, free: 75.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/5.857, allocations: 35.83 kB / 1.95 GB, free: 75.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/5.857, allocations: 0.5644 MB / 1.95 GB, free: 75.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/5.858, allocations: 135.2 kB / 1.951 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/5.858, allocations: 18.75 kB / 1.951 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001462/5.858, allocations: 400 kB / 1.951 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/5.858, allocations: 257.3 kB / 1.951 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008135/5.859, allocations: 0.8432 MB / 1.952 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000806/5.86, allocations: 454.1 kB / 1.953 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/5.86, allocations: 8.891 kB / 1.953 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002467/5.862, allocations: 1.146 MB / 1.954 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/5.863, allocations: 19.12 kB / 1.954 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/5.863, allocations: 21.47 kB / 1.954 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/5.864, allocations: 276.4 kB / 1.954 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/5.865, allocations: 206.8 kB / 1.954 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/5.866, allocations: 0.9037 MB / 1.955 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/5.867, allocations: 64.92 kB / 1.955 GB, free: 73.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/5.867, allocations: 71.06 kB / 1.955 GB, free: 73.42 MB / 0.5105 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.0002283/5.868, allocations: 178.5 kB / 1.955 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/5.868, allocations: 93.28 kB / 1.955 GB, free: 73.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/5.869, allocations: 479.5 kB / 1.956 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.067e-06/5.869, allocations: 3.25 kB / 1.956 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.276e-06/5.869, allocations: 3.406 kB / 1.956 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.368e-06/5.869, allocations: 3.375 kB / 1.956 GB, free: 73.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/5.871, allocations: 1.106 MB / 1.957 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.796e-06/5.871, allocations: 0 / 1.957 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/5.872, allocations: 184.2 kB / 1.957 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/5.873, allocations: 23.58 kB / 1.957 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/5.873, allocations: 11.47 kB / 1.957 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/5.874, allocations: 2.67 MB / 1.96 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.538e-06/5.874, allocations: 3.141 kB / 1.96 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/5.876, allocations: 0.6954 MB / 1.96 GB, free: 70.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/5.876, allocations: 203 kB / 1.961 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/5.876, allocations: 9.125 kB / 1.961 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/5.877, allocations: 38.16 kB / 1.961 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/5.877, allocations: 18.52 kB / 1.961 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.207e-05/5.877, allocations: 20.45 kB / 1.961 GB, free: 69.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009632/5.878, allocations: 0.6049 MB / 1.961 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.17e-07/5.878, allocations: 0 / 1.961 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002152/5.88, allocations: 0.5267 MB / 1.962 GB, free: 69.84 MB / 0.5105 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.003695/5.884, allocations: 1.422 MB / 1.963 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001587/5.885, allocations: 0.6201 MB / 1.964 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.441e-06/5.885, allocations: 2.438 kB / 1.964 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/5.887, allocations: 357.9 kB / 1.964 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/5.889, allocations: 417.6 kB / 1.965 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/5.891, allocations: 1.153 MB / 1.966 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/5.892, allocations: 1.046 MB / 1.967 GB, free: 68.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001298/5.893, allocations: 310.9 kB / 1.967 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/5.894, allocations: 77.64 kB / 1.967 GB, free: 68.49 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/5.894, allocations: 0 / 1.967 GB, free: 68.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.06837/5.962, allocations: 35.07 MB / 2.001 GB, free: 67.86 MB / 0.5105 GB