Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_b_Water") Notification: Performance of loadModel(HelmholtzMedia): time 2.032/2.032, allocations: 215.3 MB / 227.5 MB, free: 0.7891 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.607e-05, allocations: 4 kB / 279.6 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08646, allocations: 49.2 MB / 328.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.866/6.953, allocations: 2.852 GB / 3.173 GB, free: 88.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/6.953, allocations: 67.03 kB / 3.174 GB, free: 88.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8363/7.789, allocations: 177.5 MB / 3.347 GB, free: 73.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.379e-06/7.789, allocations: 0 / 3.347 GB, free: 73.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.764e-06/7.789, allocations: 0 / 3.347 GB, free: 73.58 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0066/7.796, allocations: 1.407 MB / 3.348 GB, free: 72.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/7.796, allocations: 8.031 kB / 3.348 GB, free: 72.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/7.796, allocations: 19.77 kB / 3.348 GB, free: 72.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/7.796, allocations: 183.2 kB / 3.348 GB, free: 72.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/7.796, allocations: 7.062 kB / 3.348 GB, free: 72.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/7.796, allocations: 14.11 kB / 3.348 GB, free: 72.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/7.797, allocations: 328.8 kB / 3.349 GB, free: 71.84 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/7.797, allocations: 5.875 kB / 3.349 GB, free: 71.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/7.797, allocations: 3.953 kB / 3.349 GB, free: 71.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.318e-06/7.797, allocations: 4 kB / 3.349 GB, free: 71.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000919/7.798, allocations: 285.5 kB / 3.349 GB, free: 71.68 MB / 442.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.001019/7.799, allocations: 1.057 MB / 3.35 GB, free: 70.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/7.8, allocations: 298.7 kB / 3.35 GB, free: 70.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/7.8, allocations: 53.58 kB / 3.35 GB, free: 70.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8313/8.632, allocations: 183.2 MB / 3.529 GB, free: 24.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/8.632, allocations: 42.75 kB / 3.529 GB, free: 24.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 3.087e-06/8.632, allocations: 0 / 3.529 GB, free: 24.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.00198/8.634, allocations: 440.2 kB / 3.53 GB, free: 24.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/8.634, allocations: 102.8 kB / 3.53 GB, free: 24.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/8.634, allocations: 133.1 kB / 3.53 GB, free: 23.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/8.634, allocations: 28.95 kB / 3.53 GB, free: 23.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/8.634, allocations: 107.2 kB / 3.53 GB, free: 23.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/8.634, allocations: 54.03 kB / 3.53 GB, free: 23.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.169e-05/8.634, allocations: 0 / 3.53 GB, free: 23.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.454e-05/8.634, allocations: 319.9 kB / 3.53 GB, free: 23.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/8.634, allocations: 35.22 kB / 3.531 GB, free: 23.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/8.634, allocations: 78.53 kB / 3.531 GB, free: 23.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/8.634, allocations: 41.81 kB / 3.531 GB, free: 23.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-06/8.634, allocations: 0 / 3.531 GB, free: 23.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003446/8.635, allocations: 146.7 kB / 3.531 GB, free: 23.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/8.635, allocations: 7.781 kB / 3.531 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.36e-06/8.635, allocations: 7.844 kB / 3.531 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/8.635, allocations: 0 / 3.531 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/8.635, allocations: 54.23 kB / 3.531 GB, free: 23.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/8.635, allocations: 5.875 kB / 3.531 GB, free: 23.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/8.636, allocations: 36.27 kB / 3.531 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/8.636, allocations: 11.94 kB / 3.531 GB, free: 23.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (state_ps.phase,state.phase,state_ph.phase,state_dT.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.848e-05/8.636, allocations: 115.3 kB / 3.531 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/8.636, allocations: 11.91 kB / 3.531 GB, free: 23.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/8.637, allocations: 1.124 MB / 3.532 GB, free: 22.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/8.637, allocations: 21.66 kB / 3.532 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/8.637, allocations: 1.266 kB / 3.532 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.574e-06/8.637, allocations: 0 / 3.532 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007354/8.638, allocations: 0.5737 MB / 3.533 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.118e-06/8.638, allocations: 9.312 kB / 3.533 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/8.638, allocations: 43.64 kB / 3.533 GB, free: 22.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.702e-06/8.638, allocations: 0 / 3.533 GB, free: 22.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/8.638, allocations: 4 kB / 3.533 GB, free: 22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.943e-06/8.638, allocations: 9.562 kB / 3.533 GB, free: 22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.122e-06/8.638, allocations: 4 kB / 3.533 GB, free: 22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/8.639, allocations: 0.8044 MB / 3.534 GB, free: 21.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/8.639, allocations: 139.9 kB / 3.534 GB, free: 21.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/8.639, allocations: 4.375 kB / 3.534 GB, free: 21.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/8.64, allocations: 27.5 kB / 3.534 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.141e-05/8.64, allocations: 17.73 kB / 3.534 GB, free: 21.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/8.64, allocations: 4 kB / 3.534 GB, free: 21.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.009e-05/8.64, allocations: 109.4 kB / 3.534 GB, free: 21.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.69e-07/8.64, allocations: 0 / 3.534 GB, free: 21.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005878/8.646, allocations: 1.418 MB / 3.535 GB, free: 20.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.01159/8.657, allocations: 1.849 MB / 3.537 GB, free: 18.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/8.658, allocations: 237.1 kB / 3.537 GB, free: 18.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/8.658, allocations: 7.375 kB / 3.537 GB, free: 18.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/8.658, allocations: 246.8 kB / 3.537 GB, free: 18.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/8.659, allocations: 46.42 kB / 3.538 GB, free: 18.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/8.66, allocations: 0.5614 MB / 3.538 GB, free: 17.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/8.66, allocations: 0.8015 MB / 3.539 GB, free: 17.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002602/8.66, allocations: 112.2 kB / 3.539 GB, free: 17.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.382e-05/8.66, allocations: 22.12 kB / 3.539 GB, free: 17.04 MB / 442.7 MB Notification: Performance of SimCode: time 2.152e-06/8.66, allocations: 0 / 3.539 GB, free: 17.04 MB / 442.7 MB Notification: Performance of Templates: time 0.05733/8.718, allocations: 34.88 MB / 3.573 GB, free: 11.5 MB / 458.7 MB