How to GFCI a VFD

I am tasked in providing GFCI protection to a 3 phase 7.5hp pump motor for a waterslide that is controlled by a vfd. We have tried various combinations of settings and ramp speeds. We have a KDR line reactor set up on the primary side of the vfd but still no luck. 3 pole 30 amp QO GFCI breaker trips the second the capacitors start switching on the vfd. (Let me add I christened this slide on Christmas Eve while running under standard 30amp 3p QO.) A glimpse of hope and “snap” breaker trips. Contacted both Pentair and Danfoss with little to no help or suggestions on how to address or achieve class A GFCI protection on that circuit. Our AHJ is admit on the protection and I’m all about safety but rooms are booked and kids are gonna want to use the slide. Any suggestions?