Hi, My late 2011 Mac Mini has decided to stop working. It started with restarting itself on occasion so I decided to do a fresh install and reset everything (PRAM, NVRAM, SMC). It was running Mavericks. I did a reinstall via internet boot, via bootable USB and disc and every time it would still shutdown during power up if install worked, a few times install didn't work, a couple of times it got through but would only last about an hour and pack it in again. I've tried Mavericks and Yosemite and Snow Leopard installs, different RAM, I've checked hard drive health via disk utility with no issues, have used the MAC test function with two passes and no reported issues. The system says everything is fine, that the hard drive is fine, that everything is fine but it still keeps shutting down?!!! I'm leaning towards a dodgy SSD but everything says it's fine, is there any other way to test the SSD more thoroughly without buying a new one and swapping them out? Or does anyone have any insights into what else it might be? (Power module is fine as mac will stay on as long as it's on when in recovery mode). Please help, this is my workhorse that I use everyday. Edit: Extended Apple hardware test has been done with 2 extended passes, no issues. Mac Crashes even when OSX run from USB, if put to sleep mac restarts immediately, does so when putting display to sleep as well, does this when OSX is run from hard drive or USB. Energy save is off/never.