The problem is not related to the gas generator. In any case BMW will inspect my car on next Tuesday. I'll keep you informed.
FYI, the car has 7000km, I did only one test of more than 240km on the highway with the gas generator forced. Since this test, the gas generator in on automatic mode...