Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Smith_predictor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") translateModel(AES.Coursework.Typical_control_structures.Smith_predictor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Smith_predictor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 108.2 kB / 16.42 MB, free: 6.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 187.2 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08817/0.08817, allocations: 22.32 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.102e-05, allocations: 2.281 kB / 437.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Smith_predictor): time 0.004807/0.004853, allocations: 1.805 MB / 439.5 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.006602, allocations: 0.6079 MB / 440.1 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.006827, allocations: 8 kB / 440.1 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.007286, allocations: 51.64 kB / 440.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.007615, allocations: 67.66 kB / 440.2 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.0081, allocations: 119.8 kB / 440.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.008672, allocations: 339.4 kB / 440.6 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.008891, allocations: 73.8 kB / 440.7 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.0091, allocations: 115.6 kB / 440.8 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.009368, allocations: 111.6 kB / 440.9 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.009441, allocations: 16 kB / 440.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.009494, allocations: 16 kB / 441 MB, free: 8.527 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003503/0.009853, allocations: 304.4 kB / 441.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001684/0.01003, allocations: 193.1 kB / 441.4 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.818e-05/0.01009, allocations: 27.81 kB / 441.5 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.872e-05/0.01014, allocations: 7.938 kB / 441.5 MB, free: 8 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 (29) * Number of variables: 32 (26) Notification: Performance of Bindings: time 0.001272/0.01142, allocations: 0.8885 MB / 442.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.661e-05/0.0115, allocations: 39.89 kB / 442.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000535/0.01204, allocations: 368.1 kB / 442.8 MB, free: 6.582 MB / 318.1 MB Notification: Performance of simplify1: time 7.725e-05/0.01213, allocations: 39.94 kB / 442.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of Alias: time 0.001125/0.01327, allocations: 0.5782 MB / 443.4 MB, free: 5.859 MB / 318.1 MB Notification: Performance of simplify2: time 5.799e-05/0.01334, allocations: 39.94 kB / 443.4 MB, free: 5.82 MB / 318.1 MB Notification: Performance of Events: time 9.97e-05/0.01345, allocations: 39.84 kB / 443.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of Detect States: time 0.00025/0.01371, allocations: 116.1 kB / 443.6 MB, free: 5.652 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002012/0.01392, allocations: 108.1 kB / 443.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008049/0.01474, allocations: 444 kB / 444.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.000431/0.01518, allocations: 324.1 kB / 444.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of Inline: time 0.001015/0.0162, allocations: 0.6384 MB / 445.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of Partitioning: time 5.588e-05/0.01627, allocations: 36.06 kB / 445.1 MB, free: 4.047 MB / 318.1 MB Notification: Performance of Cleanup: time 3.718e-05/0.01632, allocations: 23.97 kB / 445.1 MB, free: 4.023 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {K.bb[2], K.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: K.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) Pr.u = (K.bb[2:3] - K.d * K.a[2:3]) / (K.a_end * K.x_scaled) + K.d * fb.y ($RES_SIM_4) Error: Internal error NBInitialization.main failed to apply modules!