Optiplex 390 = 2nd generation. The 3rd gen should be 3010!
You should use a Window PE, or use other PC to clean all the partition of the HDD before the installation. And format it into GPT for UEFI boot of Windows 10...
Yes my CPU is G530 but I try a lot of methods, I will try your advice tonight, btw thanks. Since I try to install the win 10 on other and plug the installed SSD/HDD to the pc but it still not work