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.608/1.608, allocations: 171.2 MB / 185.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.604e-05, allocations: 4 kB / 228.2 MB, free: 7.312 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.08336, allocations: 38.77 MB / 266.9 MB, free: 472 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4949/0.5783, allocations: 134.1 MB / 401 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005475/0.5839, allocations: 2.215 MB / 403.2 MB, free: 9.953 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.5844, allocations: 11.88 kB / 403.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.5852, allocations: 147.3 kB / 403.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008737/0.5861, allocations: 211.3 kB / 403.6 MB, free: 9.59 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.5882, allocations: 382.9 kB / 404 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.5896, allocations: 439.9 kB / 404.4 MB, free: 8.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.5898, allocations: 39.97 kB / 404.4 MB, free: 8.742 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.593, allocations: 0.7367 MB / 405.2 MB, free: 8.004 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.5937, allocations: 203.5 kB / 405.4 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.5956, allocations: 379.5 kB / 405.7 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.5959, allocations: 20 kB / 405.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.5963, allocations: 187.6 kB / 405.9 MB, free: 7.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.5967, allocations: 68 kB / 406 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.5987, allocations: 0.8322 MB / 406.8 MB, free: 6.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5987, allocations: 0 / 406.8 MB, free: 6.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5987, allocations: 0 / 406.8 MB, free: 6.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.5987, allocations: 0 / 406.8 MB, free: 6.336 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.001937/0.6007, allocations: 0.6631 MB / 407.5 MB, free: 5.625 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6008, allocations: 8.031 kB / 407.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.6024, allocations: 143.3 kB / 407.7 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.6035, allocations: 369.3 kB / 408 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.6036, allocations: 29 kB / 408 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.6038, allocations: 40 kB / 408.1 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.6058, allocations: 0.5499 MB / 408.6 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.6059, allocations: 8.609 kB / 408.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.6061, allocations: 23.98 kB / 408.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.6061, allocations: 8 kB / 408.7 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.6077, allocations: 446.3 kB / 409.1 MB, free: 3.965 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.005961/0.6137, allocations: 1.834 MB / 410.9 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005263/0.6142, allocations: 151.8 kB / 411.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.6143, allocations: 7.984 kB / 411.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.6144, allocations: 39.11 kB / 411.1 MB, free: 1.781 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 3.737e-06/0.6144, allocations: 0 / 411.1 MB, free: 1.781 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.01378/0.6282, allocations: 1.678 MB / 412.8 MB, free: 15.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.6283, allocations: 67.22 kB / 412.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.6294, allocations: 428.8 kB / 413.3 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.616e-05/0.6295, allocations: 37.69 kB / 413.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003814/0.6299, allocations: 310.4 kB / 413.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.63, allocations: 94.83 kB / 413.7 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.6301, allocations: 16 kB / 413.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.6304, allocations: 354.8 kB / 414.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.6309, allocations: 133.2 kB / 414.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.6317, allocations: 428.5 kB / 414.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007986/0.6326, allocations: 228.3 kB / 414.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.6326, allocations: 4 kB / 414.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001902/0.6345, allocations: 0.6279 MB / 415.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.6346, allocations: 8 kB / 415.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.6346, allocations: 12 kB / 415.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002791/0.6349, allocations: 61.69 kB / 415.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009548/0.6358, allocations: 139.8 kB / 415.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.6378, allocations: 1.852 MB / 417.6 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/0.6386, allocations: 32.09 kB / 417.6 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.6386, allocations: 36 kB / 417.6 MB, free: 10.77 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.0003441/0.639, allocations: 213.5 kB / 417.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.6391, allocations: 47.44 kB / 417.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008117/0.6399, allocations: 286.9 kB / 418.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.64, allocations: 4 kB / 418.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.64, allocations: 0 / 418.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007268/0.6407, allocations: 0.527 MB / 418.7 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.6422, allocations: 0.6982 MB / 419.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6422, allocations: 0 / 419.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.6427, allocations: 55.91 kB / 419.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.6429, allocations: 24.84 kB / 419.5 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/0.6429, allocations: 11.98 kB / 419.5 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.6441, allocations: 1.288 MB / 420.8 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6441, allocations: 0 / 420.8 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.6451, allocations: 424.7 kB / 421.2 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.6453, allocations: 112.7 kB / 421.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.6454, allocations: 15.89 kB / 421.3 MB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005096/0.646, allocations: 20.23 kB / 421.3 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.646, allocations: 23.91 kB / 421.4 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.6461, allocations: 8 kB / 421.4 MB, free: 6.691 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000576/0.6467, allocations: 327.1 kB / 421.7 MB, free: 6.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6467, allocations: 0 / 421.7 MB, free: 6.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001097/0.6478, allocations: 207.9 kB / 421.9 MB, free: 6.172 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.00202/0.6498, allocations: 386.9 kB / 422.3 MB, free: 5.785 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001179/0.651, allocations: 472.9 kB / 422.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.651, allocations: 0 / 422.7 MB, free: 5.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.6514, allocations: 214.5 kB / 422.9 MB, free: 5.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.6534, allocations: 206.6 kB / 423.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.6556, allocations: 1.019 MB / 424.2 MB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.6562, allocations: 0.8276 MB / 425 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000907/0.6572, allocations: 144.6 kB / 425.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.6574, allocations: 43.42 kB / 425.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.6574, allocations: 0 / 425.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of Templates: time 0.02987/0.6872, allocations: 11.18 MB / 436.4 MB, free: 7.613 MB / 362.7 MB