If I understand your question, what is happening is that the generator is brought to sync (voltage & frequency), then the breaker is closed and then trips free. Correct?
I would review the breaker schematic to see what relaying is connected to the trip coil. Make sure all relay targets are reset.
Is this a recent occurence? Have the relays been calibrated recently?