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.0011/0.0011, allocations: 109.1 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.001195/0.001195, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08632/0.08632, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.952e-05/2.945e-05, allocations: 2.281 kB / 437.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003466/0.003506, allocations: 2.02 MB / 439.7 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.00489, allocations: 0.6117 MB / 440.3 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.00513, allocations: 4 kB / 440.3 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003844/0.00554, allocations: 51.47 kB / 440.3 MB, free: 9.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.005799, allocations: 47.64 kB / 440.4 MB, free: 9.094 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.00034/0.006149, allocations: 119.8 kB / 440.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.00665, allocations: 360 kB / 440.9 MB, free: 8.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.006899, allocations: 102.2 kB / 441 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.007126, allocations: 131.5 kB / 441.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002453/0.007379, allocations: 127.4 kB / 441.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.49e-05/0.007453, allocations: 24 kB / 441.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.007507, allocations: 24 kB / 441.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003524/0.007865, allocations: 446.7 kB / 441.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001798/0.008051, allocations: 279.7 kB / 442 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.008133, allocations: 39.75 kB / 442 MB, free: 7.465 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.379e-05/0.008193, allocations: 15.88 kB / 442 MB, free: 7.449 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.001316/0.009515, allocations: 1.22 MB / 443.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001402/0.009662, allocations: 71.91 kB / 443.3 MB, free: 6.051 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006637/0.01033, allocations: 0.6425 MB / 443.9 MB, free: 5.383 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001025/0.01044, allocations: 67.91 kB / 444 MB, free: 5.316 MB / 318.1 MB Notification: Performance of Alias: time 0.001625/0.01208, allocations: 1.241 MB / 445.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of simplify2: time 8.059e-05/0.01217, allocations: 55.91 kB / 445.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Events: time 0.0001413/0.01232, allocations: 83.19 kB / 445.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003179/0.01264, allocations: 236.1 kB / 445.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002661/0.01292, allocations: 191.4 kB / 445.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of Causalize: time 0.001001/0.01392, allocations: 0.7316 MB / 446.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005022/0.01444, allocations: 490.2 kB / 447 MB, free: 2.051 MB / 318.1 MB Notification: Performance of Inline: time 0.0009309/0.01537, allocations: 0.7764 MB / 447.8 MB, free: 1.242 MB / 318.1 MB Notification: Performance of Partitioning: time 6.127e-05/0.01545, allocations: 50.36 kB / 447.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of Cleanup: time 5.47e-05/0.01551, allocations: 31.97 kB / 447.9 MB, free: 1.152 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!