Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 216.9 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 256.9 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1019/0.1019, allocations: 24.04 MB / 337.3 MB, free: 11.37 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop") translateModel(AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.234e-05, allocations: 2.281 kB / 474.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop): time 0.004341/0.004363, allocations: 2.43 MB / 476.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.006202, allocations: 0.7913 MB / 477.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.006467, allocations: 11.94 kB / 477.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004436/0.00691, allocations: 99.2 kB / 477.7 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.007383, allocations: 143.1 kB / 477.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.007928, allocations: 227.6 kB / 478.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.009126, allocations: 0.9087 MB / 479 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002945/0.009421, allocations: 89.25 kB / 479.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.01007, allocations: 335 kB / 479.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003649/0.01043, allocations: 218.9 kB / 479.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.95e-05/0.01053, allocations: 36 kB / 479.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-05/0.01062, allocations: 39.94 kB / 479.7 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0008878/0.0115, allocations: 0.9129 MB / 480.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004795/0.01198, allocations: 0.5551 MB / 481.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.01209, allocations: 24 kB / 481.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.884e-05/0.01217, allocations: 19.88 kB / 481.2 MB, free: 15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 (74) * Number of variables: 74 (74) Notification: Performance of [SIM] Bindings: time 0.002189/0.01436, allocations: 2.062 MB / 483.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002752/0.01463, allocations: 219.6 kB / 483.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0009077/0.01554, allocations: 0.8198 MB / 484.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000435/0.01598, allocations: 268.3 kB / 484.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.002478/0.01845, allocations: 1.649 MB / 486.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003046/0.01876, allocations: 234.4 kB / 486.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000121/0.01888, allocations: 96.3 kB / 486.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0003439/0.01922, allocations: 249.8 kB / 486.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of [SIM] Events: time 9.829e-05/0.01932, allocations: 39.91 kB / 486.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003599/0.01968, allocations: 289 kB / 487.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.001644/0.02133, allocations: 1.099 MB / 488.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005788/0.02191, allocations: 0.5541 MB / 488.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.001283/0.02319, allocations: 0.742 MB / 489.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.001211/0.0244, allocations: 0.9678 MB / 490.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 8.631e-05/0.02449, allocations: 32 kB / 490.5 MB, free: 4.965 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0003379/0.02482, allocations: 171.8 kB / 490.7 MB, free: 4.797 MB / 350.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) 0.0 = 0.0 ($RES_SIM_1); [SCAL] (1) 0.0 = 0.0 ($RES_SIM_3); Notification: Performance of [INI] Causalize: time 0.003204/0.02803, allocations: 2.046 MB / 492.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.0001667/0.02819, allocations: 117.6 kB / 492.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 7.31e-07/0.02819, allocations: 4 kB / 492.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0004448/0.02864, allocations: 306.1 kB / 493.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.54e-06/0.02864, allocations: 240 / 493.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.0001217/0.02877, allocations: 107.9 kB / 493.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 1.045e-05/0.02878, allocations: 4 kB / 493.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.001717/0.03049, allocations: 1.325 MB / 494.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.002096/0.03259, allocations: 1.853 MB / 496.4 MB, free: 14.88 MB / 366.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 8 (8) {G1.x_scaled, G2.x_scaled, beta1.u, Ge1.deltag, Ge1.wg, Ge2.thetag, Ge2.deltag, Ge2.wg} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 27 (scalar:25, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 61 (scalar:58, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 5.843e-05/0.03265, allocations: 31.16 kB / 496.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of SimCode: time 0.002032/0.03468, allocations: 1.714 MB / 498.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of Templates: time 0.009613/0.04429, allocations: 4.62 MB / 0.491 GB, free: 8.492 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe ; mkfifo AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe >> ../files/AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.sim & ./AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_power_frequency_control.PA_two_generators_loadDroop.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.632350453990512] Failed to read output from testmodel.py, exit status != 0: 0.05283764097839594 0.06623930399999994 0.051071380999999944 Calling exit ...