improved logging for create_Datamodel script; fixed problem with finding opposite edges during linking