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.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.615/1.615, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.331e-05, allocations: 4 kB / 225 MB, free: 2.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2295, allocations: 38.76 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.704/1.933, allocations: 0.6962 GB / 0.9539 GB, free: 127.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.934, allocations: 83.14 kB / 0.9539 GB, free: 127.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.636/4.569, allocations: 0.5698 GB / 1.524 GB, free: 57.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.127e-06/4.569, allocations: 2.297 kB / 1.524 GB, free: 57.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.979e-05/4.569, allocations: 10.34 kB / 1.524 GB, free: 57.27 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.00155/4.571, allocations: 0.7751 MB / 1.524 GB, free: 56.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/4.571, allocations: 11.94 kB / 1.524 GB, free: 56.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008231/4.572, allocations: 117.4 kB / 1.525 GB, free: 56.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/4.572, allocations: 379.5 kB / 1.525 GB, free: 56.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/4.573, allocations: 25.53 kB / 1.525 GB, free: 56.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.548e-05/4.573, allocations: 37.34 kB / 1.525 GB, free: 56.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/4.574, allocations: 0.5281 MB / 1.526 GB, free: 56.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/4.574, allocations: 0.5625 kB / 1.526 GB, free: 56.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/4.574, allocations: 20.06 kB / 1.526 GB, free: 56.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/4.574, allocations: 13.56 kB / 1.526 GB, free: 56.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/4.575, allocations: 404 kB / 1.526 GB, free: 56.55 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.002904/4.578, allocations: 1.825 MB / 1.528 GB, free: 55.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/4.578, allocations: 149.9 kB / 1.528 GB, free: 55.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/4.578, allocations: 78.58 kB / 1.528 GB, free: 55.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/4.578, allocations: 5.984 kB / 1.528 GB, free: 55.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/4.578, allocations: 38.44 kB / 1.528 GB, free: 55.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 4.535e-06/4.578, allocations: 3.891 kB / 1.528 GB, free: 55.52 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005777/4.584, allocations: 1.317 MB / 1.529 GB, free: 54.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/4.584, allocations: 54.38 kB / 1.529 GB, free: 54.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/4.585, allocations: 431.3 kB / 1.53 GB, free: 54.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/4.585, allocations: 31.05 kB / 1.53 GB, free: 54.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/4.585, allocations: 314.7 kB / 1.53 GB, free: 54.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/4.585, allocations: 82.22 kB / 1.53 GB, free: 54.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/4.585, allocations: 17.02 kB / 1.53 GB, free: 54.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/4.585, allocations: 354 kB / 1.531 GB, free: 54.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/4.585, allocations: 134.1 kB / 1.531 GB, free: 54.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/4.586, allocations: 427.2 kB / 1.531 GB, free: 53.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/4.586, allocations: 225.4 kB / 1.531 GB, free: 53.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.986e-06/4.586, allocations: 3.594 kB / 1.531 GB, free: 53.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001222/4.587, allocations: 0.5907 MB / 1.532 GB, free: 53.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/4.587, allocations: 17.12 kB / 1.532 GB, free: 53.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/4.587, allocations: 7.375 kB / 1.532 GB, free: 53.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002179/4.588, allocations: 58.69 kB / 1.532 GB, free: 53.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005623/4.588, allocations: 147.5 kB / 1.532 GB, free: 53.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/4.589, allocations: 1.836 MB / 1.534 GB, free: 51.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/4.59, allocations: 25.5 kB / 1.534 GB, free: 51.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/4.59, allocations: 40.8 kB / 1.534 GB, free: 51.98 MB / 362.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.0001375/4.59, allocations: 151.2 kB / 1.534 GB, free: 51.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/4.59, allocations: 55.64 kB / 1.534 GB, free: 51.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/4.591, allocations: 276.4 kB / 1.534 GB, free: 51.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.917e-06/4.591, allocations: 3.938 kB / 1.534 GB, free: 51.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.263e-06/4.591, allocations: 0 / 1.534 GB, free: 51.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000465/4.592, allocations: 0.52 MB / 1.535 GB, free: 51.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/4.593, allocations: 0.6989 MB / 1.536 GB, free: 51.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/4.593, allocations: 0 / 1.536 GB, free: 51.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/4.593, allocations: 56.14 kB / 1.536 GB, free: 51.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/4.593, allocations: 18.36 kB / 1.536 GB, free: 51.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/4.593, allocations: 14.36 kB / 1.536 GB, free: 51.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007499/4.594, allocations: 1.287 MB / 1.537 GB, free: 49.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/4.594, allocations: 0 / 1.537 GB, free: 49.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/4.595, allocations: 419.6 kB / 1.537 GB, free: 49.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/4.595, allocations: 117.4 kB / 1.537 GB, free: 49.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/4.595, allocations: 10.69 kB / 1.537 GB, free: 49.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/4.595, allocations: 14.91 kB / 1.537 GB, free: 49.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/4.595, allocations: 19.22 kB / 1.537 GB, free: 49.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/4.596, allocations: 17.61 kB / 1.537 GB, free: 49.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004279/4.596, allocations: 315.3 kB / 1.538 GB, free: 49.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.97e-07/4.596, allocations: 3.562 kB / 1.538 GB, free: 49.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001306/4.597, allocations: 290.8 kB / 1.538 GB, free: 49.36 MB / 362.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.002693/4.6, allocations: 1.106 MB / 1.539 GB, free: 49.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009543/4.601, allocations: 441.4 kB / 1.54 GB, free: 49.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/4.601, allocations: 0 / 1.54 GB, free: 49.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/4.601, allocations: 197.1 kB / 1.54 GB, free: 48.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/4.603, allocations: 215.8 kB / 1.54 GB, free: 48.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/4.604, allocations: 0.6166 MB / 1.541 GB, free: 48.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/4.604, allocations: 0.8295 MB / 1.541 GB, free: 48.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007232/4.605, allocations: 141.8 kB / 1.542 GB, free: 48.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/4.605, allocations: 48.16 kB / 1.542 GB, free: 48.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.753e-06/4.605, allocations: 0 / 1.542 GB, free: 48.02 MB / 362.7 MB Notification: Performance of Templates: time 0.04464/4.65, allocations: 24.72 MB / 1.566 GB, free: 46.24 MB / 362.7 MB