Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.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.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001082, allocations: 104 kB / 16.42 MB, free: 6.023 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.001111/0.001112, allocations: 189.4 kB / 17.36 MB, free: 5.59 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.338/1.338, 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.08697/0.08697, allocations: 22.33 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.662e-05, allocations: 2.281 kB / 437.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.003393/0.003439, allocations: 1.056 MB / 438.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.006135, allocations: 1.252 MB / 440 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.006271, allocations: 4 kB / 440 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.00672, allocations: 51.69 kB / 440 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.007075, allocations: 59.69 kB / 440.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.007474, allocations: 107.8 kB / 440.2 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.008122, allocations: 327.4 kB / 440.5 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.008329, allocations: 53.59 kB / 440.6 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.008601, allocations: 111.6 kB / 440.7 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.009034, allocations: 111.5 kB / 440.8 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.047e-05/0.009112, allocations: 16 kB / 440.8 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.009188, allocations: 12 kB / 440.8 MB, free: 8.684 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003429/0.009547, allocations: 288.6 kB / 441.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001682/0.009732, allocations: 169.5 kB / 441.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.009808, allocations: 23.88 kB / 441.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.207e-05/0.009865, allocations: 11.88 kB / 441.3 MB, free: 8.195 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: 29 (26) * Number of variables: 29 (23) Notification: Performance of Bindings: time 0.001371/0.01125, allocations: 0.8279 MB / 442.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.059e-05/0.01133, allocations: 39.89 kB / 442.2 MB, free: 7.223 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005668/0.01191, allocations: 332.2 kB / 442.5 MB, free: 6.871 MB / 318.1 MB Notification: Performance of simplify1: time 8.456e-05/0.01202, allocations: 39.89 kB / 442.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of Alias: time 0.001175/0.01321, allocations: 0.5076 MB / 443 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simplify2: time 7.858e-05/0.0133, allocations: 35.94 kB / 443.1 MB, free: 6.191 MB / 318.1 MB Notification: Performance of Events: time 0.0001328/0.01345, allocations: 39.91 kB / 443.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002958/0.01376, allocations: 120 kB / 443.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002318/0.01401, allocations: 114.1 kB / 443.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of Causalize: time 0.001007/0.01504, allocations: 422.3 kB / 443.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005255/0.01558, allocations: 304.2 kB / 444 MB, free: 5.16 MB / 318.1 MB Notification: Performance of Inline: time 0.001203/0.0168, allocations: 0.604 MB / 444.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of Partitioning: time 7.655e-05/0.01689, allocations: 40.09 kB / 444.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of Cleanup: time 6.09e-05/0.01697, allocations: 23.97 kB / 444.7 MB, free: 4.453 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {M.bb[2], M.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: M.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) M.y = (M.bb[2:3] - M.d * M.a[2:3]) / (M.a_end * M.x_scaled) + M.d * ald.u2 ($RES_SIM_3) Error: Internal error NBInitialization.main failed to apply modules!