Thanks for the answer...this model has no brake switches, but some other way that the controller recognizes the state of the brakes (probably by the current and resistance).
It seems like the relays on the inverter are tired because there is some voltage on the brake's plug without drive command, sometimes even 100 vdc.