You may have fallen victim to the bad PSU issue these iMacs have... Here's the part you would need to replace [product|IF165-001] and the instructions on how to do it [guide|969]
open