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.001062/0.001062, allocations: 119.7 kB / 17.76 MB, free: 5.293 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.001025/0.001025, allocations: 186 kB / 18.69 MB, free: 4.371 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.291/1.291, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.263/0.263, allocations: 48.84 MB / 320.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.721e-05, allocations: 2.281 kB / 451.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003178/0.003196, allocations: 2.279 MB / 453.4 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.004297, allocations: 0.659 MB / 454.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.004399, allocations: 7.938 kB / 454.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.004529, allocations: 27.66 kB / 454.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.004764, allocations: 87.34 kB / 454.2 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.004918, allocations: 59.84 kB / 454.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.005242, allocations: 310.7 kB / 454.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.005379, allocations: 40.72 kB / 454.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.005523, allocations: 111.5 kB / 454.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.005669, allocations: 115.4 kB / 454.8 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.005701, allocations: 16 kB / 454.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.409e-05/0.005765, allocations: 24 kB / 454.9 MB, free: 4.879 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002956/0.006061, allocations: 419.1 kB / 455.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001488/0.006209, allocations: 272 kB / 455.5 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.006253, allocations: 39.88 kB / 455.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.326e-05/0.006286, allocations: 12 kB / 455.6 MB, free: 4.145 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: 37 (37) * Number of variables: 37 (37) Notification: Performance of Bindings: time 0.0008721/0.007158, allocations: 0.9529 MB / 456.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of FunctionAlias: time 9.243e-05/0.007251, allocations: 74.67 kB / 456.6 MB, free: 3 MB / 334.1 MB Notification: Performance of Early Inline: time 0.00034/0.007591, allocations: 363.6 kB / 457 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simplify1: time 8.94e-05/0.00768, allocations: 103.7 kB / 457.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of Alias: time 0.001063/0.008743, allocations: 0.7361 MB / 457.8 MB, free: 1.641 MB / 334.1 MB Notification: Performance of simplify2: time 6.7e-05/0.00881, allocations: 64.34 kB / 457.9 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Detect States: time 0.0001949/0.009005, allocations: 136.5 kB / 458 MB, free: 1.375 MB / 334.1 MB Notification: Performance of Events: time 7.064e-05/0.009075, allocations: 39.91 kB / 458 MB, free: 1.336 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001317/0.009207, allocations: 100 kB / 458.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of Causalize: time 0.0003373/0.009544, allocations: 273.3 kB / 458.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001859/0.00973, allocations: 212.1 kB / 458.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of Inline: time 0.0005833/0.01031, allocations: 0.5731 MB / 459.2 MB, free: 104 kB / 334.1 MB Notification: Performance of Partitioning: time 2.79e-05/0.01034, allocations: 26.3 kB / 459.2 MB, free: 68 kB / 334.1 MB Notification: Performance of Cleanup: time 5.09e-05/0.01039, allocations: 63.94 kB / 459.3 MB, free: 4 kB / 334.1 MB Notification: Performance of Causalize: time 0.0007806/0.01117, allocations: 0.5924 MB / 459.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Tearing: time 9.178e-06/0.01118, allocations: 4 kB / 459.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Initialization: time 3.81e-07/0.01118, allocations: 0 / 459.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Tearing: time 2.184e-06/0.01118, allocations: 0 / 459.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Categorize: time 8.235e-06/0.01119, allocations: 7.984 kB / 459.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Solve: time 0.0008794/0.01207, allocations: 1.485 MB / 461.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0001844/0.01226, allocations: 269.9 kB / 461.6 MB, free: 13.4 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 (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: ........... 34 (scalar:34, 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: ... 4 (linear: 0, nonlinear:4) Notification: Performance of backend: time 3.42e-05/0.01229, allocations: 23.88 kB / 461.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009648/0.01326, allocations: 1.34 MB / 463 MB, free: 12.02 MB / 350.1 MB Notification: Performance of Templates: time 0.00433/0.01759, allocations: 1.764 MB / 464.8 MB, free: 10.25 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)