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 1.202/1.202, allocations: 111.1 MB / 126.3 MB, free: 6.402 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.635e-05, allocations: 6.188 kB / 154.5 MB, free: 2.812 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06112/0.06117, allocations: 25.18 MB / 179.7 MB, free: 9.59 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5697/0.631, allocations: 140.6 MB / 320.3 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.6353, allocations: 2.289 MB / 322.6 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005433/0.6359, allocations: 8.844 kB / 322.6 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.6366, allocations: 148 kB / 322.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008515/0.6374, allocations: 221.4 kB / 323 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.6392, allocations: 386.5 kB / 323.3 MB, free: 14.97 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001143/0.6404, allocations: 441.2 kB / 323.8 MB, free: 14.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.6406, allocations: 44.2 kB / 323.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/0.643, allocations: 0.7377 MB / 324.5 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005085/0.6436, allocations: 204.3 kB / 324.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.6452, allocations: 380.7 kB / 325.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.6455, allocations: 23.62 kB / 325.1 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.6458, allocations: 188.4 kB / 325.3 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.6461, allocations: 68.03 kB / 325.4 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.6479, allocations: 0.8411 MB / 326.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6479, allocations: 0 / 326.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.6479, allocations: 0 / 326.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.648, allocations: 0 / 326.2 MB, free: 14.16 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.001659/0.6496, allocations: 0.6602 MB / 326.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.6497, allocations: 8.469 kB / 326.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.65, allocations: 54.31 kB / 327 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.6508, allocations: 371.9 kB / 327.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.6508, allocations: 30.09 kB / 327.3 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.91e-05/0.6509, allocations: 35.22 kB / 327.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.6523, allocations: 0.5156 MB / 327.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.6524, allocations: 0 / 327.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/0.6525, allocations: 22.22 kB / 327.9 MB, free: 13.2 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.6525, allocations: 15.83 kB / 327.9 MB, free: 13.19 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009983/0.6535, allocations: 0.4948 MB / 328.4 MB, free: 13.13 MB / 250.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004667/0.6582, allocations: 1.862 MB / 330.3 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.6588, allocations: 167.2 kB / 330.5 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.66, allocations: 0.5271 MB / 331 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.6601, allocations: 44.45 kB / 331 MB, free: 11.27 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.426e-06/0.6601, allocations: 0 / 331 MB, free: 11.27 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=26): time 0.01025/0.6704, allocations: 1.756 MB / 332.8 MB, free: 10.22 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.6705, allocations: 54.41 kB / 332.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/0.6712, allocations: 428 kB / 333.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.6713, allocations: 32.11 kB / 333.3 MB, free: 9.953 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.6716, allocations: 356.2 kB / 333.6 MB, free: 9.668 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.6717, allocations: 98.67 kB / 333.7 MB, free: 9.598 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.6717, allocations: 11.91 kB / 333.7 MB, free: 9.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.6719, allocations: 340.4 kB / 334.1 MB, free: 9.273 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.6723, allocations: 141 kB / 334.2 MB, free: 9.246 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/0.6729, allocations: 434.3 kB / 334.6 MB, free: 8.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.6734, allocations: 227.7 kB / 334.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.6734, allocations: 4.312 kB / 334.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001453/0.6749, allocations: 0.6107 MB / 335.5 MB, free: 8.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.6749, allocations: 7.844 kB / 335.5 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.675, allocations: 12.81 kB / 335.5 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.6752, allocations: 60.22 kB / 335.5 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009011/0.6761, allocations: 147.8 kB / 335.7 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.6782, allocations: 1.849 MB / 337.5 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/0.679, allocations: 29.83 kB / 337.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.6791, allocations: 40.88 kB / 337.6 MB, free: 6.836 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0003605/0.6795, allocations: 212.8 kB / 337.8 MB, free: 6.703 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.6796, allocations: 47.19 kB / 337.9 MB, free: 6.68 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.6806, allocations: 353.5 kB / 338.2 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.6807, allocations: 3.094 kB / 338.2 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6807, allocations: 0 / 338.2 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007303/0.6814, allocations: 0.5414 MB / 338.8 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.683, allocations: 0.7448 MB / 339.5 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.331e-06/0.683, allocations: 2.312 kB / 339.5 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/0.6836, allocations: 63.23 kB / 339.6 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.6837, allocations: 20.12 kB / 339.6 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.6837, allocations: 6.281 kB / 339.6 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.685, allocations: 1.285 MB / 340.9 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.685, allocations: 3.984 kB / 340.9 MB, free: 4.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.686, allocations: 453.3 kB / 341.3 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.6864, allocations: 160.9 kB / 341.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.6865, allocations: 5.75 kB / 341.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.6871, allocations: 15.83 kB / 341.5 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.783e-05/0.6871, allocations: 22.05 kB / 341.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.6872, allocations: 20.86 kB / 341.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005464/0.6877, allocations: 320.6 kB / 341.9 MB, free: 3.855 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.673e-06/0.6878, allocations: 4 kB / 341.9 MB, free: 3.852 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001217/0.689, allocations: 233.5 kB / 342.1 MB, free: 3.824 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 (25): * Single equations (assignments): 24 * 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.002111/0.6911, allocations: 435.3 kB / 342.5 MB, free: 3.605 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.6923, allocations: 469.9 kB / 343 MB, free: 3.453 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6923, allocations: 0 / 343 MB, free: 3.453 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.6927, allocations: 218.4 kB / 343.2 MB, free: 3.328 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.6948, allocations: 225.8 kB / 343.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.697, allocations: 1.075 MB / 344.5 MB, free: 2.555 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.6976, allocations: 0.8368 MB / 345.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.698, allocations: 55.05 kB / 345.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of SimCode: time 1.292e-06/0.698, allocations: 0 / 345.4 MB, free: 1.773 MB / 250.7 MB Notification: Performance of Templates: time 0.03015/0.7281, allocations: 12.81 MB / 358.2 MB, free: 6.508 MB / 266.7 MB