The optimal power performance of a first-principle quantum heat engine model shows friction-like phenomena when the internal fluid Hamiltonian does not commute with the external control field. The model is based on interacting two-level systems where the external magnetic field serves as a control variable.