Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 116.4 kB / 17.81 MB, free: 5.141 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.001037/0.001037, allocations: 181.2 kB / 18.74 MB, free: 4.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 207.6 MB / 227.1 MB, free: 11.56 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2637/0.2637, allocations: 49.52 MB / 326.5 MB, free: 7.496 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.845e-05, allocations: 6.219 kB / 463.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003293/0.003311, allocations: 2.291 MB / 465.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.004334, allocations: 0.6592 MB / 466.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.669e-05/0.004421, allocations: 0 / 466.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.004541, allocations: 39.59 kB / 466.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.004749, allocations: 83.33 kB / 466.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.004893, allocations: 59.8 kB / 466.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.005218, allocations: 322.7 kB / 466.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.005336, allocations: 36.73 kB / 466.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.005494, allocations: 123.5 kB / 466.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.00566, allocations: 111.4 kB / 466.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.005691, allocations: 16 kB / 466.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.005753, allocations: 20 kB / 466.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0003343/0.006087, allocations: 427.1 kB / 467.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001673/0.006254, allocations: 268 kB / 467.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.006298, allocations: 39.88 kB / 467.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.16e-05/0.006329, allocations: 8 kB / 467.7 MB, free: 12.81 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: 37 (37) * Number of variables: 37 (37) Notification: Performance of Bindings: time 0.0009494/0.007279, allocations: 0.9568 MB / 468.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.88e-05/0.007378, allocations: 82.66 kB / 468.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0003805/0.007758, allocations: 363.6 kB / 469 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Simplify 1: time 0.0001042/0.007862, allocations: 91.75 kB / 469.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Alias: time 0.00117/0.009032, allocations: 0.7944 MB / 469.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Simplify 2: time 7.337e-05/0.009105, allocations: 72.31 kB / 470 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Remove Stream: time 5.969e-05/0.009165, allocations: 60.41 kB / 470.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002279/0.009393, allocations: 136.2 kB / 470.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of Events: time 7.15e-05/0.009464, allocations: 43.84 kB / 470.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001351/0.009599, allocations: 104.1 kB / 470.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004272/0.01003, allocations: 352.4 kB / 470.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001438/0.01017, allocations: 147.9 kB / 470.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of Simplify: time 0.0003662/0.01054, allocations: 295.2 kB / 471.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of Inline: time 0.0002943/0.01083, allocations: 336.8 kB / 471.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of Partitioning: time 3.224e-05/0.01086, allocations: 30.3 kB / 471.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of Cleanup: time 5.54e-05/0.01092, allocations: 67.92 kB / 471.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of Causalize: time 0.0008753/0.01179, allocations: 0.6939 MB / 472.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of Tearing: time 8.335e-06/0.0118, allocations: 0 / 472.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of Initialization: time 3.21e-07/0.0118, allocations: 7.938 kB / 472.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of Tearing: time 1.573e-06/0.0118, allocations: 0 / 472.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of Categorize: time 8.406e-06/0.01181, allocations: 8 kB / 472.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of Solve: time 0.0004873/0.0123, allocations: 0.5052 MB / 472.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002033/0.0125, allocations: 273.9 kB / 473 MB, free: 6.891 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: ............................. 4 (4) {grid.port.theta, generator.omega_e_filt, generator.theta, generator.omega_m} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$TEV_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: ........... 18 (scalar:18, 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 (resizable: 0generic: 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: ........... 37 (scalar:37, 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 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.313e-05/0.01255, allocations: 34.75 kB / 473.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of SimCode: time 0.001019/0.01356, allocations: 1.308 MB / 474.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Templates: time 0.004483/0.01805, allocations: 1.717 MB / 476.1 MB, free: 3.812 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1)