Efficient Simulation of Static and Dynamic Friction for Automotive Applications