Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf") Notification: Performance of loadModel(ThermoPower): time 2.253/2.253, allocations: 254.6 MB / 267.7 MB, free: 12.37 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.227e-05, allocations: 4 kB / 330.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3095, allocations: 60.24 MB / 391 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.984/7.294, allocations: 3.027 GB / 3.409 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/7.294, allocations: 81.03 kB / 3.409 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.668/8.962, allocations: 343.2 MB / 3.744 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.611e-06/8.962, allocations: 0 / 3.744 GB, free: 60.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.594e-05/8.962, allocations: 37.88 kB / 3.744 GB, free: 60.57 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.0362/8.998, allocations: 7.85 MB / 3.752 GB, free: 52.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/8.998, allocations: 8.031 kB / 3.752 GB, free: 52.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/9.019, allocations: 2.764 MB / 3.754 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/9.034, allocations: 3.585 MB / 3.758 GB, free: 47.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00347/9.037, allocations: 1.102 MB / 3.759 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/9.04, allocations: 194.5 kB / 3.759 GB, free: 45.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03099/9.071, allocations: 11.17 MB / 3.77 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.914e-05/9.071, allocations: 2.812 kB / 3.77 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001759/9.073, allocations: 69.25 kB / 3.77 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/9.073, allocations: 53.89 kB / 3.77 GB, free: 38.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05191/9.125, allocations: 20.3 MB / 3.79 GB, free: 20.72 MB / 0.5105 GB 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.4111/9.536, allocations: 58.72 MB / 3.847 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02206/9.558, allocations: 8.457 MB / 3.856 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01401/9.572, allocations: 6.481 MB / 3.862 GB, free: 42.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2725/9.844, allocations: 120.1 MB / 3.979 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/9.845, allocations: 56 kB / 3.979 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=212): time 5.972e-06/9.845, allocations: 0 / 3.979 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=213): time 0.09136/9.936, allocations: 25.96 MB / 4.005 GB, free: 15.43 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/9.936, allocations: 80.83 kB / 4.005 GB, free: 15.35 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/9.937, allocations: 0.5664 MB / 4.005 GB, free: 14.84 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002357/9.939, allocations: 61.7 kB / 4.005 GB, free: 14.77 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/9.94, allocations: 0.5314 MB / 4.006 GB, free: 14.34 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002717/9.943, allocations: 0.7352 MB / 4.007 GB, free: 13.78 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/9.944, allocations: 48 kB / 4.007 GB, free: 13.73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000333/9.945, allocations: 429.2 kB / 4.007 GB, free: 13.34 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01574/9.96, allocations: 6.677 MB / 4.014 GB, free: 7.336 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01659/9.977, allocations: 7.148 MB / 4.021 GB, free: 0.6914 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.702/10.68, allocations: 86.36 MB / 4.105 GB, free: 124.3 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/10.68, allocations: 3.25 kB / 4.105 GB, free: 124.3 MB / 0.573 GB Notification: Performance of matching and sorting (n=279) (initialization): time 1.349/12.03, allocations: 196.8 MB / 4.297 GB, free: 114.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009988/12.03, allocations: 4.98 MB / 4.302 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.722e-05/12.03, allocations: 15.38 kB / 4.302 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.169/12.2, allocations: 50.24 MB / 4.351 GB, free: 92.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007327/12.21, allocations: 1.448 MB / 4.352 GB, free: 91.12 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03485/12.24, allocations: 14.01 MB / 4.366 GB, free: 84.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01608/12.26, allocations: 2.823 MB / 4.369 GB, free: 82.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002772/12.26, allocations: 428.6 kB / 4.369 GB, free: 81.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/12.26, allocations: 4.781 kB / 4.369 GB, free: 81.9 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2014/12.46, allocations: 49.41 MB / 4.418 GB, free: 43.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/12.46, allocations: 20.11 kB / 4.418 GB, free: 43.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.486/12.95, allocations: 49.95 MB / 4.466 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008152/12.96, allocations: 1.466 MB / 4.468 GB, free: 126.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03515/12.99, allocations: 13.64 MB / 4.481 GB, free: 126.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01791/13.01, allocations: 2.82 MB / 4.484 GB, free: 125.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003106/13.01, allocations: 428.5 kB / 4.484 GB, free: 125.9 MB / 0.573 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0 $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * 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 {10 87} Notification: Performance of prepare postOptimizeDAE: time 0.004297/13.02, allocations: 267.9 kB / 4.484 GB, free: 125.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001863/13.02, allocations: 126 kB / 4.485 GB, free: 125.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05529/13.07, allocations: 32.48 MB / 4.516 GB, free: 120.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04942/13.12, allocations: 30.47 MB / 4.546 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/13.12, allocations: 11.66 kB / 4.546 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.832e-05/13.12, allocations: 10.08 kB / 4.546 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08107/13.2, allocations: 56.5 MB / 4.601 GB, free: 49.46 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/13.2, allocations: 8 kB / 4.601 GB, free: 49.46 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01946/13.22, allocations: 3.518 MB / 4.605 GB, free: 47.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005348/13.23, allocations: 1.113 MB / 4.606 GB, free: 46.36 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002361/13.23, allocations: 287 kB / 4.606 GB, free: 46.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/13.24, allocations: 5.953 MB / 4.612 GB, free: 41.08 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.969e-06/13.24, allocations: 3.719 kB / 4.612 GB, free: 41.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4146/13.66, allocations: 22.05 MB / 4.633 GB, free: 125.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005898/13.66, allocations: 1.811 MB / 4.635 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002309/13.66, allocations: 59.61 kB / 4.635 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01616/13.68, allocations: 2.781 MB / 4.638 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002281/13.68, allocations: 419.5 kB / 4.638 GB, free: 125.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001993/13.69, allocations: 285.2 kB / 4.639 GB, free: 125.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006727/13.69, allocations: 427.1 kB / 4.639 GB, free: 125.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.74e-07/13.69, allocations: 0 / 4.639 GB, free: 125.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0162/13.7, allocations: 3.243 MB / 4.642 GB, free: 125.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 26 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009332/13.71, allocations: 1.54 MB / 4.644 GB, free: 125 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05498/13.77, allocations: 23.13 MB / 4.666 GB, free: 124.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.056e-06/13.77, allocations: 7.625 kB / 4.666 GB, free: 124.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01843/13.78, allocations: 8.032 MB / 4.674 GB, free: 121.2 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00449/13.79, allocations: 449.7 kB / 4.675 GB, free: 121.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/13.81, allocations: 9.654 MB / 4.684 GB, free: 118.1 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/13.81, allocations: 1.621 MB / 4.686 GB, free: 117.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01506/13.83, allocations: 4.014 MB / 4.69 GB, free: 117.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008021/13.84, allocations: 0.5678 MB / 4.69 GB, free: 117.2 MB / 0.573 GB Notification: Performance of SimCode: time 2.447e-06/13.84, allocations: 0 / 4.69 GB, free: 117.2 MB / 0.573 GB Notification: Performance of Templates: time 0.7363/14.57, allocations: 270.5 MB / 4.954 GB, free: 87.97 MB / 0.573 GB