The efficiency of an actual machine is never 100% because of the Second law of thermodynamics which states that the quality of energy will decay, eventually becoming heat. This means that some of the work put into the system is transformed (lost) into thermal energy(heat) therefore, causing the percent to reduce.