Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.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_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") translateModel(AES.Coursework.ElecSys_generator_models.TurbineFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.TurbineFollows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009737, allocations: 105.9 kB / 16.42 MB, free: 6.023 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.0009285/0.0009287, allocations: 191.4 kB / 17.36 MB, free: 5.613 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.188/1.188, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0847/0.0847, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/1.981e-05, allocations: 2.281 kB / 437.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.TurbineFollows): time 0.003765/0.003793, allocations: 3 MB / 440.7 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.00546, allocations: 1.04 MB / 441.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.005684, allocations: 23.88 kB / 441.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.005905, allocations: 83.06 kB / 441.8 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.006116, allocations: 91.06 kB / 441.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005746/0.006699, allocations: 314.9 kB / 442.2 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005268/0.007233, allocations: 0.6207 MB / 442.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.00753, allocations: 167.5 kB / 443 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.007708, allocations: 191.1 kB / 443.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.007888, allocations: 206.7 kB / 443.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.007954, allocations: 47.94 kB / 443.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.008009, allocations: 48 kB / 443.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004538/0.008468, allocations: 0.8099 MB / 444.3 MB, free: 5.172 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002477/0.008721, allocations: 0.5539 MB / 444.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.008798, allocations: 79.69 kB / 444.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.402e-05/0.008879, allocations: 47.62 kB / 445 MB, free: 4.484 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: 88 (88) * Number of variables: 88 (88) Notification: Performance of Bindings: time 0.001358/0.01024, allocations: 1.78 MB / 446.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.888e-05/0.01032, allocations: 83.92 kB / 446.8 MB, free: 2.5 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005679/0.01089, allocations: 0.6749 MB / 447.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of simplify1: time 0.0001421/0.01104, allocations: 155.5 kB / 447.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of Alias: time 0.001676/0.01272, allocations: 1.551 MB / 449.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simplify2: time 8.655e-05/0.01282, allocations: 101.8 kB / 449.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Detect States: time 0.0001804/0.01301, allocations: 148.6 kB / 449.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of Events: time 0.0001201/0.01314, allocations: 102.3 kB / 449.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001901/0.01333, allocations: 179.7 kB / 449.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Causalize: time 0.0006672/0.01401, allocations: 0.571 MB / 450.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003538/0.01437, allocations: 446.6 kB / 450.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of Inline: time 0.0007324/0.01511, allocations: 0.8094 MB / 451.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of Partitioning: time 3.569e-05/0.01516, allocations: 30.3 kB / 451.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of Cleanup: time 0.0001514/0.01531, allocations: 233 kB / 451.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of Causalize: time 0.003338/0.01866, allocations: 2.832 MB / 454.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Tearing: time 1.484e-05/0.01868, allocations: 3.984 kB / 454.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Initialization: time 7.11e-07/0.01869, allocations: 0 / 454.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Tearing: time 1.355e-05/0.01871, allocations: 0 / 454.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of Categorize: time 8.536e-06/0.01872, allocations: 7.938 kB / 454.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Solve: time 0.0002442/0.01897, allocations: 158.6 kB / 454.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0002956/0.01927, allocations: 355.6 kB / 455.1 MB, free: 9.586 MB / 334.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: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (5) {F.y, ia.u2, T.y, PIp.I.y, PIe.I.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 35 (scalar:35, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 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: ........... 60 (scalar:60, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 60 (scalar:60, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.917e-05/0.01933, allocations: 60.66 kB / 455.2 MB, free: 9.535 MB / 334.1 MB Notification: Performance of SimCode: time 0.00147/0.0208, allocations: 2.052 MB / 457.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of Templates: time 0.005781/0.0266, allocations: 2.837 MB / 460.1 MB, free: 4.617 MB / 334.1 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.makefile (rm -f AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.sim & ./AES_AES.Coursework.ElecSys_generator_models.TurbineFollows -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.TurbineFollows.pipe 2>&1)