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_trunk_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.083e-05, allocations: 8 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 61.9 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.01972/0.1495, allocations: 11.3 MB / 422.2 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.3519/0.5015, allocations: 21.18 MB / 443.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.5018, allocations: 1.25 kB / 443.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003841/0.5022, allocations: 71.75 kB / 443.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02605/0.5283, allocations: 5.889 MB / 449.4 MB, free: 9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.5297, allocations: 289 kB / 449.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.008128/0.5378, allocations: 2.966 MB / 452.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.5379, allocations: 3.531 kB / 452.6 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007597/0.5387, allocations: 255.5 kB / 452.9 MB, free: 7.961 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01449/0.5532, allocations: 5.565 MB / 458.4 MB, free: 6.879 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03048/0.5838, allocations: 9.784 MB / 468.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004025/0.5878, allocations: 0.5585 MB / 468.8 MB, free: 13.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.588, allocations: 39.84 kB / 468.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.5883, allocations: 36 kB / 468.9 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.6006, allocations: 3.85 MB / 472.7 MB, free: 9.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6006, allocations: 3.938 kB / 472.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6007, allocations: 0 / 472.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.6007, allocations: 7.938 kB / 472.7 MB, free: 9.879 MB / 378.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.005811/0.6065, allocations: 1.49 MB / 474.2 MB, free: 8.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.6066, allocations: 8.031 kB / 474.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.6091, allocations: 219.5 kB / 474.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.6096, allocations: 274.6 kB / 474.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.549e-05/0.6097, allocations: 28.59 kB / 474.7 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.6097, allocations: 28 kB / 474.8 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.6134, allocations: 0.825 MB / 475.6 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.6135, allocations: 4 kB / 475.6 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.6136, allocations: 16 kB / 475.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.6136, allocations: 11.95 kB / 475.6 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.6177, allocations: 0.9426 MB / 476.6 MB, free: 5.918 MB / 378.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.005201/0.6229, allocations: 2.579 MB / 479.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.6251, allocations: 386.1 kB / 479.5 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422/2.047, allocations: 227.1 MB / 0.6901 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002997/2.05, allocations: 472.8 kB / 0.6905 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 5.921e-06/2.05, allocations: 4 kB / 0.6905 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.00674/2.057, allocations: 0.7677 MB / 0.6913 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/2.057, allocations: 379.8 kB / 0.6916 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/2.057, allocations: 164.5 kB / 0.6918 GB, free: 134 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/2.057, allocations: 29.7 kB / 0.6918 GB, free: 134 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/2.057, allocations: 256.1 kB / 0.692 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/2.057, allocations: 110.1 kB / 0.6922 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/2.058, allocations: 8 kB / 0.6922 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.353e-05/2.058, allocations: 341 kB / 0.6925 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/2.058, allocations: 77.06 kB / 0.6926 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/2.059, allocations: 343.7 kB / 0.6929 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/2.059, allocations: 129.8 kB / 0.693 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/2.059, allocations: 0 / 0.693 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001311/2.06, allocations: 479.6 kB / 0.6935 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/2.06, allocations: 9.719 kB / 0.6935 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/2.06, allocations: 8 kB / 0.6935 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/2.061, allocations: 12 kB / 0.6935 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007878/2.061, allocations: 143.8 kB / 0.6936 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/2.061, allocations: 15.94 kB / 0.6936 GB, free: 132 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/2.062, allocations: 51.38 kB / 0.6937 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-05/2.062, allocations: 47.97 kB / 0.6937 GB, free: 131.9 MB / 0.5261 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.0002396/2.062, allocations: 165.6 kB / 0.6939 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/2.062, allocations: 27.8 kB / 0.6939 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/2.066, allocations: 2.653 MB / 0.6965 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/2.066, allocations: 19.97 kB / 0.6965 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/2.066, allocations: 4 kB / 0.6965 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/2.066, allocations: 4 kB / 0.6965 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/2.067, allocations: 0.9372 MB / 0.6975 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/2.067, allocations: 2.625 kB / 0.6975 GB, free: 128 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/2.068, allocations: 72.25 kB / 0.6975 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/2.068, allocations: 8 kB / 0.6975 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/2.068, allocations: 15.98 kB / 0.6976 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/2.068, allocations: 4.875 kB / 0.6976 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/2.068, allocations: 7.938 kB / 0.6976 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/2.069, allocations: 0.836 MB / 0.6984 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/2.07, allocations: 382.7 kB / 0.6987 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/2.07, allocations: 12 kB / 0.6988 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/2.071, allocations: 18.8 kB / 0.6988 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/2.071, allocations: 39.86 kB / 0.6988 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/2.071, allocations: 27.86 kB / 0.6988 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008272/2.072, allocations: 0.4962 MB / 0.6993 GB, free: 126 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.3e-07/2.072, allocations: 0 / 0.6993 GB, free: 126 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004506/2.076, allocations: 1.425 MB / 0.7007 GB, free: 124.7 MB / 0.5261 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.00882/2.085, allocations: 1.717 MB / 0.7024 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001129/2.086, allocations: 412 kB / 0.7028 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/2.086, allocations: 0 / 0.7028 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004824/2.087, allocations: 280.2 kB / 0.7031 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/2.088, allocations: 128.2 kB / 0.7032 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/2.092, allocations: 2.627 MB / 0.7057 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/2.093, allocations: 1.013 MB / 0.7067 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/2.093, allocations: 55.41 kB / 0.7068 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/2.093, allocations: 0 / 0.7068 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.08705/2.18, allocations: 34.48 MB / 0.7405 GB, free: 84.27 MB / 0.5261 GB