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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(Modelica): time 1.647/1.647, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.96e-05/4.99e-05, allocations: 4 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2246, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.718/1.943, allocations: 0.6954 GB / 0.953 GB, free: 128.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.943, allocations: 80.2 kB / 0.9531 GB, free: 128.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.587/4.53, allocations: 0.5517 GB / 1.505 GB, free: 54.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.339e-06/4.53, allocations: 0.75 kB / 1.505 GB, free: 54.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.033e-05/4.53, allocations: 21.05 kB / 1.505 GB, free: 54.88 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.002608/4.533, allocations: 0.9502 MB / 1.506 GB, free: 54.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/4.533, allocations: 8.375 kB / 1.506 GB, free: 54.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/4.534, allocations: 145 kB / 1.506 GB, free: 54.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008975/4.535, allocations: 476.9 kB / 1.506 GB, free: 54.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/4.535, allocations: 58.86 kB / 1.506 GB, free: 54.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/4.535, allocations: 82.89 kB / 1.506 GB, free: 54.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/4.537, allocations: 0.8984 MB / 1.507 GB, free: 54.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/4.537, allocations: 0 / 1.507 GB, free: 54.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/4.537, allocations: 35.09 kB / 1.507 GB, free: 54.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/4.537, allocations: 16.66 kB / 1.507 GB, free: 54.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/4.539, allocations: 0.8197 MB / 1.508 GB, free: 54.2 MB / 362.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.006327/4.545, allocations: 3.05 MB / 1.511 GB, free: 53.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/4.546, allocations: 0.6107 MB / 1.512 GB, free: 53.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/4.547, allocations: 358.4 kB / 1.512 GB, free: 53.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.784e-05/4.547, allocations: 22.2 kB / 1.512 GB, free: 53.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/4.547, allocations: 40.72 kB / 1.512 GB, free: 52.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.169e-06/4.547, allocations: 1.125 kB / 1.512 GB, free: 52.98 MB / 362.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.01767/4.565, allocations: 4.248 MB / 1.516 GB, free: 52.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/4.565, allocations: 59.25 kB / 1.516 GB, free: 52.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/4.565, allocations: 0.4907 MB / 1.517 GB, free: 52.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001613/4.566, allocations: 45.02 kB / 1.517 GB, free: 52.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/4.566, allocations: 276.1 kB / 1.517 GB, free: 51.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/4.566, allocations: 253.8 kB / 1.517 GB, free: 51.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/4.566, allocations: 14.66 kB / 1.517 GB, free: 51.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/4.566, allocations: 368.8 kB / 1.518 GB, free: 51.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008117/4.567, allocations: 436.8 kB / 1.518 GB, free: 51.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/4.568, allocations: 0.4977 MB / 1.519 GB, free: 51.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009403/4.569, allocations: 497.9 kB / 1.519 GB, free: 51.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.334e-06/4.569, allocations: 0 / 1.519 GB, free: 51.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002624/4.572, allocations: 1.308 MB / 1.52 GB, free: 51.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/4.572, allocations: 3.969 kB / 1.52 GB, free: 51.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.35e-06/4.572, allocations: 3.5 kB / 1.52 GB, free: 51.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007592/4.572, allocations: 337.9 kB / 1.521 GB, free: 51.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/4.574, allocations: 176 kB / 1.521 GB, free: 51.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007141/4.581, allocations: 10.19 MB / 1.531 GB, free: 41.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/4.582, allocations: 76.36 kB / 1.531 GB, free: 41.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/4.582, allocations: 41.03 kB / 1.531 GB, free: 41.96 MB / 362.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.0002669/4.582, allocations: 147.3 kB / 1.531 GB, free: 41.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/4.583, allocations: 60.38 kB / 1.531 GB, free: 41.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/4.585, allocations: 1.273 MB / 1.532 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/4.585, allocations: 9.938 kB / 1.532 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.089e-06/4.585, allocations: 0 / 1.532 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002055/4.587, allocations: 1.584 MB / 1.534 GB, free: 40.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/4.592, allocations: 2.263 MB / 1.536 GB, free: 40.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.321e-06/4.592, allocations: 1.5 kB / 1.536 GB, free: 40.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/4.593, allocations: 229.6 kB / 1.536 GB, free: 40.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/4.594, allocations: 62.88 kB / 1.536 GB, free: 40.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/4.594, allocations: 41.67 kB / 1.537 GB, free: 40.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/4.595, allocations: 1.425 MB / 1.538 GB, free: 39.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.702e-06/4.595, allocations: 7.5 kB / 1.538 GB, free: 39.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/4.598, allocations: 1.609 MB / 1.539 GB, free: 38.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/4.598, allocations: 160.9 kB / 1.54 GB, free: 38.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/4.599, allocations: 31.02 kB / 1.54 GB, free: 38.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009696/4.599, allocations: 71.7 kB / 1.54 GB, free: 38.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/4.6, allocations: 60.08 kB / 1.54 GB, free: 38.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/4.6, allocations: 61.28 kB / 1.54 GB, free: 38.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005575/4.6, allocations: 398.5 kB / 1.54 GB, free: 38.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.16e-07/4.6, allocations: 0 / 1.54 GB, free: 38.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001783/4.602, allocations: 419.7 kB / 1.541 GB, free: 38.73 MB / 362.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.0029/4.605, allocations: 1.148 MB / 1.542 GB, free: 38.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002778/4.608, allocations: 1.786 MB / 1.543 GB, free: 37.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.565e-06/4.608, allocations: 0 / 1.543 GB, free: 37.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/4.609, allocations: 0.6622 MB / 1.544 GB, free: 37.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/4.612, allocations: 0.4892 MB / 1.545 GB, free: 37.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/4.617, allocations: 1.885 MB / 1.546 GB, free: 37.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/4.618, allocations: 0.992 MB / 1.547 GB, free: 36.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001663/4.62, allocations: 271.1 kB / 1.548 GB, free: 36.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/4.62, allocations: 87.98 kB / 1.548 GB, free: 36.61 MB / 362.7 MB Notification: Performance of SimCode: time 2.639e-06/4.62, allocations: 0 / 1.548 GB, free: 36.61 MB / 362.7 MB Notification: Performance of Templates: time 0.06865/4.689, allocations: 37.71 MB / 1.585 GB, free: 25.65 MB / 362.7 MB