Hi Ghada,
the problem is in the systemd service definition (/etc/systemd/system/openems.service). WSL does not seem to support the realtime scheduling. Please try a simplified configuration file, as previously described in this German thread:
/etc/systemd/system/openems.service
Regards, Stefan