Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.237e-05, allocations: 4 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3709, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6151/0.9861, allocations: 150.2 MB / 0.501 GB, free: 2.062 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01781/1.004, allocations: 10.01 MB / 0.5108 GB, free: 1.906 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/1.005, allocations: 24.31 kB / 0.5108 GB, free: 1.906 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/1.007, allocations: 335.1 kB / 0.5112 GB, free: 1.898 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006903/1.014, allocations: 1.692 MB / 0.5128 GB, free: 1.844 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006194/1.02, allocations: 1.518 MB / 0.5143 GB, free: 1.781 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002481/1.022, allocations: 0.9748 MB / 0.5153 GB, free: 1.773 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/1.023, allocations: 427.3 kB / 0.5157 GB, free: 1.766 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/1.028, allocations: 1.262 MB / 0.5169 GB, free: 1.742 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001764/1.03, allocations: 0.5712 MB / 0.5175 GB, free: 1.734 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/1.041, allocations: 4.466 MB / 0.5218 GB, free: 1.707 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001701/1.043, allocations: 168.4 kB / 0.522 GB, free: 1.703 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008235/1.044, allocations: 343.8 kB / 0.5223 GB, free: 1.703 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005665/1.044, allocations: 108.7 kB / 0.5224 GB, free: 1.703 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006924/1.051, allocations: 2.402 MB / 0.5248 GB, free: 1.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.051, allocations: 0 / 0.5248 GB, free: 1.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.328e-06/1.051, allocations: 0 / 0.5248 GB, free: 1.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.313e-05/1.052, allocations: 0 / 0.5248 GB, free: 1.48 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005789/1.057, allocations: 1.46 MB / 0.5262 GB, free: 16.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.057, allocations: 7.594 kB / 0.5262 GB, free: 16.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/1.058, allocations: 120.2 kB / 0.5263 GB, free: 16.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/1.06, allocations: 0.5844 MB / 0.5269 GB, free: 16.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/1.06, allocations: 115.1 kB / 0.527 GB, free: 16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002531/1.06, allocations: 80.12 kB / 0.5271 GB, free: 16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/1.064, allocations: 1.153 MB / 0.5282 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/1.064, allocations: 3.094 kB / 0.5282 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/1.064, allocations: 33.5 kB / 0.5282 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/1.064, allocations: 65.3 kB / 0.5283 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/1.067, allocations: 1.157 MB / 0.5294 GB, free: 15.39 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.01257/1.08, allocations: 4.999 MB / 0.5343 GB, free: 12.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003912/1.084, allocations: 0.7788 MB / 0.5351 GB, free: 11.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00204/1.086, allocations: 1.557 MB / 0.5366 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/1.086, allocations: 49 kB / 0.5366 GB, free: 10.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 5.791e-06/1.086, allocations: 0 / 0.5366 GB, free: 10.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02434/1.111, allocations: 4.036 MB / 0.5406 GB, free: 8.949 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/1.111, allocations: 115.8 kB / 0.5407 GB, free: 8.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/1.112, allocations: 0.5554 MB / 0.5412 GB, free: 8.609 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003054/1.112, allocations: 40.3 kB / 0.5413 GB, free: 8.578 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/1.112, allocations: 425.5 kB / 0.5417 GB, free: 8.277 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/1.113, allocations: 290.9 kB / 0.5419 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.113, allocations: 19.22 kB / 0.542 GB, free: 8.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/1.113, allocations: 349.2 kB / 0.5423 GB, free: 7.746 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/1.115, allocations: 481.4 kB / 0.5427 GB, free: 7.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/1.117, allocations: 0.7881 MB / 0.5435 GB, free: 7.195 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00198/1.119, allocations: 0.582 MB / 0.5441 GB, free: 7.113 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.119, allocations: 2.844 kB / 0.5441 GB, free: 7.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005735/1.125, allocations: 1.637 MB / 0.5457 GB, free: 6.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/1.125, allocations: 16.7 kB / 0.5457 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/1.125, allocations: 15.44 kB / 0.5457 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01306/1.138, allocations: 1.369 MB / 0.5471 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.139, allocations: 171 kB / 0.5472 GB, free: 6.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004577/1.144, allocations: 1.505 MB / 0.5487 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.146, allocations: 88.11 kB / 0.5488 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/1.146, allocations: 67.19 kB / 0.5488 GB, free: 5.625 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0008335/1.147, allocations: 300.1 kB / 0.5491 GB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.148, allocations: 80.97 kB / 0.5492 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005897/1.153, allocations: 1.614 MB / 0.5508 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.649e-05/1.154, allocations: 10.19 kB / 0.5508 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.154, allocations: 0 / 0.5508 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/1.154, allocations: 3.984 kB / 0.5508 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007568/1.161, allocations: 2.482 MB / 0.5532 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/1.161, allocations: 0 / 0.5532 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002611/1.164, allocations: 262.3 kB / 0.5535 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/1.167, allocations: 389 kB / 0.5538 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.167, allocations: 33.03 kB / 0.5539 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/1.171, allocations: 2.275 MB / 0.5561 GB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.172, allocations: 64 / 0.5561 GB, free: 1.137 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006615/1.178, allocations: 2.014 MB / 0.5581 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/1.179, allocations: 290.8 kB / 0.5583 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/1.179, allocations: 23.25 kB / 0.5583 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.181, allocations: 79.97 kB / 0.5584 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/1.181, allocations: 61.69 kB / 0.5585 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001975/1.182, allocations: 50.72 kB / 0.5585 GB, free: 15.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009263/1.183, allocations: 451.6 kB / 0.559 GB, free: 14.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.183, allocations: 4 kB / 0.559 GB, free: 14.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003279/1.186, allocations: 0.6877 MB / 0.5596 GB, free: 14.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003841/1.19, allocations: 0.8672 MB / 0.5605 GB, free: 13.49 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004753/1.195, allocations: 1.224 MB / 0.5617 GB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.195, allocations: 3.938 kB / 0.5617 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003054/1.198, allocations: 0.6732 MB / 0.5623 GB, free: 12.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/1.202, allocations: 420 kB / 0.5627 GB, free: 11.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/1.21, allocations: 2.542 MB / 0.5652 GB, free: 9.492 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000883/1.211, allocations: 1.058 MB / 0.5663 GB, free: 8.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007479/1.211, allocations: 109.9 kB / 0.5664 GB, free: 8.328 MB / 458.7 MB Notification: Performance of SimCode: time 2.856e-06/1.211, allocations: 4 kB / 0.5664 GB, free: 8.324 MB / 458.7 MB Notification: Performance of Templates: time 0.06674/1.278, allocations: 28.23 MB / 0.5939 GB, free: 12.25 MB / 490.7 MB