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.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.023e-05, allocations: 4 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4133, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2338/0.6471, allocations: 139 MB / 0.4901 GB, free: 2.402 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3952/1.042, allocations: 7.975 MB / 0.4979 GB, free: 2.453 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/1.044, allocations: 27.22 kB / 0.498 GB, free: 2.453 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/1.045, allocations: 300.2 kB / 0.4982 GB, free: 2.453 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005331/1.05, allocations: 1.303 MB / 0.4995 GB, free: 2.406 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00462/1.055, allocations: 1.115 MB / 0.5006 GB, free: 2.367 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00251/1.057, allocations: 0.94 MB / 0.5015 GB, free: 2.352 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/1.058, allocations: 406.2 kB / 0.5019 GB, free: 2.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003677/1.062, allocations: 1.19 MB / 0.5031 GB, free: 2.324 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/1.066, allocations: 1.284 MB / 0.5043 GB, free: 2.301 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/1.071, allocations: 1.178 MB / 0.5055 GB, free: 2.289 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007973/1.071, allocations: 67.47 kB / 0.5055 GB, free: 2.289 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005938/1.072, allocations: 368 kB / 0.5059 GB, free: 2.289 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005903/1.073, allocations: 116.2 kB / 0.506 GB, free: 2.289 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003813/1.076, allocations: 1.547 MB / 0.5075 GB, free: 2.188 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/1.077, allocations: 0 / 0.5075 GB, free: 2.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.256e-06/1.077, allocations: 0 / 0.5075 GB, free: 2.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.248e-05/1.077, allocations: 0 / 0.5075 GB, free: 2.188 MB / 426.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.003772/1.08, allocations: 1.145 MB / 0.5086 GB, free: 17.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/1.08, allocations: 11.5 kB / 0.5086 GB, free: 17.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002528/1.083, allocations: 303.5 kB / 0.5089 GB, free: 17.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/1.085, allocations: 0.6056 MB / 0.5095 GB, free: 17.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/1.085, allocations: 120 kB / 0.5096 GB, free: 17.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/1.085, allocations: 64.7 kB / 0.5097 GB, free: 17.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/1.088, allocations: 1.242 MB / 0.5109 GB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/1.088, allocations: 3.312 kB / 0.5109 GB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/1.089, allocations: 39.86 kB / 0.5109 GB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/1.089, allocations: 81.44 kB / 0.511 GB, free: 16.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/1.092, allocations: 1.054 MB / 0.5121 GB, free: 16.92 MB / 442.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.01325/1.105, allocations: 4.837 MB / 0.5168 GB, free: 14.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/1.106, allocations: 264.5 kB / 0.517 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/1.107, allocations: 124.8 kB / 0.5171 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/1.107, allocations: 40.12 kB / 0.5172 GB, free: 13.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 4.458e-06/1.107, allocations: 0 / 0.5172 GB, free: 13.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.01451/1.121, allocations: 1.705 MB / 0.5189 GB, free: 13.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.121, allocations: 137.9 kB / 0.519 GB, free: 13.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/1.124, allocations: 0.8186 MB / 0.5198 GB, free: 12.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/1.124, allocations: 32.89 kB / 0.5198 GB, free: 12.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008023/1.125, allocations: 0.5919 MB / 0.5204 GB, free: 12.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002867/1.125, allocations: 129.5 kB / 0.5205 GB, free: 12.52 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/1.125, allocations: 21.53 kB / 0.5205 GB, free: 12.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004252/1.126, allocations: 402.2 kB / 0.5209 GB, free: 12.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/1.127, allocations: 275.8 kB / 0.5212 GB, free: 12.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/1.129, allocations: 0.9124 MB / 0.5221 GB, free: 11.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/1.131, allocations: 476 kB / 0.5225 GB, free: 11.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/1.131, allocations: 5.094 kB / 0.5225 GB, free: 11.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005207/1.136, allocations: 1.285 MB / 0.5238 GB, free: 11.22 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/1.136, allocations: 13.22 kB / 0.5238 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.915e-05/1.136, allocations: 27.03 kB / 0.5238 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/1.139, allocations: 274.9 kB / 0.5241 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.141, allocations: 222.5 kB / 0.5243 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/1.143, allocations: 0.8861 MB / 0.5252 GB, free: 10.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/1.145, allocations: 74.78 kB / 0.5252 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002878/1.146, allocations: 69.56 kB / 0.5253 GB, free: 10.66 MB / 442.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.000746/1.147, allocations: 339.6 kB / 0.5256 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/1.147, allocations: 90.22 kB / 0.5257 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/1.148, allocations: 468.4 kB / 0.5262 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.148, allocations: 7.359 kB / 0.5262 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.148, allocations: 0 / 0.5262 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/1.148, allocations: 5.734 kB / 0.5262 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/1.151, allocations: 1.082 MB / 0.5272 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.151, allocations: 0 / 0.5272 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.153, allocations: 184.8 kB / 0.5274 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/1.153, allocations: 21.95 kB / 0.5274 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/1.153, allocations: 6.438 kB / 0.5274 GB, free: 10.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/1.156, allocations: 2.689 MB / 0.5301 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.156, allocations: 0 / 0.5301 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.158, allocations: 0.6883 MB / 0.5307 GB, free: 7.281 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006173/1.159, allocations: 202.1 kB / 0.5309 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/1.159, allocations: 10.41 kB / 0.5309 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008034/1.16, allocations: 29.06 kB / 0.531 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.16, allocations: 26.14 kB / 0.531 GB, free: 7.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-05/1.16, allocations: 18.84 kB / 0.531 GB, free: 7.129 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001202/1.161, allocations: 0.6036 MB / 0.5316 GB, free: 6.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.161, allocations: 0 / 0.5316 GB, free: 6.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002319/1.163, allocations: 427.4 kB / 0.532 GB, free: 6.914 MB / 442.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.003368/1.167, allocations: 0.6385 MB / 0.5326 GB, free: 6.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002266/1.169, allocations: 0.6758 MB / 0.5333 GB, free: 6.527 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.169, allocations: 7.062 kB / 0.5333 GB, free: 6.523 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.171, allocations: 342.1 kB / 0.5336 GB, free: 6.371 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003251/1.174, allocations: 370.1 kB / 0.534 GB, free: 6.258 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004351/1.178, allocations: 1.88 MB / 0.5358 GB, free: 5.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/1.179, allocations: 1.048 MB / 0.5368 GB, free: 4.316 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001917/1.181, allocations: 326.3 kB / 0.5371 GB, free: 4.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/1.182, allocations: 73.98 kB / 0.5372 GB, free: 4.145 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/1.182, allocations: 0 / 0.5372 GB, free: 4.145 MB / 442.7 MB Notification: Performance of Templates: time 0.05804/1.24, allocations: 20.3 MB / 0.557 GB, free: 5.434 MB / 458.7 MB