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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadModel(ModelicaTest): time 2.021/2.021, allocations: 209.2 MB / 224.4 MB, free: 1.465 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.944e-05/3.949e-05, allocations: 4 kB / 276.2 MB, free: 15.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 48.7 MB / 324.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4931/0.6048, allocations: 138.9 MB / 463.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01693/0.6218, allocations: 8.299 MB / 472.1 MB, free: 6.703 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.6229, allocations: 27.81 kB / 472.1 MB, free: 6.676 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.6241, allocations: 286.5 kB / 472.4 MB, free: 6.395 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005283/0.6295, allocations: 1.298 MB / 473.7 MB, free: 5.094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.6341, allocations: 1.106 MB / 474.8 MB, free: 3.984 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002836/0.637, allocations: 0.9315 MB / 475.7 MB, free: 3.051 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.6382, allocations: 401.5 kB / 476.1 MB, free: 2.66 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004822/0.6431, allocations: 1.181 MB / 477.3 MB, free: 1.477 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005224/0.6483, allocations: 1.278 MB / 478.5 MB, free: 200 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.6592, allocations: 1.1 MB / 479.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009541/0.6602, allocations: 68 kB / 479.7 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008288/0.661, allocations: 359.1 kB / 480.1 MB, free: 14.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006109/0.6617, allocations: 116 kB / 480.2 MB, free: 14.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.673, allocations: 1.55 MB / 481.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6731, allocations: 0 / 481.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-06/0.6731, allocations: 0 / 481.7 MB, free: 13.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.97e-05/0.6732, allocations: 7.938 kB / 481.7 MB, free: 13.01 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.01004/0.6832, allocations: 1.146 MB / 482.9 MB, free: 11.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.6833, allocations: 8.031 kB / 482.9 MB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.6868, allocations: 306.6 kB / 483.2 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.689, allocations: 0.6055 MB / 483.8 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006974/0.696, allocations: 120.7 kB / 483.9 MB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002852/0.6963, allocations: 60 kB / 484 MB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.7006, allocations: 1.256 MB / 485.2 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.7007, allocations: 3.938 kB / 485.2 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.7009, allocations: 35.98 kB / 485.3 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00553/0.7065, allocations: 81.25 kB / 485.3 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006826/0.7133, allocations: 1.051 MB / 486.4 MB, free: 8.176 MB / 410.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.01105/0.7244, allocations: 4.508 MB / 490.9 MB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000857/0.7253, allocations: 266.5 kB / 491.2 MB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.629e-05/0.7254, allocations: 8 kB / 491.2 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.7255, allocations: 42.55 kB / 491.2 MB, free: 3.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 3.286e-06/0.7255, allocations: 0 / 491.2 MB, free: 3.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.01038/0.7359, allocations: 1.711 MB / 492.9 MB, free: 1.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.792e-05/0.736, allocations: 132.5 kB / 493.1 MB, free: 1.109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.7377, allocations: 0.8128 MB / 493.9 MB, free: 296 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/0.7378, allocations: 29.7 kB / 493.9 MB, free: 260 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/0.7384, allocations: 0.6005 MB / 494.5 MB, free: 15.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.7386, allocations: 134.3 kB / 494.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.7387, allocations: 24 kB / 494.7 MB, free: 15.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.7389, allocations: 358.8 kB / 495 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007804/0.7397, allocations: 274.5 kB / 495.3 MB, free: 14.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.741, allocations: 0.9144 MB / 496.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.7422, allocations: 479.1 kB / 496.7 MB, free: 13.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.7422, allocations: 8 kB / 496.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00318/0.7454, allocations: 1.232 MB / 497.9 MB, free: 11.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.7455, allocations: 19.44 kB / 497.9 MB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.413e-05/0.7455, allocations: 20 kB / 497.9 MB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/0.7475, allocations: 277.2 kB / 498.2 MB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.7488, allocations: 223.6 kB / 498.4 MB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.7504, allocations: 0.8839 MB / 499.3 MB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.7517, allocations: 67.95 kB / 499.4 MB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.7519, allocations: 76 kB / 499.4 MB, free: 10.35 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.0006851/0.7526, allocations: 346.3 kB / 499.8 MB, free: 10 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.7528, allocations: 90.92 kB / 499.9 MB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.7542, allocations: 470.1 kB / 0.4886 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.7542, allocations: 0 / 0.4886 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.7543, allocations: 4 kB / 0.4886 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.7543, allocations: 3.984 kB / 0.4886 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/0.7568, allocations: 1.093 MB / 0.4897 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7568, allocations: 0 / 0.4897 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/0.7587, allocations: 175.8 kB / 0.4898 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.7588, allocations: 28.78 kB / 0.4899 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.7589, allocations: 4 kB / 0.4899 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.7615, allocations: 2.692 MB / 0.4925 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7616, allocations: 0 / 0.4925 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.7632, allocations: 0.6894 MB / 0.4932 GB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.7636, allocations: 200 kB / 0.4934 GB, free: 4.176 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.7639, allocations: 8 kB / 0.4934 GB, free: 4.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.7646, allocations: 31.95 kB / 0.4934 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.7647, allocations: 27.95 kB / 0.4934 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.7648, allocations: 16 kB / 0.4935 GB, free: 4.094 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001235/0.766, allocations: 0.6007 MB / 0.494 GB, free: 3.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.766, allocations: 0 / 0.494 GB, free: 3.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00191/0.768, allocations: 423.8 kB / 0.4944 GB, free: 3.066 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.002985/0.771, allocations: 0.6288 MB / 0.4951 GB, free: 2.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.773, allocations: 0.6785 MB / 0.4957 GB, free: 1.766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.773, allocations: 384 / 0.4957 GB, free: 1.766 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.7744, allocations: 350.4 kB / 0.4961 GB, free: 1.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002872/0.7773, allocations: 382.8 kB / 0.4964 GB, free: 1.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2839/1.061, allocations: 1.926 MB / 0.4983 GB, free: 151.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008694/1.062, allocations: 1.042 MB / 0.4993 GB, free: 150.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/1.063, allocations: 84.12 kB / 0.4994 GB, free: 150.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/1.063, allocations: 3.969 kB / 0.4994 GB, free: 150.9 MB / 426.7 MB Notification: Performance of Templates: time 0.05026/1.113, allocations: 23.03 MB / 0.5219 GB, free: 142.7 MB / 426.7 MB