Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.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.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 112 kB / 16.42 MB, free: 6.512 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.001306/0.001306, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.295/1.295, allocations: 222.9 MB / 241.1 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.08556/0.08556, allocations: 22.32 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.199e-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.FF_compensation_simple_lead_lag): time 0.002257/0.002289, allocations: 1.205 MB / 438.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.004277, allocations: 1.357 MB / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.00438, allocations: 0 / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.004765, allocations: 83.47 kB / 440.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.005025, allocations: 107.5 kB / 440.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.005412, allocations: 163.7 kB / 440.6 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007126/0.006137, allocations: 0.503 MB / 441.1 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.006341, allocations: 61.14 kB / 441.1 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.006635, allocations: 183.4 kB / 441.3 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002891/0.006936, allocations: 159.3 kB / 441.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.007019, allocations: 20 kB / 441.5 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.925e-05/0.007087, allocations: 20 kB / 441.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004327/0.007528, allocations: 435 kB / 441.9 MB, free: 7.559 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002076/0.007749, allocations: 276 kB / 442.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.007816, allocations: 35.75 kB / 442.2 MB, free: 7.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.246e-05/0.007877, allocations: 8 kB / 442.2 MB, free: 7.242 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: 35 (33) * Number of variables: 35 (31) Notification: Performance of Bindings: time 0.001712/0.009597, allocations: 1.181 MB / 443.4 MB, free: 5.953 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.316e-05/0.009679, allocations: 43.92 kB / 443.5 MB, free: 5.91 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006372/0.01032, allocations: 463.4 kB / 443.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simplify1: time 9.876e-05/0.01044, allocations: 63.84 kB / 444 MB, free: 5.371 MB / 318.1 MB Notification: Performance of Alias: time 0.001237/0.01168, allocations: 0.6786 MB / 444.7 MB, free: 4.574 MB / 318.1 MB Notification: Performance of simplify2: time 6.858e-05/0.01176, allocations: 51.92 kB / 444.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of Events: time 0.00011/0.01188, allocations: 43.95 kB / 444.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003141/0.01221, allocations: 158.7 kB / 444.9 MB, free: 4.312 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002234/0.01244, allocations: 136 kB / 445 MB, free: 4.172 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008107/0.01326, allocations: 471.5 kB / 445.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.000518/0.01379, allocations: 392.1 kB / 445.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of Inline: time 0.001343/0.01514, allocations: 0.8807 MB / 446.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of Partitioning: time 6.57e-05/0.01522, allocations: 46.36 kB / 446.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of Cleanup: time 3.993e-05/0.01527, allocations: 27.97 kB / 446.8 MB, free: 2.305 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {H.bb[2], H.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: H.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) H.y = (H.bb[2:3] - H.d * H.a[2:3]) / (H.a_end * H.x_scaled) + H.d * d.y ($RES_SIM_13) Error: Internal error NBInitialization.main failed to apply modules!