The Finite Element Model (FEM) algorithm executes an finite element simulation of an 1-dimensional gas-flow systemconsisting of different connected pipes. Every pipe can be calculated in parallel and the calculation of the connectionscan also be calculated in parallel. The FEM algorithm is a longer running algorithm with a higher mix of sequential andparallel sections in the code. The sequential sections are executed on the master core A0, while the other cores wait on thesynchronization point indicating the parallel section.In Fig. 2 the timing diagram of the FEM algorithm is shown including its synchronizations. In total 6 synchronizations arenecessary to run the algorithm in parallel. Again, a scenario without (a) and with optimized data-locality (b) is presented.