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.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 1.864/1.864, allocations: 209.3 MB / 221.5 MB, free: 1.859 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.025e-05, allocations: 4 kB / 273.1 MB, free: 240 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08724/0.0873, allocations: 48.7 MB / 321.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.242/6.329, allocations: 2.474 GB / 2.789 GB, free: 104.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/6.33, allocations: 78.08 kB / 2.789 GB, free: 104.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9208/7.25, allocations: 211.8 MB / 2.995 GB, free: 62.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.078e-06/7.251, allocations: 3.938 kB / 2.995 GB, free: 62.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/7.251, allocations: 4 kB / 2.995 GB, free: 62.84 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00707/7.258, allocations: 1.719 MB / 2.997 GB, free: 61.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/7.258, allocations: 9.156 kB / 2.997 GB, free: 61.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/7.26, allocations: 226.1 kB / 2.997 GB, free: 61.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/7.26, allocations: 278.6 kB / 2.998 GB, free: 60.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/7.26, allocations: 23.59 kB / 2.998 GB, free: 60.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/7.261, allocations: 30.62 kB / 2.998 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/7.263, allocations: 0.8539 MB / 2.999 GB, free: 60.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/7.263, allocations: 4 kB / 2.999 GB, free: 60.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/7.263, allocations: 16.62 kB / 2.999 GB, free: 60.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/7.263, allocations: 11.7 kB / 2.999 GB, free: 60.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/7.266, allocations: 0.9504 MB / 2.999 GB, free: 59.79 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003852/7.27, allocations: 2.775 MB / 3.002 GB, free: 57.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/7.272, allocations: 407.2 kB / 3.003 GB, free: 56.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/7.272, allocations: 76.14 kB / 3.003 GB, free: 56.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182/8.454, allocations: 224.4 MB / 3.222 GB, free: 95.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/8.457, allocations: 0.4997 MB / 3.222 GB, free: 95.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 5.538e-06/8.457, allocations: 3.625 kB / 3.222 GB, free: 95.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.004499/8.461, allocations: 0.7782 MB / 3.223 GB, free: 95.67 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/8.461, allocations: 379 kB / 3.223 GB, free: 95.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/8.462, allocations: 160.3 kB / 3.224 GB, free: 95.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/8.462, allocations: 33.94 kB / 3.224 GB, free: 95.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/8.462, allocations: 188 kB / 3.224 GB, free: 94.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/8.462, allocations: 108.5 kB / 3.224 GB, free: 94.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/8.462, allocations: 8.5 kB / 3.224 GB, free: 94.92 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/8.462, allocations: 338.5 kB / 3.224 GB, free: 94.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/8.462, allocations: 73.86 kB / 3.224 GB, free: 94.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/8.462, allocations: 326.7 kB / 3.225 GB, free: 94.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003042/8.463, allocations: 124.7 kB / 3.225 GB, free: 94.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/8.463, allocations: 5.375 kB / 3.225 GB, free: 94.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001109/8.464, allocations: 420.6 kB / 3.225 GB, free: 94.24 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/8.464, allocations: 9.766 kB / 3.225 GB, free: 94.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/8.464, allocations: 9.5 kB / 3.225 GB, free: 94.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/8.464, allocations: 13.03 kB / 3.225 GB, free: 94.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/8.465, allocations: 138.1 kB / 3.225 GB, free: 94.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-05/8.465, allocations: 21.27 kB / 3.225 GB, free: 94.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/8.465, allocations: 53.33 kB / 3.225 GB, free: 94.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/8.465, allocations: 47.89 kB / 3.225 GB, free: 94.23 MB / 458.7 MB 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_h_is.phase,state.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.0001658/8.466, allocations: 147.5 kB / 3.226 GB, free: 94.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/8.466, allocations: 28.33 kB / 3.226 GB, free: 94.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/8.468, allocations: 1.754 MB / 3.227 GB, free: 93.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/8.468, allocations: 18.55 kB / 3.227 GB, free: 93.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/8.468, allocations: 4.188 kB / 3.227 GB, free: 93.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/8.468, allocations: 7.953 kB / 3.227 GB, free: 93.88 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/8.47, allocations: 0.8988 MB / 3.228 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/8.47, allocations: 6 kB / 3.228 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/8.47, allocations: 79.16 kB / 3.228 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/8.47, allocations: 5.188 kB / 3.228 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/8.47, allocations: 21.06 kB / 3.228 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/8.47, allocations: 5.906 kB / 3.228 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.14e-06/8.47, allocations: 8.734 kB / 3.228 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/8.471, allocations: 0.8197 MB / 3.229 GB, free: 93.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004314/8.472, allocations: 335.4 kB / 3.229 GB, free: 93.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/8.472, allocations: 13.92 kB / 3.229 GB, free: 93.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/8.473, allocations: 18.95 kB / 3.229 GB, free: 93.06 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/8.473, allocations: 45.08 kB / 3.23 GB, free: 93.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/8.473, allocations: 27.55 kB / 3.23 GB, free: 93.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006877/8.473, allocations: 420.2 kB / 3.23 GB, free: 92.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.45e-07/8.473, allocations: 0 / 3.23 GB, free: 92.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006424/8.48, allocations: 1.506 MB / 3.231 GB, free: 92.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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.01179/8.492, allocations: 1.881 MB / 3.233 GB, free: 92.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0009549/8.493, allocations: 371.2 kB / 3.234 GB, free: 92.69 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.121e-06/8.493, allocations: 1.094 kB / 3.234 GB, free: 92.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/8.493, allocations: 275.4 kB / 3.234 GB, free: 92.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/8.494, allocations: 122.2 kB / 3.234 GB, free: 92.67 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.529/11.02, allocations: 0.7285 GB / 3.963 GB, free: 74.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/11.02, allocations: 0.9693 MB / 3.963 GB, free: 73.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001851/11.03, allocations: 1.069 MB / 3.964 GB, free: 72.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/11.03, allocations: 58.94 kB / 3.965 GB, free: 72.53 MB / 458.7 MB Notification: Performance of SimCode: time 1.955e-06/11.03, allocations: 0 / 3.965 GB, free: 72.53 MB / 458.7 MB Notification: Performance of Templates: time 0.06106/11.09, allocations: 37.59 MB / 4.001 GB, free: 45.79 MB / 458.7 MB