overheating in machines is caused by friction