Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.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.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") translateModel(AES.Coursework.ElecSys_generator_models.SlidingPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.SlidingPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 105.7 kB / 16.42 MB, free: 6.004 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.001273/0.001273, allocations: 186.5 kB / 17.35 MB, free: 5.602 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.334/1.334, allocations: 222.9 MB / 241 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.08901/0.08901, allocations: 22.31 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.528e-05, allocations: 2.281 kB / 437.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.SlidingPressure): time 0.004199/0.004245, allocations: 2.377 MB / 440 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.006366, allocations: 0.7714 MB / 440.8 MB, free: 8.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004837/0.006867, allocations: 11.94 kB / 440.8 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.0072, allocations: 51.47 kB / 440.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.007519, allocations: 55.41 kB / 440.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.00815, allocations: 175.2 kB / 441.1 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005766/0.008735, allocations: 359.7 kB / 441.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.009046, allocations: 140.4 kB / 441.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.009244, allocations: 115.4 kB / 441.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.009438, allocations: 123.3 kB / 441.8 MB, free: 7.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.009496, allocations: 24 kB / 441.8 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.455e-05/0.009547, allocations: 28 kB / 441.9 MB, free: 7.59 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000384/0.009936, allocations: 481.8 kB / 442.3 MB, free: 7.113 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002087/0.01015, allocations: 326.9 kB / 442.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.01024, allocations: 47.81 kB / 442.7 MB, free: 6.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001133/0.01036, allocations: 27.8 kB / 442.7 MB, free: 6.715 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: 52 (52) * Number of variables: 52 (52) Notification: Performance of Bindings: time 0.001678/0.01204, allocations: 1.375 MB / 444.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.064e-05/0.01214, allocations: 59.94 kB / 444.2 MB, free: 5.168 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005753/0.01273, allocations: 0.562 MB / 444.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of simplify1: time 5.744e-05/0.01279, allocations: 47.94 kB / 444.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of Alias: time 0.001861/0.01466, allocations: 1.351 MB / 446.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simplify2: time 6.447e-05/0.01474, allocations: 23.97 kB / 446.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of Events: time 0.0001271/0.01487, allocations: 59.89 kB / 446.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002924/0.01517, allocations: 154.1 kB / 446.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002613/0.01544, allocations: 144.2 kB / 446.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of Causalize: time 0.0007298/0.01618, allocations: 475.7 kB / 447 MB, free: 2.086 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004711/0.01667, allocations: 364.3 kB / 447.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of Inline: time 0.0007946/0.01747, allocations: 0.6683 MB / 448 MB, free: 1 MB / 318.1 MB Notification: Performance of Partitioning: time 6.099e-05/0.01754, allocations: 46.3 kB / 448 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of Cleanup: time 9.713e-05/0.01764, allocations: 77.11 kB / 448.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of Causalize: time 0.003789/0.02144, allocations: 2.667 MB / 450.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Tearing: time 1.378e-05/0.02147, allocations: 0 / 450.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Initialization: time 6.61e-07/0.02147, allocations: 0 / 450.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Tearing: time 2.876e-06/0.02148, allocations: 0 / 450.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Categorize: time 1.137e-05/0.0215, allocations: 4 kB / 450.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Solve: time 0.000236/0.02174, allocations: 117.5 kB / 450.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Jacobian: time 0.0003973/0.02214, allocations: 346 kB / 451.2 MB, free: 13.69 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: ......... 1 * 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: ............................. 4 (4) {F.y, S.y, T.y, PIp.I.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$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: ........... 21 (scalar:21, 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: ........... 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 (lambda=0)] 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: Performance of backend: time 7.85e-05/0.02223, allocations: 60.16 kB / 451.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of SimCode: time 0.001618/0.02385, allocations: 1.515 MB / 452.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of Templates: time 0.00508/0.02895, allocations: 1.663 MB / 454.5 MB, free: 10.43 MB / 334.1 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.makefile (rm -f AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.sim & ./AES_AES.Coursework.ElecSys_generator_models.SlidingPressure -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.SlidingPressure.pipe 2>&1)