Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.815e-05, allocations: 4 kB / 258.8 MB, free: 7.855 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3091, allocations: 44.51 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5417/0.8509, allocations: 134.2 MB / 437.5 MB, free: 1.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.8545, allocations: 2.227 MB / 439.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000314/0.8549, allocations: 9.281 kB / 439.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.8555, allocations: 163.1 kB / 439.9 MB, free: 1.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.8561, allocations: 209.4 kB / 440.1 MB, free: 1.527 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.8575, allocations: 386.6 kB / 440.5 MB, free: 1.508 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000667/0.8582, allocations: 444.7 kB / 440.9 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.8583, allocations: 40.86 kB / 441 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.8602, allocations: 0.746 MB / 441.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.8606, allocations: 204.7 kB / 441.9 MB, free: 1.488 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.862, allocations: 403.3 kB / 442.3 MB, free: 1.484 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.8622, allocations: 24.94 kB / 442.3 MB, free: 1.484 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.8624, allocations: 187.9 kB / 442.5 MB, free: 1.484 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002665/0.8627, allocations: 69.44 kB / 442.6 MB, free: 1.484 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.864, allocations: 0.8345 MB / 443.4 MB, free: 1.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.864, allocations: 0 / 443.4 MB, free: 1.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.8641, allocations: 0 / 443.4 MB, free: 1.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.8641, allocations: 4 kB / 443.4 MB, free: 1.434 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001411/0.8655, allocations: 0.6587 MB / 444.1 MB, free: 16.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8656, allocations: 9.125 kB / 444.1 MB, free: 16.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.8666, allocations: 146 kB / 444.2 MB, free: 16.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/0.8674, allocations: 366.7 kB / 444.6 MB, free: 16.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.8674, allocations: 31.67 kB / 444.6 MB, free: 16.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.829e-05/0.8675, allocations: 39.12 kB / 444.6 MB, free: 16.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.8688, allocations: 0.5597 MB / 445.2 MB, free: 16.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.8688, allocations: 2.188 kB / 445.2 MB, free: 16.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.8689, allocations: 19.22 kB / 445.2 MB, free: 16.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.8689, allocations: 10.84 kB / 445.2 MB, free: 16.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.8699, allocations: 446.7 kB / 445.7 MB, free: 16.61 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.004882/0.8748, allocations: 2.052 MB / 447.7 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.8751, allocations: 156.8 kB / 447.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.8752, allocations: 6.031 kB / 447.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.8752, allocations: 37.12 kB / 447.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.8752, allocations: 0 / 447.9 MB, free: 15.37 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.009459/0.8847, allocations: 1.67 MB / 449.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.8848, allocations: 57.16 kB / 449.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006722/0.8855, allocations: 429.6 kB / 450.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.8856, allocations: 35.77 kB / 450.1 MB, free: 14.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.8858, allocations: 320.8 kB / 450.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.8859, allocations: 86.97 kB / 450.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.8859, allocations: 12.62 kB / 450.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.8861, allocations: 356.7 kB / 450.9 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.8865, allocations: 133.9 kB / 451 MB, free: 13.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.887, allocations: 433.8 kB / 451.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.8874, allocations: 224.3 kB / 451.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.8875, allocations: 2.875 kB / 451.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001401/0.8889, allocations: 0.63 MB / 452.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.8889, allocations: 8.312 kB / 452.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.8889, allocations: 11.56 kB / 452.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.8892, allocations: 62.72 kB / 452.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008385/0.89, allocations: 144.8 kB / 452.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.8919, allocations: 1.847 MB / 454.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/0.8927, allocations: 35.62 kB / 454.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.8928, allocations: 40.75 kB / 454.4 MB, free: 11.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.8931, allocations: 211.6 kB / 454.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.8932, allocations: 48.2 kB / 454.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.894, allocations: 290.2 kB / 454.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.894, allocations: 5.75 kB / 454.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.894, allocations: 0 / 454.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006597/0.8947, allocations: 0.5384 MB / 455.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.896, allocations: 0.6921 MB / 456.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8961, allocations: 0 / 456.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000484/0.8966, allocations: 61.94 kB / 456.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.8967, allocations: 19.27 kB / 456.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.8967, allocations: 9.906 kB / 456.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.8978, allocations: 1.282 MB / 457.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8979, allocations: 0 / 457.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009382/0.8988, allocations: 426.5 kB / 458 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.899, allocations: 114.2 kB / 458.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.8992, allocations: 8.266 kB / 458.1 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.8997, allocations: 22.66 kB / 458.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.8998, allocations: 20.11 kB / 458.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.8998, allocations: 11.34 kB / 458.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005292/0.9003, allocations: 325.4 kB / 458.5 MB, free: 8.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9004, allocations: 0 / 458.5 MB, free: 8.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001124/0.9015, allocations: 215.5 kB / 458.7 MB, free: 8.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.001984/0.9035, allocations: 395.5 kB / 459.1 MB, free: 8.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.9047, allocations: 462 kB / 459.5 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9047, allocations: 0 / 459.5 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.9051, allocations: 215 kB / 459.7 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/0.907, allocations: 217.2 kB / 459.9 MB, free: 8.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.909, allocations: 1.012 MB / 460.9 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.9095, allocations: 0.839 MB / 461.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009086/0.9104, allocations: 138.7 kB / 461.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.9106, allocations: 44.88 kB / 462 MB, free: 7.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.9106, allocations: 0 / 462 MB, free: 7.07 MB / 378.7 MB Notification: Performance of Templates: time 0.02807/0.9387, allocations: 11.18 MB / 473.1 MB, free: 2.621 MB / 378.7 MB