Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.PA_islanded_generator_loadDroop.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.ElecSys_power_frequency_control.PA_islanded_generator_loadDroop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.PA_islanded_generator_loadDroop") translateModel(AES.Coursework.ElecSys_power_frequency_control.PA_islanded_generator_loadDroop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.PA_islanded_generator_loadDroop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 106.8 kB / 16.42 MB, free: 6.523 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.001024/0.001024, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.297/1.297, 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.08658/0.08658, allocations: 22.33 MB / 313.5 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.375e-05, allocations: 2.281 kB / 437.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.PA_islanded_generator_loadDroop): time 0.003504/0.003537, allocations: 2.596 MB / 440.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.005132, allocations: 0.869 MB / 441.1 MB, free: 8.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.005312, allocations: 8 kB / 441.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.005675, allocations: 63.33 kB / 441.2 MB, free: 8.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.005906, allocations: 91.28 kB / 441.3 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.006316, allocations: 206.2 kB / 441.5 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.006862, allocations: 0.4993 MB / 442 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.007138, allocations: 144.5 kB / 442.1 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.007353, allocations: 171.3 kB / 442.3 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.007593, allocations: 171.1 kB / 442.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.407e-05/0.007666, allocations: 40 kB / 442.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.007735, allocations: 32 kB / 442.5 MB, free: 6.957 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004138/0.008153, allocations: 0.606 MB / 443.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002285/0.008389, allocations: 397.9 kB / 443.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.008455, allocations: 55.75 kB / 443.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.959e-05/0.008531, allocations: 19.88 kB / 443.6 MB, free: 5.875 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.001556/0.01009, allocations: 1.713 MB / 445.3 MB, free: 4.047 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.546e-05/0.01017, allocations: 59.94 kB / 445.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006523/0.01083, allocations: 0.7168 MB / 446.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simplify1: time 6.971e-05/0.01091, allocations: 67.91 kB / 446.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Alias: time 0.001647/0.01256, allocations: 1.514 MB / 447.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of simplify2: time 4.711e-05/0.01262, allocations: 51.89 kB / 447.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of Events: time 0.0001033/0.01273, allocations: 76.98 kB / 447.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of Detect States: time 0.000244/0.01298, allocations: 194.2 kB / 448 MB, free: 1.133 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001943/0.01319, allocations: 196.1 kB / 448.2 MB, free: 0.9258 MB / 318.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [DER-] (1) Real $DER.G.deltag slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) G.deltag = G.thetag - G.thetap ($RES_SIM_9) slice: {}