Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,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.Air") Notification: Performance of loadModel(ModelicaTest): time 2.664/2.664, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.642e-05/4.641e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3728, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.239/0.6119, allocations: 137.1 MB / 499.9 MB, free: 4.414 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3924/1.004, allocations: 8.274 MB / 0.4963 GB, free: 2.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/1.006, allocations: 31.19 kB / 0.4963 GB, free: 2.621 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/1.007, allocations: 252.1 kB / 0.4966 GB, free: 2.621 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004678/1.011, allocations: 1.039 MB / 0.4976 GB, free: 2.586 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004044/1.016, allocations: 0.8227 MB / 0.4984 GB, free: 2.547 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002396/1.018, allocations: 0.846 MB / 0.4992 GB, free: 2.539 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008529/1.019, allocations: 317.9 kB / 0.4995 GB, free: 2.535 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/1.022, allocations: 0.6748 MB / 0.5002 GB, free: 2.527 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/1.023, allocations: 431.2 kB / 0.5006 GB, free: 2.52 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002921/1.026, allocations: 0.6202 MB / 0.5012 GB, free: 2.512 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005997/1.027, allocations: 54.66 kB / 0.5013 GB, free: 2.512 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004529/1.027, allocations: 211.6 kB / 0.5015 GB, free: 2.512 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004979/1.028, allocations: 79.94 kB / 0.5015 GB, free: 2.512 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002389/1.03, allocations: 0.9829 MB / 0.5025 GB, free: 2.441 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.03, allocations: 0 / 0.5025 GB, free: 2.441 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.03, allocations: 0 / 0.5025 GB, free: 2.441 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.392e-05/1.03, allocations: 0 / 0.5025 GB, free: 2.441 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003073/1.033, allocations: 0.9115 MB / 0.5034 GB, free: 17.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/1.034, allocations: 12.81 kB / 0.5034 GB, free: 17.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/1.035, allocations: 136.3 kB / 0.5035 GB, free: 17.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.036, allocations: 0.4894 MB / 0.504 GB, free: 17.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/1.036, allocations: 103.6 kB / 0.5041 GB, free: 17.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/1.037, allocations: 54.66 kB / 0.5042 GB, free: 17.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/1.039, allocations: 0.8004 MB / 0.5049 GB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.725e-05/1.039, allocations: 12.19 kB / 0.5049 GB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/1.039, allocations: 23.5 kB / 0.505 GB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.093e-05/1.039, allocations: 37.78 kB / 0.505 GB, free: 17.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/1.041, allocations: 0.6252 MB / 0.5056 GB, free: 17.29 MB / 442.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.007102/1.048, allocations: 3.928 MB / 0.5095 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008509/1.049, allocations: 339.5 kB / 0.5098 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/1.049, allocations: 31.66 kB / 0.5098 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/1.049, allocations: 40.78 kB / 0.5098 GB, free: 14.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.517e-06/1.049, allocations: 0 / 0.5098 GB, free: 14.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009168/1.058, allocations: 1.641 MB / 0.5114 GB, free: 14.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/1.058, allocations: 134.2 kB / 0.5116 GB, free: 13.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/1.059, allocations: 0.5269 MB / 0.5121 GB, free: 13.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.425e-05/1.059, allocations: 35.89 kB / 0.5121 GB, free: 13.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/1.06, allocations: 410 kB / 0.5125 GB, free: 13.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/1.06, allocations: 144 kB / 0.5127 GB, free: 13.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/1.06, allocations: 13.62 kB / 0.5127 GB, free: 13.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/1.06, allocations: 343.1 kB / 0.513 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/1.061, allocations: 203.2 kB / 0.5132 GB, free: 13.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/1.061, allocations: 0.5316 MB / 0.5137 GB, free: 12.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007142/1.062, allocations: 296.3 kB / 0.514 GB, free: 12.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/1.062, allocations: 2.812 kB / 0.514 GB, free: 12.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002134/1.064, allocations: 0.8543 MB / 0.5148 GB, free: 12.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/1.064, allocations: 16.89 kB / 0.5148 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/1.064, allocations: 15.09 kB / 0.5149 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/1.066, allocations: 308.3 kB / 0.5151 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/1.067, allocations: 127.8 kB / 0.5153 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/1.069, allocations: 0.9041 MB / 0.5162 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/1.07, allocations: 47.72 kB / 0.5162 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.07, allocations: 67.5 kB / 0.5163 GB, free: 12.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * 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: 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.0005381/1.071, allocations: 249.2 kB / 0.5165 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/1.071, allocations: 72.59 kB / 0.5166 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/1.073, allocations: 0.667 MB / 0.5172 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/1.073, allocations: 5.906 kB / 0.5172 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.073, allocations: 6.719 kB / 0.5172 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.073, allocations: 3.094 kB / 0.5172 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/1.076, allocations: 1.262 MB / 0.5185 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/1.076, allocations: 13.94 kB / 0.5185 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/1.078, allocations: 201.8 kB / 0.5187 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/1.079, allocations: 29.83 kB / 0.5187 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/1.079, allocations: 23.56 kB / 0.5187 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/1.082, allocations: 2.687 MB / 0.5213 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/1.082, allocations: 5.469 kB / 0.5214 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/1.084, allocations: 0.8541 MB / 0.5222 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/1.085, allocations: 186.9 kB / 0.5224 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/1.085, allocations: 11.81 kB / 0.5224 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/1.086, allocations: 22.44 kB / 0.5224 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/1.086, allocations: 38.52 kB / 0.5224 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/1.086, allocations: 49.31 kB / 0.5225 GB, free: 8.227 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007617/1.087, allocations: 415.4 kB / 0.5229 GB, free: 8.129 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.087, allocations: 0 / 0.5229 GB, free: 8.129 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001679/1.088, allocations: 296.5 kB / 0.5232 GB, free: 8.109 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * 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.001409/1.09, allocations: 368.8 kB / 0.5235 GB, free: 7.977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001903/1.092, allocations: 0.5521 MB / 0.5241 GB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.092, allocations: 0 / 0.5241 GB, free: 7.961 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/1.093, allocations: 398.8 kB / 0.5244 GB, free: 7.844 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002781/1.096, allocations: 312 kB / 0.5247 GB, free: 7.816 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003572/1.1, allocations: 1.594 MB / 0.5263 GB, free: 7.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/1.1, allocations: 0.9406 MB / 0.5272 GB, free: 6.312 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/1.101, allocations: 116.3 kB / 0.5273 GB, free: 6.293 MB / 442.7 MB Notification: Performance of SimCode: time 1.372e-06/1.101, allocations: 0 / 0.5273 GB, free: 6.293 MB / 442.7 MB Notification: Performance of Templates: time 0.03901/1.14, allocations: 16.67 MB / 0.5436 GB, free: 15.08 MB / 458.7 MB