If the problem remains after you move CGs then I'd begin to suspect the A/Cs like compressor or capacitors based on what you posted.
Do the following:
1. If the PI has the remote display in the basement then buy a data cable and run it through a window and bring the remote inside. Pay close attention and see if you can detect any unexpected voltage are amp variations. Unfortunately you won't get any error codes because power off/on resets the errors.
2. Disconnect all power and check the A/Cs for dirt and and turn and listen to the fan for any bearing etc noise.
3. Buy a AC/DC clampon meter that reads capacitor values and check all in the A/Cs. At 12 years they are suspects even if they look OK. You don't need the DC function for the A/Cs but it's otherwise good to have.
4. You could have a intermittent short so check any power cord reels, junction boxes. And if the plug shows any issues replace it.
If the ACs are not on opposite legs then change one of them. However there is absolutely no reason why they can't be on the same leg - You're drawing 31A for the two on a 50A rated line and all other loads are minimized.