Here is the source, and the specific part of the question:
gravity, selfCollide and self_collide (gazebo tag for links)
Adding one of the tags above for a link, an additional tag is added to the resulting sdf file, i.e. there are then two gravity tags for the same link in the sdf file where the first is always set to true (1) and the second sdf tag holds the value set in the urdf. I assume that when gazebo parses the sdf file, it always finds the first tag using their value, thus always neglecting what has been set in the urdf.
kp, kd (gazebo tag for joint)
Not converted into sdf. Why?