Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.X.1.|volume.medium.X.2.|volume.medium.X.3.|volume.medium.X.4.|volume.medium.X.5.|volume.medium.X.6.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadModel(Modelica): time 1.634/1.634, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.881e-05, allocations: 8 kB / 228.2 MB, free: 7.309 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07928/0.07933, allocations: 38.76 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4242/0.5036, allocations: 133.9 MB / 400.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004567/0.5082, allocations: 2.226 MB / 403.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.5087, allocations: 7.938 kB / 403.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007288/0.5094, allocations: 167.2 kB / 403.3 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006841/0.5101, allocations: 211.4 kB / 403.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.5117, allocations: 390.9 kB / 403.9 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009365/0.5126, allocations: 440 kB / 404.3 MB, free: 8.895 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.513, allocations: 169.1 kB / 404.5 MB, free: 8.727 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002347/0.5154, allocations: 0.7563 MB / 405.2 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.5159, allocations: 227.4 kB / 405.4 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.5173, allocations: 383.6 kB / 405.8 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002352/0.5176, allocations: 32 kB / 405.8 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005199/0.5181, allocations: 363.2 kB / 406.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003916/0.5185, allocations: 104 kB / 406.3 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.5207, allocations: 1.21 MB / 407.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5207, allocations: 0 / 407.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5207, allocations: 0 / 407.5 MB, free: 5.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.5207, allocations: 0 / 407.5 MB, free: 5.676 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002206/0.523, allocations: 0.854 MB / 408.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.523, allocations: 12.03 kB / 408.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.5243, allocations: 175 kB / 408.5 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.5254, allocations: 465 kB / 409 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.5255, allocations: 49.31 kB / 409 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.5257, allocations: 68 kB / 409.1 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.5283, allocations: 0.9435 MB / 410.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.433e-05/0.5284, allocations: 7.906 kB / 410.1 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.5285, allocations: 31.94 kB / 410.1 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.749e-05/0.5286, allocations: 41.98 kB / 410.1 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.5308, allocations: 0.8706 MB / 411 MB, free: 2.078 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.008098/0.539, allocations: 3.054 MB / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.5405, allocations: 0.635 MB / 414.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-05/0.5406, allocations: 20.53 kB / 414.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.5407, allocations: 51.06 kB / 414.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 3.296e-06/0.5407, allocations: 0 / 414.8 MB, free: 14.11 MB / 346.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.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.02671/0.5674, allocations: 6.144 MB / 420.9 MB, free: 7.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.5675, allocations: 56.06 kB / 421 MB, free: 7.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5685, allocations: 0.5009 MB / 421.5 MB, free: 6.996 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001657/0.5687, allocations: 41.7 kB / 421.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.569, allocations: 276.6 kB / 421.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.5693, allocations: 252.3 kB / 422 MB, free: 6.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.778e-05/0.5694, allocations: 12 kB / 422 MB, free: 6.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.5696, allocations: 370.8 kB / 422.4 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.5708, allocations: 445.8 kB / 422.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.572, allocations: 0.5077 MB / 423.3 MB, free: 5.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.5734, allocations: 0.5027 MB / 423.8 MB, free: 4.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5734, allocations: 4 kB / 423.8 MB, free: 4.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003572/0.577, allocations: 1.339 MB / 425.2 MB, free: 3.203 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.577, allocations: 4 kB / 425.2 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.577, allocations: 0 / 425.2 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.5781, allocations: 338.8 kB / 425.5 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.58, allocations: 179.8 kB / 425.7 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.5916, allocations: 10.31 MB / 436 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.593, allocations: 75.88 kB / 436.1 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.5931, allocations: 43.98 kB / 436.1 MB, free: 7.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006725/0.5938, allocations: 273.6 kB / 436.4 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.594, allocations: 67.3 kB / 436.5 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/0.5977, allocations: 1.283 MB / 437.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.5977, allocations: 8 kB / 437.7 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5977, allocations: 0 / 437.7 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003027/0.6008, allocations: 1.606 MB / 439.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/0.6068, allocations: 2.283 MB / 441.6 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6069, allocations: 4 kB / 441.6 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/0.6091, allocations: 211.7 kB / 441.8 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.6095, allocations: 72.88 kB / 441.9 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.6096, allocations: 39.97 kB / 442 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2436/0.8532, allocations: 1.442 MB / 443.4 MB, free: 139 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.8533, allocations: 2.25 kB / 443.4 MB, free: 139 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004731/0.858, allocations: 1.624 MB / 445 MB, free: 138.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.8586, allocations: 149 kB / 445.2 MB, free: 138.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.859, allocations: 28.31 kB / 445.2 MB, free: 138.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002332/0.8614, allocations: 77.3 kB / 445.3 MB, free: 138.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003003/0.8617, allocations: 59.09 kB / 445.3 MB, free: 138.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002937/0.862, allocations: 59.73 kB / 445.4 MB, free: 138.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001166/0.8632, allocations: 404.1 kB / 445.8 MB, free: 138.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.8632, allocations: 0 / 445.8 MB, free: 138.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002898/0.8662, allocations: 338.8 kB / 446.1 MB, free: 138.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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.003343/0.8695, allocations: 432.9 kB / 446.5 MB, free: 138.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005613/0.8752, allocations: 1.867 MB / 448.4 MB, free: 137.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/0.8753, allocations: 1.125 kB / 448.4 MB, free: 137.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.8777, allocations: 0.6844 MB / 449.1 MB, free: 137.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006714/0.8845, allocations: 484.7 kB / 449.6 MB, free: 137.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009755/0.8943, allocations: 2.529 MB / 452.1 MB, free: 135.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.8954, allocations: 0.9857 MB / 453.1 MB, free: 135.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002871/0.8983, allocations: 280.5 kB / 453.3 MB, free: 135.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/0.899, allocations: 88.95 kB / 453.4 MB, free: 135.1 MB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/0.8991, allocations: 0 / 453.4 MB, free: 135.1 MB / 362.7 MB Notification: Performance of Templates: time 0.07425/0.9733, allocations: 24.27 MB / 477.7 MB, free: 116.1 MB / 362.7 MB