My view is that the connection between borrowing and investing is lost if the money goes into a savings account. But it seems the ATO accept that the borrowed funds can be still traced - according to one private ruling, which canot be relied upon, but could be used as a guide.