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.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.238e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08404/0.08409, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.004/2.088, allocations: 0.7116 GB / 1.021 GB, free: 121.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/2.089, allocations: 94.28 kB / 1.021 GB, free: 121.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.409/4.498, allocations: 0.5509 GB / 1.572 GB, free: 56.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/4.498, allocations: 0 / 1.572 GB, free: 56.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.185e-05/4.498, allocations: 15.98 kB / 1.572 GB, free: 56.3 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00209/4.5, allocations: 0.9519 MB / 1.573 GB, free: 55.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/4.5, allocations: 8.031 kB / 1.573 GB, free: 55.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008561/4.501, allocations: 151.1 kB / 1.573 GB, free: 55.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008641/4.502, allocations: 484.8 kB / 1.574 GB, free: 54.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/4.502, allocations: 53.95 kB / 1.574 GB, free: 54.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/4.502, allocations: 78.34 kB / 1.574 GB, free: 54.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/4.504, allocations: 0.8976 MB / 1.575 GB, free: 53.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.702e-05/4.504, allocations: 4 kB / 1.575 GB, free: 53.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/4.504, allocations: 32 kB / 1.575 GB, free: 53.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/4.504, allocations: 16 kB / 1.575 GB, free: 53.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/4.506, allocations: 0.82 MB / 1.576 GB, free: 52.73 MB / 426.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.006161/4.512, allocations: 3.419 MB / 1.579 GB, free: 49.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/4.513, allocations: 0.6145 MB / 1.579 GB, free: 48.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/4.514, allocations: 362.3 kB / 1.58 GB, free: 48.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.062e-05/4.514, allocations: 16.55 kB / 1.58 GB, free: 48.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/4.514, allocations: 47.06 kB / 1.58 GB, free: 47.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=59): time 4.368e-06/4.514, allocations: 0 / 1.58 GB, free: 47.99 MB / 426.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.01471/4.529, allocations: 4.315 MB / 1.584 GB, free: 43.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/4.529, allocations: 60.19 kB / 1.584 GB, free: 43.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007398/4.53, allocations: 0.4913 MB / 1.585 GB, free: 43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/4.53, allocations: 41.7 kB / 1.585 GB, free: 42.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/4.53, allocations: 280.5 kB / 1.585 GB, free: 42.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/4.53, allocations: 256.4 kB / 1.585 GB, free: 42.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/4.53, allocations: 12 kB / 1.585 GB, free: 42.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/4.53, allocations: 370.8 kB / 1.586 GB, free: 42.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/4.531, allocations: 429.4 kB / 1.586 GB, free: 41.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/4.532, allocations: 0.4961 MB / 1.586 GB, free: 41.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008876/4.533, allocations: 497.9 kB / 1.587 GB, free: 40.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.572e-06/4.533, allocations: 4 kB / 1.587 GB, free: 40.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00249/4.535, allocations: 1.314 MB / 1.588 GB, free: 39.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/4.535, allocations: 11.94 kB / 1.588 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.361e-06/4.535, allocations: 0 / 1.588 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007547/4.536, allocations: 326.7 kB / 1.589 GB, free: 38.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/4.537, allocations: 183.8 kB / 1.589 GB, free: 38.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007689/4.545, allocations: 10.18 MB / 1.599 GB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/4.546, allocations: 79.91 kB / 1.599 GB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/4.546, allocations: 47.98 kB / 1.599 GB, free: 27.47 MB / 426.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.0002644/4.546, allocations: 140.9 kB / 1.599 GB, free: 27.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/4.547, allocations: 67.3 kB / 1.599 GB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/4.549, allocations: 1.27 MB / 1.6 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/4.549, allocations: 8 kB / 1.6 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.04e-06/4.549, allocations: 0 / 1.6 GB, free: 25.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001911/4.551, allocations: 1.59 MB / 1.602 GB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005295/4.556, allocations: 2.259 MB / 1.604 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/4.557, allocations: 0 / 1.604 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00264/4.559, allocations: 223.7 kB / 1.604 GB, free: 21.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003521/4.56, allocations: 64.89 kB / 1.604 GB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/4.56, allocations: 43.95 kB / 1.604 GB, free: 21.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/4.562, allocations: 1.44 MB / 1.606 GB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.901e-06/4.562, allocations: 0 / 1.606 GB, free: 19.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00477/4.567, allocations: 1.606 MB / 1.607 GB, free: 18.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/4.567, allocations: 148.4 kB / 1.607 GB, free: 18.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/4.567, allocations: 31.98 kB / 1.607 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/4.569, allocations: 67.86 kB / 1.608 GB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/4.569, allocations: 60.69 kB / 1.608 GB, free: 17.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002705/4.57, allocations: 59.95 kB / 1.608 GB, free: 17.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009583/4.571, allocations: 397.1 kB / 1.608 GB, free: 17.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.387e-06/4.571, allocations: 4 kB / 1.608 GB, free: 17.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002955/4.574, allocations: 427.8 kB / 1.608 GB, free: 17.12 MB / 426.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.004967/4.579, allocations: 1.156 MB / 1.61 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004658/4.583, allocations: 1.79 MB / 1.611 GB, free: 14.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/4.583, allocations: 4 kB / 1.611 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/4.585, allocations: 0.6611 MB / 1.612 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/4.591, allocations: 489.3 kB / 1.612 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/4.598, allocations: 1.878 MB / 1.614 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/4.599, allocations: 0.9945 MB / 1.615 GB, free: 10.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002657/4.602, allocations: 281 kB / 1.615 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/4.603, allocations: 87.41 kB / 1.616 GB, free: 9.734 MB / 426.7 MB Notification: Performance of SimCode: time 2.853e-06/4.603, allocations: 0 / 1.616 GB, free: 9.734 MB / 426.7 MB Notification: Performance of Templates: time 0.3896/4.992, allocations: 37.73 MB / 1.652 GB, free: 83.66 MB / 442.7 MB