Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001073, allocations: 117.1 kB / 17.76 MB, free: 5.316 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.001163/0.001163, allocations: 188.5 kB / 18.69 MB, free: 4.395 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.804/1.804, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3374/0.3374, allocations: 48.84 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.813e-05, allocations: 2.281 kB / 451.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.004463/0.004501, allocations: 2.178 MB / 453.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.006218, allocations: 0.6278 MB / 453.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002806/0.006517, allocations: 7.938 kB / 454 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002021/0.006727, allocations: 27.66 kB / 454 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.007201, allocations: 79.41 kB / 454.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.007485, allocations: 55.86 kB / 454.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.007976, allocations: 278.9 kB / 454.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.008195, allocations: 52.38 kB / 454.4 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.00846, allocations: 99.56 kB / 454.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.00867, allocations: 107.5 kB / 454.6 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.008723, allocations: 12 kB / 454.6 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.008818, allocations: 20 kB / 454.7 MB, free: 5.059 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.000342/0.009166, allocations: 371.7 kB / 455 MB, free: 4.691 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001832/0.009357, allocations: 244.4 kB / 455.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.728e-05/0.009432, allocations: 35.88 kB / 455.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.481e-05/0.009503, allocations: 7.938 kB / 455.3 MB, free: 4.406 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: 31 (31) * Number of variables: 31 (31) Notification: Performance of Bindings: time 0.001257/0.01077, allocations: 1.017 MB / 456.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of FunctionAlias: time 5.915e-05/0.01083, allocations: 31.91 kB / 456.4 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0004383/0.01128, allocations: 397.2 kB / 456.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simplify1: time 6.368e-05/0.01135, allocations: 27.97 kB / 456.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of Alias: time 0.001233/0.01259, allocations: 0.7486 MB / 457.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simplify2: time 4.922e-05/0.01265, allocations: 23.97 kB / 457.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of Detect States: time 0.0002408/0.0129, allocations: 115.5 kB / 457.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of Events: time 0.000104/0.01301, allocations: 31.97 kB / 457.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001571/0.01318, allocations: 96.03 kB / 457.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Causalize: time 0.0004308/0.01362, allocations: 332.2 kB / 458.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002641/0.01389, allocations: 236.2 kB / 458.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of Inline: time 0.000754/0.01466, allocations: 0.5881 MB / 458.9 MB, free: 492 kB / 334.1 MB Notification: Performance of Partitioning: time 4.598e-05/0.01471, allocations: 34.38 kB / 459 MB, free: 448 kB / 334.1 MB Notification: Performance of Cleanup: time 2.971e-05/0.01475, allocations: 15.98 kB / 459 MB, free: 432 kB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) grid.fnom = system.fnom ($RES_BND_54) slice: {}; Notification: Performance of Causalize: time 0.00204/0.01679, allocations: 1.38 MB / 460.4 MB, free: 15 MB / 350.1 MB Notification: Performance of Tearing: time 1.501e-05/0.01682, allocations: 4 kB / 460.4 MB, free: 15 MB / 350.1 MB Notification: Performance of Initialization: time 1.012e-06/0.01683, allocations: 0 / 460.4 MB, free: 15 MB / 350.1 MB Notification: Performance of Tearing: time 5.169e-06/0.01684, allocations: 4 kB / 460.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Categorize: time 9.538e-06/0.01685, allocations: 0 / 460.4 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Solve: time 0.001035/0.01789, allocations: 1.208 MB / 461.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002892/0.0182, allocations: 298 kB / 461.9 MB, free: 13.3 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) {generator.omega_e_filt, load.port.theta, generator.omega_m} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 14 (scalar:14, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 32 (scalar:32, 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: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 7.352e-05/0.01828, allocations: 27.59 kB / 461.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of SimCode: time 0.001399/0.01968, allocations: 1.285 MB / 463.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Templates: time 0.005266/0.02497, allocations: 1.538 MB / 464.7 MB, free: 10.44 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1)