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.001077/0.001077, allocations: 110.8 kB / 16.43 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.0009913/0.0009913, allocations: 179.1 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08779/0.08779, allocations: 22.32 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.349e-05, allocations: 5.516 kB / 437.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.PA_islanded_generator_loadDroop): time 0.004593/0.004636, allocations: 2.581 MB / 440.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002148/0.006798, allocations: 0.8807 MB / 441.1 MB, free: 8.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004493/0.00726, allocations: 8 kB / 441.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005047/0.007772, allocations: 63.33 kB / 441.2 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.008304, allocations: 87.28 kB / 441.3 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.008918, allocations: 207.7 kB / 441.5 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007633/0.00969, allocations: 0.4993 MB / 442 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.01003, allocations: 144.5 kB / 442.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.01041, allocations: 167.3 kB / 442.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.01073, allocations: 183.1 kB / 442.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.836e-05/0.01084, allocations: 32 kB / 442.5 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.295e-05/0.01092, allocations: 36 kB / 442.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004708/0.01139, allocations: 0.606 MB / 443.1 MB, free: 6.355 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002839/0.01169, allocations: 393.9 kB / 443.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.01182, allocations: 63.69 kB / 443.6 MB, free: 5.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001217/0.01194, allocations: 19.88 kB / 443.6 MB, free: 5.883 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.001997/0.01395, allocations: 1.705 MB / 445.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001148/0.01407, allocations: 63.92 kB / 445.4 MB, free: 4 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0007909/0.01487, allocations: 0.7207 MB / 446.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001191/0.01499, allocations: 63.91 kB / 446.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of Alias: time 0.002447/0.01745, allocations: 1.506 MB / 447.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simplify2: time 0.0001169/0.01758, allocations: 55.88 kB / 447.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002937/0.01788, allocations: 180.1 kB / 447.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of Events: time 0.0001935/0.01808, allocations: 78.06 kB / 448 MB, free: 1.16 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002712/0.01836, allocations: 184.1 kB / 448.1 MB, free: 0.9648 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: {}