Running command: translateModel(Modelica.Media.Examples.Tests.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="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.63e-05, allocations: 0 / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2888, allocations: 44.52 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5028/0.7917, allocations: 134 MB / 437.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.7954, allocations: 2.23 MB / 439.6 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.7959, allocations: 3.25 kB / 439.6 MB, free: 1.523 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.7966, allocations: 179.5 kB / 439.8 MB, free: 1.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.7972, allocations: 210.1 kB / 440 MB, free: 1.516 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.7987, allocations: 396.3 kB / 440.4 MB, free: 1.496 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007567/0.7995, allocations: 438.4 kB / 440.8 MB, free: 1.492 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.7998, allocations: 170.7 kB / 441 MB, free: 1.473 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.8018, allocations: 0.7576 MB / 441.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.8023, allocations: 231.9 kB / 442 MB, free: 1.461 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.8036, allocations: 407.8 kB / 442.4 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002/0.8039, allocations: 30.22 kB / 442.4 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003983/0.8043, allocations: 361.8 kB / 442.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.8046, allocations: 106.2 kB / 442.8 MB, free: 1.457 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.8064, allocations: 1.218 MB / 444.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8064, allocations: 0 / 444.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.8064, allocations: 4 kB / 444.1 MB, free: 1.387 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.264e-05/0.8064, allocations: 0 / 444.1 MB, free: 1.387 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001997/0.8084, allocations: 0.851 MB / 444.9 MB, free: 16.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.8085, allocations: 7.875 kB / 444.9 MB, free: 16.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.8097, allocations: 170.4 kB / 445.1 MB, free: 16.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.8107, allocations: 473.5 kB / 445.5 MB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.8107, allocations: 48.44 kB / 445.6 MB, free: 16.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.8109, allocations: 69.98 kB / 445.7 MB, free: 16.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.8131, allocations: 0.9507 MB / 446.6 MB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.8131, allocations: 2.875 kB / 446.6 MB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.8133, allocations: 32.92 kB / 446.6 MB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.83e-05/0.8134, allocations: 42.45 kB / 446.7 MB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.8152, allocations: 0.8655 MB / 447.6 MB, free: 16.48 MB / 378.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.007815/0.8231, allocations: 3.384 MB / 450.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.8243, allocations: 0.6295 MB / 451.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.989e-05/0.8244, allocations: 21.47 kB / 451.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.8245, allocations: 45.59 kB / 451.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 3.326e-06/0.8245, allocations: 0 / 451.6 MB, free: 14.84 MB / 378.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02933/0.8538, allocations: 6.147 MB / 457.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.8539, allocations: 60.25 kB / 457.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/0.8549, allocations: 0.4991 MB / 458.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001807/0.8551, allocations: 44.52 kB / 458.4 MB, free: 12.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.8553, allocations: 278.2 kB / 458.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.8556, allocations: 254 kB / 458.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.8557, allocations: 12.16 kB / 458.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8558, allocations: 370.2 kB / 459.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/0.8568, allocations: 444.8 kB / 459.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.8578, allocations: 0.5091 MB / 460.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.859, allocations: 0.4972 MB / 460.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.859, allocations: 0 / 460.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003137/0.8622, allocations: 1.35 MB / 462.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.8622, allocations: 10.42 kB / 462.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.8622, allocations: 0 / 462.1 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009147/0.8632, allocations: 333.8 kB / 462.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.8649, allocations: 181.6 kB / 462.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.8751, allocations: 10.28 MB / 472.9 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.8765, allocations: 83.31 kB / 472.9 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.8766, allocations: 44.23 kB / 473 MB, free: 1.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006039/0.8773, allocations: 276.5 kB / 473.3 MB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.8775, allocations: 64.95 kB / 473.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003186/0.8807, allocations: 1.282 MB / 474.6 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.8807, allocations: 8.031 kB / 474.6 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8807, allocations: 0 / 474.6 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00257/0.8833, allocations: 1.61 MB / 476.2 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005413/0.8888, allocations: 2.272 MB / 478.5 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.8888, allocations: 3.984 kB / 478.5 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/0.891, allocations: 219.7 kB / 478.7 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.8913, allocations: 71.97 kB / 478.8 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.8914, allocations: 40.47 kB / 478.8 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.8931, allocations: 1.447 MB / 480.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8931, allocations: 256 / 480.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/0.8968, allocations: 1.626 MB / 481.9 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.8972, allocations: 148.8 kB / 482 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.8975, allocations: 31.86 kB / 482.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.899, allocations: 71.91 kB / 482.1 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.8992, allocations: 61.59 kB / 482.2 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/0.8993, allocations: 60.73 kB / 482.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006684/0.9, allocations: 401.2 kB / 482.7 MB, free: 13.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.9, allocations: 0 / 482.7 MB, free: 13.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001557/0.9016, allocations: 341 kB / 483 MB, free: 13.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 76 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002233/0.9039, allocations: 443.8 kB / 483.4 MB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003763/0.9076, allocations: 1.863 MB / 485.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.9077, allocations: 7.078 kB / 485.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.9092, allocations: 0.683 MB / 486 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/0.9135, allocations: 489.7 kB / 486.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006451/0.92, allocations: 2.519 MB / 489 MB, free: 10.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.9208, allocations: 0.9911 MB / 490 MB, free: 9.723 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001806/0.9227, allocations: 277.7 kB / 490.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.9232, allocations: 93.45 kB / 490.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of SimCode: time 1.193e-06/0.9232, allocations: 0 / 490.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of Templates: time 0.06101/0.9842, allocations: 24.27 MB / 0.5025 GB, free: 1.176 MB / 410.7 MB