How to convert Inductor to series transmission line?
This [first replacement circuit] actually works (S11 and S22) are same, but the problem is the TLIN is short circuited.


Instead of connecting the stub end of the line directly to ground, connect it to ground through a capacitor. Make the capacitor value large enough and it will be essentially a short circuit at your operating frequency, but still keep the line from being shorted at DC, so it won't mess up the bias of your amplifier stages.


  I tried the following [second replacement circuit] as well, but I got S22 as 50 ohms.


If you work in 50-ohm line, then a segment of higher-Z0 line will look inductive over some frequency band starting at DC (of course an inductor at DC is expected to have no effect). 

The geometry of this line is probably not exactly the same as the geometry of the line needed to make a stub line appear inductive. 

Since you haven't shared your substrate definition, or the inductance you're targeting, or the frequency band you're operating in, I can't say more about how you would implement this.