Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.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.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001139, allocations: 111.7 kB / 16.42 MB, free: 6.035 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.001265/0.001264, allocations: 178.7 kB / 17.35 MB, free: 5.617 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09025/0.09025, allocations: 22.32 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/2.953e-05, allocations: 2.281 kB / 437.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003822/0.00386, allocations: 1.995 MB / 439.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.005306, allocations: 0.6273 MB / 440.3 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.005486, allocations: 3.938 kB / 440.3 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.005912, allocations: 51.47 kB / 440.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.006137, allocations: 39.72 kB / 440.4 MB, free: 9.098 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.006452, allocations: 127.8 kB / 440.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.006929, allocations: 356 kB / 440.9 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.007161, allocations: 110.2 kB / 441 MB, free: 8.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.007319, allocations: 119.5 kB / 441.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007492, allocations: 135.4 kB / 441.2 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.007549, allocations: 24 kB / 441.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.007604, allocations: 24 kB / 441.3 MB, free: 8.219 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003221/0.007932, allocations: 450.6 kB / 441.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001513/0.00809, allocations: 279.7 kB / 442 MB, free: 7.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.008141, allocations: 35.81 kB / 442 MB, free: 7.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.676e-05/0.008195, allocations: 15.88 kB / 442 MB, free: 7.445 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: 63 (62) * Number of variables: 63 (61) Notification: Performance of Bindings: time 0.001233/0.009434, allocations: 1.226 MB / 443.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001063/0.009547, allocations: 59.94 kB / 443.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006025/0.01016, allocations: 0.6463 MB / 444 MB, free: 5.383 MB / 318.1 MB Notification: Performance of simplify1: time 6.452e-05/0.01023, allocations: 67.89 kB / 444 MB, free: 5.316 MB / 318.1 MB Notification: Performance of Alias: time 0.001495/0.01173, allocations: 1.245 MB / 445.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of simplify2: time 5.444e-05/0.0118, allocations: 47.94 kB / 445.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002616/0.01207, allocations: 230.1 kB / 445.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of Events: time 0.0001172/0.01219, allocations: 82.02 kB / 445.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002164/0.01242, allocations: 195.4 kB / 445.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008706/0.01329, allocations: 0.7238 MB / 446.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004428/0.01374, allocations: 486.3 kB / 447 MB, free: 2.066 MB / 318.1 MB Notification: Performance of Inline: time 0.0007754/0.01453, allocations: 0.7803 MB / 447.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of Partitioning: time 6.545e-05/0.0146, allocations: 54.36 kB / 447.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of Cleanup: time 3.461e-05/0.01464, allocations: 35.95 kB / 447.9 MB, free: 1.156 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {Process.bb[2], Process.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: Process.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) PI_1.PV = (Process.bb[2:3] - Process.d * Process.a[2:3]) / (Process.a_end * Process.x_scaled) + Process.d * Process.u ($RES_SIM_12) Error: Internal error NBInitialization.main failed to apply modules!