How to analyse parallel applications with Petri Nets