Omega B always goes out after 5 minutes

Hello, have a big problem with my Omega B, BJ 1998, x20xev. The Omega always goes out after 5 minutes and starts again after 20 minutes. The error occurs even if it runs in the garage in the stand gas. I had the error read out and it should be the crankshaft sensor. I changed the crankshaft sensor and the dis ignition module. Unfortunately without success. I noticed that the MKL lamp emits a flash code, 1, 3, 7 and that also without a plug-in bridge. lying on a relay? Or ..? In advance thank you