diff --git a/wetb/hawc2/simulation.py b/wetb/hawc2/simulation.py
index 387f2913c1dbbf81b514689451b182343303df4b..a5e4edfe82c4c2bfbf044a49e4aee7793c0301f2 100755
--- a/wetb/hawc2/simulation.py
+++ b/wetb/hawc2/simulation.py
@@ -100,7 +100,7 @@ class Simulation(object):
         self.time_stop = self.htcFile.simulation.time_stop[0]
         self.hawc2exe = hawc2exe
         self.copy_turbulence = copy_turbulence
-        self.simulation_id = (htcfilename + "_%d" % id(self)).replace("\\","/").replace("/", "_")
+        self.simulation_id = (htcfilename.replace("\\","/").replace("/", "_")[:50]+ "_%d" % id(self))
         if self.simulation_id.startswith("input_"):
             self.simulation_id = self.simulation_id[6:]
         self.stdout_filename = fmt_path(os.path.join(os.path.relpath(self.exepath, self.modelpath),