Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 0.9866/0.9866, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/3.012e-05, allocations: 4 kB / 151.4 MB, free: 15.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1434, allocations: 25.15 MB / 176.6 MB, free: 0 / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.623/1.767, allocations: 0.6513 GB / 0.8237 GB, free: 50.84 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/1.767, allocations: 69.11 kB / 0.8238 GB, free: 50.81 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.201/3.968, allocations: 461.2 MB / 1.274 GB, free: 24.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.356e-06/3.969, allocations: 0 / 1.274 GB, free: 24.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.641e-05/3.969, allocations: 11.78 kB / 1.274 GB, free: 24.64 MB / 250.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.00163/3.97, allocations: 0.8067 MB / 1.275 GB, free: 24.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/3.97, allocations: 16.33 kB / 1.275 GB, free: 24.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/3.97, allocations: 54.97 kB / 1.275 GB, free: 24.19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/3.971, allocations: 360.2 kB / 1.275 GB, free: 23.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/3.971, allocations: 27.62 kB / 1.275 GB, free: 23.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/3.971, allocations: 35.12 kB / 1.275 GB, free: 23.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/3.972, allocations: 0.4923 MB / 1.276 GB, free: 23.94 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/3.972, allocations: 0 / 1.276 GB, free: 23.94 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/3.972, allocations: 24.58 kB / 1.276 GB, free: 23.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/3.972, allocations: 12.41 kB / 1.276 GB, free: 23.94 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/3.973, allocations: 466.8 kB / 1.276 GB, free: 23.93 MB / 250.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.002996/3.976, allocations: 1.867 MB / 1.278 GB, free: 22.95 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/3.976, allocations: 167.6 kB / 1.278 GB, free: 22.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/3.977, allocations: 89.48 kB / 1.279 GB, free: 22.92 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/3.978, allocations: 0.9105 MB / 1.279 GB, free: 22.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/3.978, allocations: 36.75 kB / 1.279 GB, free: 22.12 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 2.93e-06/3.978, allocations: 0 / 1.279 GB, free: 22.12 MB / 250.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.005624/3.983, allocations: 1.317 MB / 1.281 GB, free: 21.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/3.983, allocations: 61.38 kB / 1.281 GB, free: 21.5 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005879/3.984, allocations: 423.6 kB / 1.281 GB, free: 21.39 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/3.984, allocations: 33.11 kB / 1.281 GB, free: 21.36 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/3.984, allocations: 364.6 kB / 1.282 GB, free: 21.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/3.984, allocations: 88.7 kB / 1.282 GB, free: 21.08 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/3.984, allocations: 8.5 kB / 1.282 GB, free: 21.08 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/3.985, allocations: 337.2 kB / 1.282 GB, free: 20.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/3.985, allocations: 130.7 kB / 1.282 GB, free: 20.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/3.985, allocations: 427.4 kB / 1.282 GB, free: 20.39 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/3.986, allocations: 225.4 kB / 1.283 GB, free: 20.39 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.622e-06/3.986, allocations: 2.781 kB / 1.283 GB, free: 20.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001217/3.987, allocations: 0.5758 MB / 1.283 GB, free: 20.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/3.987, allocations: 12.03 kB / 1.283 GB, free: 20.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/3.987, allocations: 14.39 kB / 1.283 GB, free: 20.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002232/3.987, allocations: 57.75 kB / 1.283 GB, free: 20.3 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/3.988, allocations: 142.9 kB / 1.283 GB, free: 20.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/3.989, allocations: 1.839 MB / 1.285 GB, free: 18.53 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/3.99, allocations: 34.81 kB / 1.285 GB, free: 18.53 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-05/3.99, allocations: 36.41 kB / 1.285 GB, free: 18.53 MB / 250.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.0001563/3.99, allocations: 154.5 kB / 1.286 GB, free: 18.42 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/3.99, allocations: 44.75 kB / 1.286 GB, free: 18.4 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/3.991, allocations: 290.6 kB / 1.286 GB, free: 18.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.436e-06/3.991, allocations: 0.75 kB / 1.286 GB, free: 18.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/3.991, allocations: 5.812 kB / 1.286 GB, free: 18.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004771/3.991, allocations: 0.5253 MB / 1.286 GB, free: 17.88 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/3.993, allocations: 0.697 MB / 1.287 GB, free: 17.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.257e-06/3.993, allocations: 6.5 kB / 1.287 GB, free: 17.57 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/3.993, allocations: 57.33 kB / 1.287 GB, free: 17.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/3.993, allocations: 18.03 kB / 1.287 GB, free: 17.56 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/3.993, allocations: 7.312 kB / 1.287 GB, free: 17.56 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008115/3.994, allocations: 1.275 MB / 1.288 GB, free: 16.31 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-06/3.994, allocations: 0 / 1.288 GB, free: 16.31 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/3.995, allocations: 427.6 kB / 1.289 GB, free: 16.14 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/3.995, allocations: 144.6 kB / 1.289 GB, free: 16.03 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.736e-05/3.995, allocations: 5.125 kB / 1.289 GB, free: 16.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/3.996, allocations: 15.67 kB / 1.289 GB, free: 16.03 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/3.996, allocations: 21.59 kB / 1.289 GB, free: 16.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/3.996, allocations: 15.2 kB / 1.289 GB, free: 16.03 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004706/3.996, allocations: 321.3 kB / 1.289 GB, free: 15.95 MB / 250.7 MB Notification: Performance of sort global known variables: time 8.35e-07/3.996, allocations: 1.562 kB / 1.289 GB, free: 15.95 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001405/3.998, allocations: 300.5 kB / 1.29 GB, free: 15.93 MB / 250.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.002773/4, allocations: 1.154 MB / 1.291 GB, free: 15.72 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009397/4.001, allocations: 445.8 kB / 1.291 GB, free: 15.61 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.554e-06/4.001, allocations: 0 / 1.291 GB, free: 15.61 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/4.002, allocations: 198.9 kB / 1.291 GB, free: 15.51 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/4.003, allocations: 215.6 kB / 1.292 GB, free: 15.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/4.005, allocations: 0.6591 MB / 1.292 GB, free: 15.27 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/4.005, allocations: 0.8392 MB / 1.293 GB, free: 30.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/4.005, allocations: 52.98 kB / 1.293 GB, free: 30.56 MB / 266.7 MB Notification: Performance of SimCode: time 1.737e-06/4.005, allocations: 0 / 1.293 GB, free: 30.56 MB / 266.7 MB Notification: Performance of Templates: time 0.02551/4.031, allocations: 16.74 MB / 1.309 GB, free: 29.61 MB / 266.7 MB