fixed a bug in datagen mosel data import
temp link model refactoring
fixed a bug in link model constraint