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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.1 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.603e-05, allocations: 0 / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08739, allocations: 38.78 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.508/0.5954, allocations: 134.1 MB / 401 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004872/0.6004, allocations: 2.223 MB / 403.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.6009, allocations: 7.938 kB / 403.2 MB, free: 10.4 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.6017, allocations: 147.3 kB / 403.4 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008857/0.6026, allocations: 219.3 kB / 403.6 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.6045, allocations: 375 kB / 403.9 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.6057, allocations: 435.9 kB / 404.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.6059, allocations: 43.94 kB / 404.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.6087, allocations: 0.7445 MB / 405.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005569/0.6093, allocations: 199.5 kB / 405.3 MB, free: 8.258 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.6112, allocations: 383.5 kB / 405.7 MB, free: 7.883 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.6115, allocations: 24 kB / 405.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003819/0.6119, allocations: 183.6 kB / 405.9 MB, free: 7.68 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.6123, allocations: 68 kB / 406 MB, free: 7.613 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002201/0.6145, allocations: 0.831 MB / 406.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6145, allocations: 0 / 406.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.6145, allocations: 0 / 406.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.6146, allocations: 0 / 406.8 MB, free: 6.785 MB / 330.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.002152/0.6167, allocations: 0.6553 MB / 407.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.6168, allocations: 12.03 kB / 407.5 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.6186, allocations: 143.3 kB / 407.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.6198, allocations: 373.3 kB / 408 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.6199, allocations: 25 kB / 408 MB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.62, allocations: 39.94 kB / 408.1 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.6221, allocations: 0.5499 MB / 408.6 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.6221, allocations: 7.859 kB / 408.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.6223, allocations: 20 kB / 408.6 MB, free: 4.867 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.6224, allocations: 11.98 kB / 408.6 MB, free: 4.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.6239, allocations: 446.4 kB / 409.1 MB, free: 4.418 MB / 330.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.0123/0.6362, allocations: 1.839 MB / 410.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.6367, allocations: 150.6 kB / 411.1 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.773e-05/0.6368, allocations: 4 kB / 411.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.6368, allocations: 34.56 kB / 411.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.847e-06/0.6369, allocations: 4 kB / 411.1 MB, free: 2.234 MB / 330.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.03182/0.6687, allocations: 1.686 MB / 412.8 MB, free: 404 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.6688, allocations: 55.41 kB / 412.9 MB, free: 336 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.67, allocations: 436.7 kB / 413.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.05e-05/0.6701, allocations: 33.7 kB / 413.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.6705, allocations: 364.8 kB / 413.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.6706, allocations: 90.78 kB / 413.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.799e-05/0.6707, allocations: 12 kB / 413.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.6709, allocations: 342.7 kB / 414.1 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.6715, allocations: 129.2 kB / 414.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.6723, allocations: 436.5 kB / 414.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007606/0.6731, allocations: 232.3 kB / 414.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.6732, allocations: 4 kB / 414.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.006099/0.6793, allocations: 0.6082 MB / 415.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.6794, allocations: 14.19 kB / 415.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.6794, allocations: 8 kB / 415.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.6797, allocations: 62.28 kB / 415.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/0.681, allocations: 143.8 kB / 415.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.684, allocations: 1.848 MB / 417.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.6853, allocations: 31.98 kB / 417.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.6854, allocations: 40 kB / 417.6 MB, free: 11.2 MB / 346.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.0005839/0.686, allocations: 213.6 kB / 417.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.6862, allocations: 43.53 kB / 417.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.6876, allocations: 286.9 kB / 418.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.6876, allocations: 4 kB / 418.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6876, allocations: 0 / 418.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.6887, allocations: 0.5269 MB / 418.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.6911, allocations: 0.6983 MB / 419.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.6912, allocations: 0 / 419.4 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007474/0.6919, allocations: 59.91 kB / 419.5 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001755/0.6921, allocations: 20.84 kB / 419.5 MB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.944e-05/0.6922, allocations: 4 kB / 419.5 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.6941, allocations: 1.299 MB / 420.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.6941, allocations: 0 / 420.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.6956, allocations: 420.7 kB / 421.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.696, allocations: 120.5 kB / 421.3 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.6962, allocations: 8.203 kB / 421.3 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/0.697, allocations: 19.98 kB / 421.3 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.6971, allocations: 19.91 kB / 421.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/0.6972, allocations: 16 kB / 421.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009101/0.6982, allocations: 323.1 kB / 421.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.68e-06/0.6982, allocations: 0 / 421.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001951/0.7002, allocations: 211.9 kB / 421.9 MB, free: 6.602 MB / 346.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.003162/0.7034, allocations: 386.9 kB / 422.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.7048, allocations: 468.2 kB / 422.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.7049, allocations: 0 / 422.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000455/0.7053, allocations: 204.2 kB / 422.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/0.7084, allocations: 209.6 kB / 423.1 MB, free: 5.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.7122, allocations: 1.06 MB / 424.2 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008926/0.7131, allocations: 0.8315 MB / 425 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.7135, allocations: 51.42 kB / 425.1 MB, free: 3.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.7136, allocations: 0 / 425.1 MB, free: 3.32 MB / 346.7 MB Notification: Performance of Templates: time 0.0596/0.7732, allocations: 12.05 MB / 437.1 MB, free: 7.266 MB / 362.7 MB