Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 234.9 MB / 250.1 MB, free: 10.92 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.158e-05/4.16e-05, allocations: 7.984 kB / 308 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3863, allocations: 54.87 MB / 362.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02689/0.4132, allocations: 11.28 MB / 374.1 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05362/0.4669, allocations: 21.17 MB / 395.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.4673, allocations: 0 / 395.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.4677, allocations: 79.56 kB / 395.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02347/0.4912, allocations: 5.868 MB / 401.3 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.4924, allocations: 283.3 kB / 401.5 MB, free: 5.129 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007625/0.5, allocations: 2.964 MB / 404.5 MB, free: 2.164 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.5002, allocations: 7.984 kB / 404.5 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006668/0.5008, allocations: 251.2 kB / 404.7 MB, free: 1.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01396/0.5148, allocations: 5.56 MB / 410.3 MB, free: 12.35 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02846/0.5433, allocations: 9.775 MB / 420.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003932/0.5473, allocations: 0.5586 MB / 420.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.5475, allocations: 47.81 kB / 420.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.5477, allocations: 32 kB / 420.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.5594, allocations: 3.844 MB / 424.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5595, allocations: 4 kB / 424.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.5595, allocations: 0 / 424.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.5595, allocations: 0 / 424.6 MB, free: 14.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.005959/0.5655, allocations: 1.478 MB / 426 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.5656, allocations: 12.03 kB / 426.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.5681, allocations: 223.5 kB / 426.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.5685, allocations: 270.6 kB / 426.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.5686, allocations: 28.59 kB / 426.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.5687, allocations: 35.98 kB / 426.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.5724, allocations: 0.8211 MB / 427.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.5725, allocations: 3.938 kB / 427.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.5726, allocations: 16 kB / 427.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.5726, allocations: 8 kB / 427.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.5767, allocations: 0.9426 MB / 428.4 MB, free: 10.11 MB / 362.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.0053/0.582, allocations: 2.589 MB / 431 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.5843, allocations: 378.2 kB / 431.4 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403/1.988, allocations: 227.1 MB / 0.643 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00222/1.99, allocations: 472.1 kB / 0.6434 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 3.957e-06/1.99, allocations: 3.469 kB / 0.6434 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.00474/1.995, allocations: 0.7785 MB / 0.6442 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002123/1.995, allocations: 376.2 kB / 0.6445 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/1.995, allocations: 169 kB / 0.6447 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/1.995, allocations: 32.58 kB / 0.6447 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.995, allocations: 253.6 kB / 0.645 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.996, allocations: 113.5 kB / 0.6451 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/1.996, allocations: 14.73 kB / 0.6451 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.996, allocations: 325 kB / 0.6454 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/1.996, allocations: 80.56 kB / 0.6455 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/1.997, allocations: 345.4 kB / 0.6458 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/1.997, allocations: 125.3 kB / 0.6459 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/1.997, allocations: 10.91 kB / 0.646 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001481/1.999, allocations: 460.9 kB / 0.6464 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.999, allocations: 8 kB / 0.6464 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.999, allocations: 8 kB / 0.6464 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/1.999, allocations: 20.03 kB / 0.6464 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/2, allocations: 143 kB / 0.6466 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/2, allocations: 21.67 kB / 0.6466 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/2, allocations: 55.81 kB / 0.6466 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/2, allocations: 38.61 kB / 0.6467 GB, free: 7.309 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state.phase,state_h_is.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002666/2.001, allocations: 160.5 kB / 0.6468 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/2.001, allocations: 27.72 kB / 0.6469 GB, free: 7.145 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/2.005, allocations: 2.651 MB / 0.6494 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/2.005, allocations: 17.98 kB / 0.6495 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/2.005, allocations: 7.469 kB / 0.6495 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.872e-05/2.005, allocations: 7.984 kB / 0.6495 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/2.007, allocations: 0.9359 MB / 0.6504 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/2.007, allocations: 0 / 0.6504 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006368/2.008, allocations: 75.11 kB / 0.6505 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.494e-05/2.008, allocations: 5.219 kB / 0.6505 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/2.008, allocations: 13.69 kB / 0.6505 GB, free: 4.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/2.008, allocations: 10.61 kB / 0.6505 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/2.008, allocations: 10.62 kB / 0.6505 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/2.009, allocations: 0.8284 MB / 0.6513 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/2.01, allocations: 375.5 kB / 0.6517 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/2.01, allocations: 22.61 kB / 0.6517 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/2.011, allocations: 22.03 kB / 0.6517 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/2.011, allocations: 33.64 kB / 0.6517 GB, free: 3.332 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/2.011, allocations: 14.5 kB / 0.6518 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009842/2.012, allocations: 0.496 MB / 0.6522 GB, free: 2.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/2.012, allocations: 4 kB / 0.6522 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005555/2.017, allocations: 1.42 MB / 0.6536 GB, free: 1.562 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/2.028, allocations: 1.728 MB / 0.6553 GB, free: 8 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3165/2.345, allocations: 403.1 kB / 0.6557 GB, free: 206.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/2.345, allocations: 1.062 kB / 0.6557 GB, free: 206.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007182/2.346, allocations: 277.8 kB / 0.656 GB, free: 206.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/2.347, allocations: 127.6 kB / 0.6561 GB, free: 206.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/2.352, allocations: 2.626 MB / 0.6587 GB, free: 205.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/2.353, allocations: 1.007 MB / 0.6596 GB, free: 204.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003004/2.353, allocations: 62.58 kB / 0.6597 GB, free: 204.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.543e-06/2.353, allocations: 0 / 0.6597 GB, free: 204.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.07032/2.423, allocations: 34.44 MB / 0.6933 GB, free: 177.8 MB / 0.4948 GB