| 1 |  | From the user's point of view (mine) the problem seems not to be related to the presence of  two sources. | 
          
            | 2 |  | I reason this way: | 
          
            | 3 |  | - "getUPeak" alone indicates an erroneous equation counting | 
          
            | 4 |  | - "meshOnly", that I will add soon and contains two sources, counts equations and simulates well. | 
          
            | 5 |  | - "simpleMesh", that is constituted by "meshOnly" and "getUpeak" connected together gives erroneous equation count and does not run. | 
          
            | 6 |  |  | 
          
            | 7 |  | Naturally, people that know the software implementation can reason much differently (and better) than me. I added this just in case it might be useful. | 
          
            | 8 |  |  | 
          
            |  | 1 | I've created a tiny model showing the issue. It is in "tiny.mo" |