minreal(Gin) simplifies the transfer function.
Don’t do this, use the function feedback(P*Gin) = P*Gin/(1+P*Gin) instead. Is the s in the denominator deliberate or a typo?
Yes, it’s generally better to convert your systems to statespace representation using the function ss. Do this is soon as possible. See Performance considerations · ControlSystems.jl for some details as to why.
likely due to the non-minimal realization.
Try
Gin=tf([1.7664, 8.8576, 5.120000000000001, 0],[0.00046575, 0.022725, 0.32, 2.8432, 8.8576, 5.120000000000001, 0])
Gin = ss(Gin)
Ginr = minreal(Gin, 1e-8)
Gout = feedback(P*Gin)