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.755/1.755, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.064e-05, allocations: 4 kB / 255.4 MB, free: 2.727 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07898/0.07903, allocations: 44.51 MB / 299.9 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.84/1.919, allocations: 0.7076 GB / 1 GB, free: 110.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.919, allocations: 86.72 kB / 1.001 GB, free: 110.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.614/4.533, allocations: 0.5557 GB / 1.556 GB, free: 61.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.273e-06/4.533, allocations: 0 / 1.556 GB, free: 61.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.563e-05/4.533, allocations: 12 kB / 1.556 GB, free: 61.72 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00225/4.536, allocations: 0.9559 MB / 1.557 GB, free: 60.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/4.536, allocations: 12.02 kB / 1.557 GB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/4.537, allocations: 143.1 kB / 1.557 GB, free: 60.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/4.537, allocations: 492 kB / 1.558 GB, free: 60.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/4.538, allocations: 54 kB / 1.558 GB, free: 60 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/4.538, allocations: 79.89 kB / 1.558 GB, free: 59.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/4.54, allocations: 0.8937 MB / 1.559 GB, free: 59.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/4.54, allocations: 0 / 1.559 GB, free: 59.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/4.54, allocations: 32 kB / 1.559 GB, free: 59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/4.54, allocations: 20 kB / 1.559 GB, free: 58.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/4.541, allocations: 0.82 MB / 1.56 GB, free: 58.16 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00582/4.547, allocations: 3.428 MB / 1.563 GB, free: 54.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009699/4.548, allocations: 0.6111 MB / 1.564 GB, free: 53.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005467/4.549, allocations: 350.5 kB / 1.564 GB, free: 53.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.379e-05/4.549, allocations: 24.53 kB / 1.564 GB, free: 53.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/4.549, allocations: 50.39 kB / 1.564 GB, free: 53.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=59): time 4.038e-06/4.549, allocations: 0 / 1.564 GB, free: 53.43 MB / 410.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.01415/4.563, allocations: 4.303 MB / 1.568 GB, free: 49.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/4.563, allocations: 64.17 kB / 1.568 GB, free: 48.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007339/4.564, allocations: 0.4886 MB / 1.569 GB, free: 48.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/4.564, allocations: 41.7 kB / 1.569 GB, free: 48.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/4.564, allocations: 282.1 kB / 1.569 GB, free: 48.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/4.564, allocations: 248.4 kB / 1.569 GB, free: 47.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/4.564, allocations: 16 kB / 1.569 GB, free: 47.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/4.565, allocations: 366.8 kB / 1.57 GB, free: 47.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/4.565, allocations: 432.5 kB / 1.57 GB, free: 47.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/4.566, allocations: 0.4922 MB / 1.571 GB, free: 46.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008563/4.567, allocations: 0.4953 MB / 1.571 GB, free: 46.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-06/4.567, allocations: 4 kB / 1.571 GB, free: 46.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002456/4.569, allocations: 1.306 MB / 1.572 GB, free: 44.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/4.569, allocations: 8 kB / 1.572 GB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.902e-06/4.57, allocations: 3.562 kB / 1.572 GB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007256/4.57, allocations: 326.6 kB / 1.573 GB, free: 44.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/4.571, allocations: 178.1 kB / 1.573 GB, free: 44.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/4.579, allocations: 10.2 MB / 1.583 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/4.58, allocations: 79.91 kB / 1.583 GB, free: 33.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/4.58, allocations: 51.98 kB / 1.583 GB, free: 32.98 MB / 410.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.0002787/4.58, allocations: 140.8 kB / 1.583 GB, free: 32.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/4.58, allocations: 63.34 kB / 1.583 GB, free: 32.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002665/4.583, allocations: 1.266 MB / 1.584 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/4.583, allocations: 8 kB / 1.584 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.27e-06/4.583, allocations: 0 / 1.584 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001984/4.585, allocations: 1.593 MB / 1.586 GB, free: 29.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004322/4.589, allocations: 2.251 MB / 1.588 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.057e-06/4.59, allocations: 3.938 kB / 1.588 GB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/4.591, allocations: 219.9 kB / 1.588 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/4.591, allocations: 72.72 kB / 1.588 GB, free: 27.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/4.592, allocations: 43.92 kB / 1.588 GB, free: 27.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/4.593, allocations: 1.44 MB / 1.59 GB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/4.593, allocations: 0 / 1.59 GB, free: 25.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/4.596, allocations: 1.605 MB / 1.591 GB, free: 23.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/4.596, allocations: 144.4 kB / 1.592 GB, free: 23.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/4.596, allocations: 39.92 kB / 1.592 GB, free: 23.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009452/4.597, allocations: 75.78 kB / 1.592 GB, free: 23.55 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/4.597, allocations: 56.66 kB / 1.592 GB, free: 23.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/4.597, allocations: 63.94 kB / 1.592 GB, free: 23.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005437/4.598, allocations: 397.1 kB / 1.592 GB, free: 23.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.78e-07/4.598, allocations: 0 / 1.592 GB, free: 23.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001652/4.6, allocations: 431.8 kB / 1.593 GB, free: 22.62 MB / 410.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.002796/4.602, allocations: 1.148 MB / 1.594 GB, free: 21.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002613/4.605, allocations: 1.791 MB / 1.595 GB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.799e-06/4.605, allocations: 4 kB / 1.595 GB, free: 19.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/4.606, allocations: 0.6689 MB / 1.596 GB, free: 18.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/4.609, allocations: 484.2 kB / 1.597 GB, free: 18.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/4.613, allocations: 1.882 MB / 1.598 GB, free: 16.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/4.614, allocations: 0.9906 MB / 1.599 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001501/4.615, allocations: 261 kB / 1.6 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003953/4.615, allocations: 91.39 kB / 1.6 GB, free: 15.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.859e-06/4.615, allocations: 4 kB / 1.6 GB, free: 15.25 MB / 410.7 MB Notification: Performance of Templates: time 0.3057/4.921, allocations: 37.82 MB / 1.637 GB, free: 67.18 MB / 410.7 MB