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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(ModelicaTest): time 2.024/2.024, allocations: 209.3 MB / 223.8 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.682e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3562, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.2416/0.5979, allocations: 138.8 MB / 463.6 MB, free: 4.402 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01921/0.6172, allocations: 8.32 MB / 472 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.6184, allocations: 23.81 kB / 472 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.6197, allocations: 306.4 kB / 472.3 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005257/0.625, allocations: 1.293 MB / 473.6 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004757/0.6298, allocations: 1.146 MB / 474.7 MB, free: 9.297 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.6326, allocations: 1.025 MB / 475.7 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.6342, allocations: 0.5749 MB / 476.3 MB, free: 7.695 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.6386, allocations: 1.228 MB / 477.6 MB, free: 6.465 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004676/0.6433, allocations: 1.384 MB / 478.9 MB, free: 5.078 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004485/0.6479, allocations: 1.12 MB / 480.1 MB, free: 3.957 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009646/0.6489, allocations: 88 kB / 480.1 MB, free: 3.871 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001247/0.6502, allocations: 0.5808 MB / 480.7 MB, free: 3.289 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000918/0.6511, allocations: 160 kB / 480.9 MB, free: 3.133 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004914/0.6561, allocations: 1.976 MB / 482.9 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.6562, allocations: 0 / 482.9 MB, free: 1.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.937e-06/0.6562, allocations: 3.938 kB / 482.9 MB, free: 1.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.931e-05/0.6563, allocations: 0 / 482.9 MB, free: 1.148 MB / 410.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.2694/0.9257, allocations: 1.326 MB / 484.2 MB, free: 142.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.9258, allocations: 9.562 kB / 484.2 MB, free: 142.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/0.9289, allocations: 338.1 kB / 484.5 MB, free: 142.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.9311, allocations: 0.7358 MB / 485.3 MB, free: 142 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.9314, allocations: 139.1 kB / 485.4 MB, free: 141.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.9317, allocations: 109.8 kB / 485.5 MB, free: 141.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.9368, allocations: 1.817 MB / 487.3 MB, free: 141.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-05/0.9369, allocations: 9.422 kB / 487.3 MB, free: 141.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/0.9372, allocations: 50.62 kB / 487.4 MB, free: 141.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/0.9374, allocations: 96.25 kB / 487.5 MB, free: 141.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004949/0.9424, allocations: 1.704 MB / 489.2 MB, free: 140.5 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01482/0.9572, allocations: 6.002 MB / 495.2 MB, free: 136.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.9595, allocations: 0.6593 MB / 495.8 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.9597, allocations: 17.81 kB / 495.9 MB, free: 136.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.9597, allocations: 44.81 kB / 495.9 MB, free: 136.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 4.098e-06/0.9598, allocations: 3.438 kB / 495.9 MB, free: 136.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=65): time 0.01913/0.9789, allocations: 3.927 MB / 499.8 MB, free: 134.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.979, allocations: 110.8 kB / 499.9 MB, free: 134.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.9808, allocations: 0.8592 MB / 0.4891 GB, free: 134.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00028/0.9812, allocations: 42.05 kB / 0.4891 GB, free: 134 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.9817, allocations: 0.5595 MB / 0.4896 GB, free: 133.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.9821, allocations: 246.1 kB / 0.4899 GB, free: 133.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.9822, allocations: 23.59 kB / 0.4899 GB, free: 133.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9824, allocations: 350.8 kB / 0.4902 GB, free: 133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002585/0.985, allocations: 0.551 MB / 0.4908 GB, free: 132.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/0.9882, allocations: 0.9254 MB / 0.4917 GB, free: 131.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/0.9914, allocations: 0.6902 MB / 0.4924 GB, free: 131.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.883e-05/0.9915, allocations: 2.781 kB / 0.4924 GB, free: 131.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.007013/0.9985, allocations: 1.938 MB / 0.4942 GB, free: 130.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.9986, allocations: 17.52 kB / 0.4943 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.9987, allocations: 12.28 kB / 0.4943 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008563/1.007, allocations: 1.315 MB / 0.4956 GB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.009, allocations: 170.2 kB / 0.4957 GB, free: 130 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00477/1.014, allocations: 1.734 MB / 0.4974 GB, free: 128.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/1.016, allocations: 112.6 kB / 0.4975 GB, free: 128.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/1.017, allocations: 77.08 kB / 0.4976 GB, free: 128.8 MB / 410.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.001009/1.018, allocations: 399.1 kB / 0.498 GB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/1.018, allocations: 102 kB / 0.4981 GB, free: 128.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/1.022, allocations: 1.333 MB / 0.4994 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/1.022, allocations: 7.844 kB / 0.4994 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.022, allocations: 0 / 0.4994 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.022, allocations: 7.953 kB / 0.4994 GB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006268/1.028, allocations: 2.617 MB / 0.5019 GB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/1.028, allocations: 0 / 0.5019 GB, free: 125.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003424/1.031, allocations: 315.3 kB / 0.5022 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/1.032, allocations: 68.78 kB / 0.5023 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002145/1.032, allocations: 39.97 kB / 0.5024 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/1.035, allocations: 2.85 MB / 0.5051 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.035, allocations: 3.938 kB / 0.5051 GB, free: 121.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/1.039, allocations: 1.829 MB / 0.5069 GB, free: 119.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/1.041, allocations: 311.8 kB / 0.5072 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/1.041, allocations: 27.98 kB / 0.5072 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/1.043, allocations: 71.94 kB / 0.5073 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/1.043, allocations: 56.53 kB / 0.5074 GB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/1.044, allocations: 63.95 kB / 0.5074 GB, free: 119.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001251/1.045, allocations: 0.6629 MB / 0.5081 GB, free: 118.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.045, allocations: 0 / 0.5081 GB, free: 118.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002544/1.047, allocations: 0.4959 MB / 0.5086 GB, free: 118.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (72): * Single equations (assignments): 70 * 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.003843/1.051, allocations: 0.6632 MB / 0.5092 GB, free: 117.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004057/1.055, allocations: 1.43 MB / 0.5106 GB, free: 116.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.056, allocations: 4.75 kB / 0.5106 GB, free: 116.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002569/1.058, allocations: 0.8228 MB / 0.5114 GB, free: 115.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004823/1.063, allocations: 0.5848 MB / 0.512 GB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/1.071, allocations: 3.341 MB / 0.5152 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/1.072, allocations: 1.199 MB / 0.5164 GB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002332/1.074, allocations: 397.2 kB / 0.5168 GB, free: 109.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006043/1.075, allocations: 111.3 kB / 0.5169 GB, free: 109.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/1.075, allocations: 4 kB / 0.5169 GB, free: 109.7 MB / 410.7 MB Notification: Performance of Templates: time 0.1044/1.179, allocations: 31.99 MB / 0.5482 GB, free: 77.79 MB / 410.7 MB