Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.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.PI_loop_analogue_compare2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2") translateModel(AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 107.2 kB / 16.42 MB, free: 6.473 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.001048/0.001048, allocations: 190 kB / 17.36 MB, free: 5.711 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0865/0.0865, allocations: 22.32 MB / 313.5 MB, free: 8.832 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.67e-05, allocations: 2.281 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2): time 0.003683/0.00372, allocations: 2.125 MB / 439.8 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.005154, allocations: 0.7287 MB / 440.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002055/0.005372, allocations: 7.938 kB / 440.5 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.005686, allocations: 51.59 kB / 440.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002819/0.005978, allocations: 71.48 kB / 440.6 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.006539, allocations: 211.4 kB / 440.8 MB, free: 8.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006344/0.007182, allocations: 455.1 kB / 441.3 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.007404, allocations: 132.1 kB / 441.4 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.007645, allocations: 147.5 kB / 441.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.007841, allocations: 151.3 kB / 441.7 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.007909, allocations: 28 kB / 441.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.805e-05/0.007963, allocations: 32 kB / 441.8 MB, free: 7.613 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003101/0.00828, allocations: 482.2 kB / 442.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000177/0.008464, allocations: 315.2 kB / 442.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.008548, allocations: 43.81 kB / 442.6 MB, free: 6.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.861e-05/0.008603, allocations: 15.88 kB / 442.6 MB, free: 6.766 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: 52 (50) * Number of variables: 52 (48) Notification: Performance of Bindings: time 0.00132/0.009929, allocations: 1.395 MB / 444 MB, free: 5.258 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.575e-05/0.01003, allocations: 55.94 kB / 444.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006405/0.01068, allocations: 0.6166 MB / 444.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplify1: time 9.247e-05/0.01078, allocations: 51.92 kB / 444.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of Alias: time 0.001418/0.0122, allocations: 1.167 MB / 445.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of simplify2: time 8.057e-05/0.0123, allocations: 47.92 kB / 445.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of Events: time 0.0001448/0.01245, allocations: 96.92 kB / 446 MB, free: 3.035 MB / 318.1 MB Notification: Performance of Detect States: time 0.000231/0.01268, allocations: 186.3 kB / 446.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002342/0.01293, allocations: 192.7 kB / 446.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008701/0.0138, allocations: 0.6883 MB / 447.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004703/0.01428, allocations: 0.4937 MB / 447.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of Inline: time 0.000985/0.01528, allocations: 0.9052 MB / 448.5 MB, free: 464 kB / 318.1 MB Notification: Performance of Partitioning: time 5.974e-05/0.01535, allocations: 46.36 kB / 448.5 MB, free: 412 kB / 318.1 MB Notification: Performance of Cleanup: time 0.0001367/0.01549, allocations: 105 kB / 448.6 MB, free: 300 kB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {Process_2.bb[2], Process_2.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: Process_2.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) Process_2.y = (Process_2.bb[2:3] - Process_2.d * Process_2.a[2:3]) / (Process_2.a_end * Process_2.x_scaled) + Process_2.d * ald_2.y ($RES_SIM_10) Error: Internal error NBInitialization.main failed to apply modules!