Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 234.9 MB / 250.1 MB, free: 10.91 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.768e-05/4.788e-05, allocations: 4 kB / 308 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4105, allocations: 54.87 MB / 362.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.6076/1.018, allocations: 139 MB / 0.4901 GB, free: 1.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01873/1.037, allocations: 7.983 MB / 0.4979 GB, free: 1.266 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/1.038, allocations: 24.34 kB / 0.4979 GB, free: 1.266 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001596/1.04, allocations: 305.8 kB / 0.4982 GB, free: 1.258 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006798/1.047, allocations: 1.294 MB / 0.4995 GB, free: 1.223 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005682/1.053, allocations: 1.124 MB / 0.5006 GB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002382/1.055, allocations: 0.9396 MB / 0.5015 GB, free: 1.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008958/1.056, allocations: 400.4 kB / 0.5019 GB, free: 1.152 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/1.06, allocations: 1.192 MB / 0.503 GB, free: 1.133 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004256/1.064, allocations: 1.286 MB / 0.5043 GB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004665/1.069, allocations: 1.177 MB / 0.5054 GB, free: 1.098 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008659/1.07, allocations: 69.69 kB / 0.5055 GB, free: 1.098 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005836/1.071, allocations: 364.2 kB / 0.5059 GB, free: 1.098 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005754/1.071, allocations: 119.5 kB / 0.506 GB, free: 1.098 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003762/1.075, allocations: 1.548 MB / 0.5075 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.075, allocations: 0 / 0.5075 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.946e-06/1.075, allocations: 1.812 kB / 0.5075 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.525e-05/1.075, allocations: 0 / 0.5075 GB, free: 0.9922 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003946/1.079, allocations: 1.135 MB / 0.5086 GB, free: 16.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.079, allocations: 12.72 kB / 0.5086 GB, free: 16.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/1.082, allocations: 309.1 kB / 0.5089 GB, free: 16.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/1.084, allocations: 0.6091 MB / 0.5095 GB, free: 16.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/1.084, allocations: 108.2 kB / 0.5096 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/1.084, allocations: 68.86 kB / 0.5097 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/1.087, allocations: 1.246 MB / 0.5109 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.087, allocations: 5.719 kB / 0.5109 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/1.087, allocations: 35.42 kB / 0.5109 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/1.088, allocations: 81.28 kB / 0.511 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/1.09, allocations: 1.057 MB / 0.512 GB, free: 15.71 MB / 426.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.01135/1.102, allocations: 4.84 MB / 0.5168 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/1.103, allocations: 263.5 kB / 0.517 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/1.103, allocations: 127.5 kB / 0.5171 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/1.103, allocations: 37.09 kB / 0.5172 GB, free: 12.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.236e-06/1.103, allocations: 0 / 0.5172 GB, free: 12.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.01098/1.114, allocations: 1.713 MB / 0.5188 GB, free: 11.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/1.114, allocations: 131.1 kB / 0.519 GB, free: 11.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/1.116, allocations: 0.8158 MB / 0.5198 GB, free: 10.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/1.116, allocations: 34.64 kB / 0.5198 GB, free: 10.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005941/1.117, allocations: 0.6099 MB / 0.5204 GB, free: 10.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/1.117, allocations: 130.8 kB / 0.5205 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.71e-05/1.117, allocations: 21.38 kB / 0.5205 GB, free: 10.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/1.117, allocations: 355.2 kB / 0.5209 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007731/1.118, allocations: 280.5 kB / 0.5211 GB, free: 9.898 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/1.119, allocations: 0.9122 MB / 0.522 GB, free: 9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.121, allocations: 470.5 kB / 0.5225 GB, free: 8.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/1.121, allocations: 6.125 kB / 0.5225 GB, free: 8.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003197/1.124, allocations: 1.253 MB / 0.5237 GB, free: 8.699 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/1.124, allocations: 14.31 kB / 0.5237 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/1.124, allocations: 21.88 kB / 0.5237 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002037/1.126, allocations: 272.6 kB / 0.524 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.127, allocations: 221.5 kB / 0.5242 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/1.129, allocations: 0.8827 MB / 0.5251 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/1.131, allocations: 70.59 kB / 0.5251 GB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/1.131, allocations: 73.81 kB / 0.5252 GB, free: 8.016 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.000742/1.132, allocations: 341.9 kB / 0.5255 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/1.132, allocations: 89.22 kB / 0.5256 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/1.133, allocations: 474.9 kB / 0.5261 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.133, allocations: 2.969 kB / 0.5261 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/1.133, allocations: 6.844 kB / 0.5261 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/1.133, allocations: 0 / 0.5261 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/1.136, allocations: 1.085 MB / 0.5271 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.85e-06/1.136, allocations: 0 / 0.5271 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.138, allocations: 180 kB / 0.5273 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001646/1.138, allocations: 26.91 kB / 0.5273 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/1.138, allocations: 15.5 kB / 0.5274 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002973/1.141, allocations: 2.68 MB / 0.53 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.142, allocations: 2.812 kB / 0.53 GB, free: 4.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/1.143, allocations: 0.6976 MB / 0.5307 GB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/1.144, allocations: 197.9 kB / 0.5308 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/1.144, allocations: 9.312 kB / 0.5309 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/1.145, allocations: 22.64 kB / 0.5309 GB, free: 4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.145, allocations: 26.78 kB / 0.5309 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/1.145, allocations: 18.39 kB / 0.5309 GB, free: 3.984 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001202/1.146, allocations: 0.5986 MB / 0.5315 GB, free: 3.777 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.147, allocations: 0 / 0.5315 GB, free: 3.777 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00237/1.149, allocations: 426.8 kB / 0.5319 GB, free: 3.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003382/1.152, allocations: 0.6359 MB / 0.5325 GB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002271/1.155, allocations: 0.6738 MB / 0.5332 GB, free: 3.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.155, allocations: 0 / 0.5332 GB, free: 3.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/1.156, allocations: 349.6 kB / 0.5335 GB, free: 3.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.159, allocations: 381.5 kB / 0.5339 GB, free: 3.055 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/1.164, allocations: 1.932 MB / 0.5358 GB, free: 1.922 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/1.165, allocations: 1.051 MB / 0.5368 GB, free: 1.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/1.165, allocations: 85.52 kB / 0.5369 GB, free: 1.055 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/1.165, allocations: 2.938 kB / 0.5369 GB, free: 1.055 MB / 426.7 MB Notification: Performance of Templates: time 0.06078/1.226, allocations: 23.01 MB / 0.5594 GB, free: 10.95 MB / 458.7 MB