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.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.839e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08737, allocations: 47.58 MB / 316.9 MB, free: 6.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.02/2.108, allocations: 0.7124 GB / 1.022 GB, free: 155.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/2.108, allocations: 93.48 kB / 1.022 GB, free: 155.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.54/4.648, allocations: 0.5691 GB / 1.591 GB, free: 59.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.732e-06/4.648, allocations: 4 kB / 1.591 GB, free: 59.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.936e-05/4.648, allocations: 15.91 kB / 1.591 GB, free: 59.43 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001627/4.65, allocations: 0.7691 MB / 1.592 GB, free: 58.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/4.65, allocations: 8.031 kB / 1.592 GB, free: 58.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007706/4.651, allocations: 126.9 kB / 1.592 GB, free: 58.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/4.652, allocations: 366.6 kB / 1.592 GB, free: 58.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/4.652, allocations: 36.67 kB / 1.592 GB, free: 58.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/4.652, allocations: 36 kB / 1.592 GB, free: 58.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/4.653, allocations: 0.5186 MB / 1.593 GB, free: 57.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/4.653, allocations: 2.516 kB / 1.593 GB, free: 57.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.803e-05/4.653, allocations: 26.33 kB / 1.593 GB, free: 57.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/4.653, allocations: 15.94 kB / 1.593 GB, free: 57.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/4.654, allocations: 401.4 kB / 1.593 GB, free: 57.07 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.003553/4.657, allocations: 2.025 MB / 1.595 GB, free: 54.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/4.658, allocations: 153.7 kB / 1.596 GB, free: 54.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/4.658, allocations: 77.48 kB / 1.596 GB, free: 54.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/4.658, allocations: 7.438 kB / 1.596 GB, free: 54.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/4.658, allocations: 30.56 kB / 1.596 GB, free: 54.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 4.404e-06/4.658, allocations: 0 / 1.596 GB, free: 54.62 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.005661/4.664, allocations: 1.329 MB / 1.597 GB, free: 53.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/4.664, allocations: 59.03 kB / 1.597 GB, free: 53.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005989/4.664, allocations: 430.8 kB / 1.597 GB, free: 52.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/4.664, allocations: 25.7 kB / 1.597 GB, free: 52.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/4.664, allocations: 319.7 kB / 1.598 GB, free: 52.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/4.665, allocations: 85.88 kB / 1.598 GB, free: 52.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/4.665, allocations: 12 kB / 1.598 GB, free: 52.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/4.665, allocations: 350.8 kB / 1.598 GB, free: 51.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/4.665, allocations: 133 kB / 1.598 GB, free: 51.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004013/4.665, allocations: 426.1 kB / 1.599 GB, free: 51.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/4.666, allocations: 227.7 kB / 1.599 GB, free: 51.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.216e-06/4.666, allocations: 4 kB / 1.599 GB, free: 51.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001182/4.667, allocations: 0.5929 MB / 1.599 GB, free: 50.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/4.667, allocations: 15.94 kB / 1.599 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/4.667, allocations: 12 kB / 1.599 GB, free: 50.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/4.667, allocations: 57.64 kB / 1.6 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/4.668, allocations: 139.8 kB / 1.6 GB, free: 50.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/4.669, allocations: 1.828 MB / 1.601 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/4.67, allocations: 44.08 kB / 1.602 GB, free: 48.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/4.67, allocations: 36 kB / 1.602 GB, free: 48.12 MB / 426.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.0001398/4.67, allocations: 148.7 kB / 1.602 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/4.67, allocations: 45.5 kB / 1.602 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/4.671, allocations: 290.5 kB / 1.602 GB, free: 47.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.185e-06/4.671, allocations: 0 / 1.602 GB, free: 47.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.613e-06/4.671, allocations: 4 kB / 1.602 GB, free: 47.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007812/4.672, allocations: 0.5238 MB / 1.603 GB, free: 47.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/4.674, allocations: 0.6908 MB / 1.603 GB, free: 46.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/4.674, allocations: 3.953 kB / 1.603 GB, free: 46.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006492/4.674, allocations: 55.91 kB / 1.603 GB, free: 46.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/4.675, allocations: 20.84 kB / 1.603 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.442e-05/4.675, allocations: 12 kB / 1.603 GB, free: 46.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/4.676, allocations: 1.272 MB / 1.605 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/4.676, allocations: 4.062 kB / 1.605 GB, free: 44.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/4.677, allocations: 424.4 kB / 1.605 GB, free: 44.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/4.677, allocations: 120.5 kB / 1.605 GB, free: 44.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/4.678, allocations: 4 kB / 1.605 GB, free: 44.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/4.678, allocations: 23.95 kB / 1.605 GB, free: 44.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.82e-05/4.678, allocations: 19.91 kB / 1.605 GB, free: 44.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/4.678, allocations: 16 kB / 1.605 GB, free: 44.13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007479/4.679, allocations: 321.1 kB / 1.605 GB, free: 43.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.179e-06/4.679, allocations: 0 / 1.605 GB, free: 43.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002331/4.682, allocations: 287.9 kB / 1.606 GB, free: 43.54 MB / 426.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.004258/4.686, allocations: 1.11 MB / 1.607 GB, free: 42.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001533/4.687, allocations: 430.5 kB / 1.607 GB, free: 42.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.519e-06/4.687, allocations: 4 kB / 1.607 GB, free: 42.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/4.688, allocations: 193.8 kB / 1.607 GB, free: 41.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/4.69, allocations: 210.8 kB / 1.608 GB, free: 41.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/4.693, allocations: 0.6206 MB / 1.608 GB, free: 41.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/4.693, allocations: 0.8276 MB / 1.609 GB, free: 40.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001304/4.694, allocations: 136.2 kB / 1.609 GB, free: 40.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/4.695, allocations: 39.44 kB / 1.609 GB, free: 40.05 MB / 426.7 MB Notification: Performance of SimCode: time 2.335e-06/4.695, allocations: 0 / 1.609 GB, free: 40.05 MB / 426.7 MB Notification: Performance of Templates: time 0.07823/4.773, allocations: 24.65 MB / 1.633 GB, free: 15.5 MB / 426.7 MB