Fixed some issues with the simulation runs and added logging to file

This is related to des-testbed/Ara-Sim#53