Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.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.001685/0.001685, 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.002599/0.002599, allocations: 217.8 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.429/1.429, allocations: 230.6 MB / 256.9 MB, free: 7.723 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.1012/0.1012, allocations: 24.04 MB / 337.3 MB, free: 11.27 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_case_studies.Primary_secondary_tertiary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary") translateModel(AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.483e-05, allocations: 2.281 kB / 474.4 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary): time 0.003897/0.003922, allocations: 2.378 MB / 476.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.005434, allocations: 0.7718 MB / 477.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.005574, allocations: 7.938 kB / 477.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.005996, allocations: 87.27 kB / 477.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.006336, allocations: 151.1 kB / 477.8 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.006747, allocations: 215.6 kB / 478 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.007812, allocations: 0.8776 MB / 478.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.008116, allocations: 89.2 kB / 479 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005396/0.008655, allocations: 331 kB / 479.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.008941, allocations: 206.9 kB / 479.5 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.624e-05/0.009007, allocations: 36 kB / 479.5 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.009076, allocations: 36 kB / 479.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0008058/0.009882, allocations: 0.8625 MB / 480.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003738/0.01026, allocations: 0.532 MB / 480.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.01032, allocations: 24 kB / 481 MB, free: 15.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.797e-05/0.01039, allocations: 19.88 kB / 481 MB, free: 15.23 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: 71 (71) * Number of variables: 71 (71) Notification: Performance of [SIM] Bindings: time 0.001982/0.01237, allocations: 1.974 MB / 483 MB, free: 13.12 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001909/0.01256, allocations: 195.6 kB / 483.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.0007846/0.01335, allocations: 0.7652 MB / 483.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003962/0.01374, allocations: 252.3 kB / 484.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.002188/0.01593, allocations: 1.559 MB / 485.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000265/0.0162, allocations: 214 kB / 485.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 9.78e-05/0.01629, allocations: 92.25 kB / 486 MB, free: 9.656 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0003088/0.0166, allocations: 241.9 kB / 486.3 MB, free: 9.363 MB / 350.1 MB Notification: Performance of [SIM] Events: time 7.807e-05/0.01668, allocations: 39.91 kB / 486.3 MB, free: 9.324 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.000306/0.01699, allocations: 255.5 kB / 486.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.001384/0.01837, allocations: 1.032 MB / 487.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000453/0.01882, allocations: 0.5034 MB / 488.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.00112/0.01994, allocations: 0.7108 MB / 488.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0008857/0.02083, allocations: 0.9054 MB / 489.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 4.693e-05/0.02088, allocations: 28 kB / 489.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.0001395/0.02102, allocations: 147.8 kB / 489.9 MB, free: 5.605 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.00263/0.02365, allocations: 1.948 MB / 491.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.000111/0.02376, allocations: 79.91 kB / 491.9 MB, free: 3.555 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 6.21e-07/0.02376, allocations: 4 kB / 491.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0003784/0.02414, allocations: 283.4 kB / 492.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.259e-06/0.02414, allocations: 240 / 492.2 MB, free: 3.262 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 8.239e-05/0.02422, allocations: 83.95 kB / 492.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 1.037e-05/0.02423, allocations: 4 kB / 492.3 MB, free: 3.176 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.001652/0.02589, allocations: 1.244 MB / 493.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.001638/0.02752, allocations: 1.573 MB / 495.1 MB, free: 216 kB / 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: ............................. 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: ........... 60 (scalar:57, 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.562e-05/0.02758, allocations: 35.2 kB / 495.1 MB, free: 184 kB / 350.1 MB Notification: Performance of SimCode: time 0.002022/0.0296, allocations: 1.618 MB / 496.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Templates: time 0.009131/0.03873, allocations: 4.359 MB / 0.4893 GB, free: 10.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.makefile [Timeout 660] (rm -f AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.pipe ; mkfifo AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.pipe >> ../files/AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.sim & ./AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_case_studies.Primary_secondary_tertiary.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.587192990002222] Failed to read output from testmodel.py, exit status != 0: 0.04765533399768174 0.060507255 0.047299959 Calling exit ...