Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.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.001426/0.001426, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001612/0.001612, allocations: 215.6 kB / 23.06 MB, free: 4.992 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.466/1.466, allocations: 230.7 MB / 256.9 MB, free: 7.766 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.1056/0.1056, allocations: 24.05 MB / 337.3 MB, free: 11.29 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.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") translateModel(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.589e-05, allocations: 2.281 kB / 474.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator): time 0.002516/0.002552, allocations: 0.9664 MB / 475.4 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.004597, allocations: 1.249 MB / 476.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.004708, allocations: 4 kB / 476.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.005046, allocations: 43.64 kB / 476.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.005214, allocations: 43.77 kB / 476.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.005452, allocations: 91.84 kB / 476.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.005901, allocations: 335.4 kB / 477.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.006037, allocations: 33.58 kB / 477.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.006203, allocations: 111.7 kB / 477.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.006348, allocations: 79.64 kB / 477.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.006384, allocations: 12 kB / 477.3 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.006408, allocations: 12 kB / 477.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002563/0.006664, allocations: 273.2 kB / 477.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001144/0.006778, allocations: 161.8 kB / 477.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.006804, allocations: 11.94 kB / 477.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.849e-05/0.006833, allocations: 4 kB / 477.8 MB, free: 2.449 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 (18) * Number of variables: 18 (18) Notification: Performance of [SIM] Bindings: time 0.001102/0.007935, allocations: 0.7262 MB / 478.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.693e-05/0.008032, allocations: 77.23 kB / 478.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0002816/0.008313, allocations: 280 kB / 478.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002099/0.008523, allocations: 149.9 kB / 479 MB, free: 1.016 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.0007234/0.009246, allocations: 467.6 kB / 479.5 MB, free: 460 kB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001482/0.009395, allocations: 126.2 kB / 479.6 MB, free: 288 kB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 5.708e-05/0.009452, allocations: 60.34 kB / 479.7 MB, free: 200 kB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0001766/0.009628, allocations: 123.8 kB / 479.8 MB, free: 24 kB / 334.1 MB Notification: Performance of [SIM] Events: time 7.842e-05/0.009707, allocations: 27.97 kB / 479.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001418/0.009848, allocations: 104 kB / 479.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0002227/0.01007, allocations: 140 kB / 480 MB, free: 15.74 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001775/0.01025, allocations: 199.6 kB / 480.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.000444/0.01069, allocations: 304.4 kB / 480.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0003127/0.01101, allocations: 339.7 kB / 480.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 2.053e-05/0.01103, allocations: 12.12 kB / 480.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 4.934e-05/0.01108, allocations: 51.94 kB / 480.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.0008994/0.01197, allocations: 0.6124 MB / 481.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 1.494e-05/0.01199, allocations: 8 kB / 481.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 3.5e-07/0.01199, allocations: 0 / 481.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001892/0.01218, allocations: 136 kB / 481.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.188e-06/0.01218, allocations: 0 / 481.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 8.005e-06/0.01219, allocations: 12 kB / 481.7 MB, free: 14 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 6.493e-06/0.0122, allocations: 0 / 481.7 MB, free: 14 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.000598/0.0128, allocations: 460.4 kB / 482.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0004273/0.01322, allocations: 464 kB / 482.6 MB, free: 13.03 MB / 350.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: ............................. 3 (3) {N.y, Cps.x_scaled, g.x_scaled} * 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: ........... 11 (scalar:9, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:18, array:4, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.268e-05/0.01327, allocations: 19.81 kB / 482.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008871/0.01415, allocations: 0.6696 MB / 483.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of Templates: time 0.004656/0.01881, allocations: 1.775 MB / 485.1 MB, free: 10.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe ; mkfifo AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe >> ../files/AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.sim & ./AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_power_frequency_control.BO_rigid_Islanded_generator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.395721218024846] Failed to read output from testmodel.py, exit status != 0: 0.027168118045665324 0.04038934 0.030711421000000003 Calling exit ...