Nozturk, all of those are correct. But all of them are very formal and would sound funny in everyday speech. In fact, we almost never use the word "thus" in everyday speech. All of the sentences would work well in more formal writing.
In everyday speech, I would say something like this:
"That's when I realized how much I need you."
"When that happened, I realized how much I need you."