P-Ware: A precise and scalable component-based simulation tool for embedded multiprocessor industrial applications