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.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(ModelicaTest): time 1.933/1.933, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.965e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3557, allocations: 48.69 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.236/0.5918, allocations: 138.9 MB / 463.8 MB, free: 4.25 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01751/0.6093, allocations: 8.311 MB / 472.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/0.6105, allocations: 27.75 kB / 472.1 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.6116, allocations: 286.5 kB / 472.4 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005158/0.6168, allocations: 1.293 MB / 473.7 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.6213, allocations: 1.115 MB / 474.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002322/0.6237, allocations: 0.9354 MB / 475.7 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008046/0.6245, allocations: 391.4 kB / 476.1 MB, free: 7.879 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.6289, allocations: 1.185 MB / 477.3 MB, free: 6.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006472/0.6354, allocations: 1.279 MB / 478.6 MB, free: 5.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006046/0.6415, allocations: 1.104 MB / 479.7 MB, free: 4.305 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.6427, allocations: 68 kB / 479.8 MB, free: 4.238 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009959/0.6437, allocations: 351.2 kB / 480.1 MB, free: 3.895 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.6445, allocations: 116 kB / 480.2 MB, free: 3.781 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005511/0.65, allocations: 1.551 MB / 481.8 MB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6501, allocations: 0 / 481.8 MB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6501, allocations: 0 / 481.8 MB, free: 2.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.124e-05/0.6502, allocations: 4 kB / 481.8 MB, free: 2.223 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005433/0.6556, allocations: 1.142 MB / 482.9 MB, free: 1.031 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.6557, allocations: 8.031 kB / 482.9 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/0.6596, allocations: 306.5 kB / 483.2 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.6623, allocations: 0.6094 MB / 483.8 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2747/0.937, allocations: 113.2 kB / 483.9 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003006/0.9374, allocations: 63.14 kB / 484 MB, free: 142.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003294/0.9407, allocations: 1.246 MB / 485.3 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.9408, allocations: 6.469 kB / 485.3 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.941, allocations: 32.31 kB / 485.3 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.9412, allocations: 81.73 kB / 485.4 MB, free: 142.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003002/0.9442, allocations: 1.054 MB / 486.4 MB, free: 141.9 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.009346/0.9536, allocations: 4.502 MB / 490.9 MB, free: 138.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.9546, allocations: 264.2 kB / 491.2 MB, free: 138.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.9547, allocations: 17.2 kB / 491.2 MB, free: 138.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.9548, allocations: 42.19 kB / 491.2 MB, free: 138.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.848e-06/0.9548, allocations: 0 / 491.2 MB, free: 138.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.01074/0.9655, allocations: 1.703 MB / 492.9 MB, free: 137.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.9656, allocations: 137.7 kB / 493.1 MB, free: 137.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/0.9674, allocations: 0.8121 MB / 493.9 MB, free: 137.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.9676, allocations: 36.11 kB / 493.9 MB, free: 137.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004843/0.9681, allocations: 0.5793 MB / 494.5 MB, free: 136.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.9683, allocations: 128.2 kB / 494.6 MB, free: 136.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.9684, allocations: 24.44 kB / 494.7 MB, free: 136.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.9686, allocations: 399.8 kB / 495 MB, free: 136.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008415/0.9694, allocations: 279.4 kB / 495.3 MB, free: 136.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.9706, allocations: 0.9111 MB / 496.2 MB, free: 135.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.9719, allocations: 473.5 kB / 496.7 MB, free: 135 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/0.9719, allocations: 10.84 kB / 496.7 MB, free: 135 MB / 410.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003561/0.9755, allocations: 1.277 MB / 498 MB, free: 134.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.9756, allocations: 15.55 kB / 498 MB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.99e-05/0.9756, allocations: 21.41 kB / 498 MB, free: 134.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.9777, allocations: 273.9 kB / 498.3 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.979, allocations: 220.8 kB / 498.5 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.9806, allocations: 0.8963 MB / 499.4 MB, free: 133.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.9821, allocations: 65.86 kB / 499.5 MB, free: 133.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.9823, allocations: 72.22 kB / 499.5 MB, free: 133.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (122): * Single equations (assignments): 121 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.00067/0.983, allocations: 343.8 kB / 499.9 MB, free: 133.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.9832, allocations: 91.2 kB / 500 MB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.9847, allocations: 469.4 kB / 0.4887 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.9847, allocations: 4.375 kB / 0.4887 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.9847, allocations: 5.469 kB / 0.4887 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.9848, allocations: 6.484 kB / 0.4887 GB, free: 133.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.9874, allocations: 1.086 MB / 0.4898 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.9875, allocations: 4.797 kB / 0.4898 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.9894, allocations: 186.4 kB / 0.4899 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.9896, allocations: 20.42 kB / 0.49 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.686e-05/0.9897, allocations: 10.8 kB / 0.49 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.9919, allocations: 2.693 MB / 0.4926 GB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.9919, allocations: 0 / 0.4926 GB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.9937, allocations: 0.6874 MB / 0.4933 GB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005561/0.9943, allocations: 201.6 kB / 0.4935 GB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.9945, allocations: 6.75 kB / 0.4935 GB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007924/0.9953, allocations: 29.17 kB / 0.4935 GB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.9955, allocations: 26.12 kB / 0.4935 GB, free: 129.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.9955, allocations: 22.06 kB / 0.4935 GB, free: 129.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001159/0.9967, allocations: 0.5983 MB / 0.4941 GB, free: 128.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.9967, allocations: 0 / 0.4941 GB, free: 128.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002357/0.9991, allocations: 415 kB / 0.4945 GB, free: 128.9 MB / 410.7 MB 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 (32): * Single equations (assignments): 30 * 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.003227/1.002, allocations: 0.6276 MB / 0.4951 GB, free: 128.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002307/1.005, allocations: 0.6784 MB / 0.4958 GB, free: 128.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.005, allocations: 1.562 kB / 0.4958 GB, free: 128.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.006, allocations: 359.3 kB / 0.4961 GB, free: 128.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/1.01, allocations: 380.1 kB / 0.4965 GB, free: 127.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/1.014, allocations: 1.877 MB / 0.4983 GB, free: 126.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007094/1.014, allocations: 1.041 MB / 0.4994 GB, free: 125.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002354/1.017, allocations: 330.8 kB / 0.4997 GB, free: 125.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/1.017, allocations: 79.48 kB / 0.4997 GB, free: 125.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/1.017, allocations: 0 / 0.4997 GB, free: 125.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04818/1.065, allocations: 20.31 MB / 0.5196 GB, free: 107.4 MB / 410.7 MB