More fixes on the two spectre-to-SPICE conversion scripts.
diff --git a/common/convert_spectre.py b/common/convert_spectre.py
index a207bd5..e83cce0 100755
--- a/common/convert_spectre.py
+++ b/common/convert_spectre.py
@@ -270,6 +270,13 @@
                     imatch = stdsubrex.match(line)
 
             if imatch:
+                # If a model block is pending, then dump it
+                if modellines != []:
+                    for line in modellines:
+                        spicelines.append(line)
+                    modellines = []
+                    inmodel = False
+
                 insub = True
                 subname = imatch.group(1)
                 if isspectre: