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.001471/0.001471, allocations: 113.3 kB / 17.8 MB, free: 5.23 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.001326/0.001326, allocations: 184.3 kB / 18.74 MB, free: 4.305 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.246/1.246, allocations: 207.6 MB / 227.1 MB, free: 11.55 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2631/0.2631, allocations: 49.52 MB / 326.5 MB, free: 7.488 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.819e-05, allocations: 2.281 kB / 463.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003431/0.003449, allocations: 2.279 MB / 465.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004649, allocations: 0.6629 MB / 466.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.004787, allocations: 7.938 kB / 466.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.00492, allocations: 31.66 kB / 466.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.005162, allocations: 79.33 kB / 466.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.005393, allocations: 71.8 kB / 466.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.00576, allocations: 302.7 kB / 466.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.005892, allocations: 48.72 kB / 466.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.006067, allocations: 111.5 kB / 466.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/0.006225, allocations: 111.4 kB / 466.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.006261, allocations: 20 kB / 466.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.006334, allocations: 20 kB / 466.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.000342/0.006676, allocations: 415.1 kB / 467.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001854/0.006862, allocations: 268 kB / 467.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.006914, allocations: 43.88 kB / 467.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.787e-05/0.006952, allocations: 4 kB / 467.7 MB, free: 12.8 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.001019/0.007972, allocations: 0.9684 MB / 468.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001072/0.008079, allocations: 74.73 kB / 468.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000369/0.008448, allocations: 367.5 kB / 469.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Simplify 1: time 0.0001187/0.008567, allocations: 103.7 kB / 469.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Alias: time 0.001174/0.00974, allocations: 0.7674 MB / 469.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Simplify 2: time 7.842e-05/0.009818, allocations: 68.34 kB / 470 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Remove Stream: time 7.045e-05/0.009889, allocations: 68.33 kB / 470.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002274/0.01012, allocations: 136.5 kB / 470.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of Events: time 7.92e-05/0.0102, allocations: 39.89 kB / 470.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001481/0.01034, allocations: 107.2 kB / 470.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of Causalize: time 0.0003818/0.01073, allocations: 302.1 kB / 470.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.000204/0.01093, allocations: 200.2 kB / 470.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of Simplify: time 0.0004126/0.01134, allocations: 311.1 kB / 471.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of Inline: time 0.0003607/0.0117, allocations: 370.2 kB / 471.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of Partitioning: time 3.663e-05/0.01174, allocations: 26.34 kB / 471.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of Cleanup: time 6.937e-05/0.01181, allocations: 75.92 kB / 471.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of Causalize: time 0.0008789/0.01269, allocations: 0.6509 MB / 472.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of Tearing: time 8.567e-06/0.0127, allocations: 0 / 472.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of Initialization: time 5.11e-07/0.0127, allocations: 0 / 472.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of Tearing: time 2.444e-06/0.0127, allocations: 3.938 kB / 472.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of Categorize: time 1.106e-05/0.01271, allocations: 12 kB / 472.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of Solve: time 0.001051/0.01376, allocations: 1.497 MB / 473.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002088/0.01397, allocations: 250 kB / 474 MB, free: 5.695 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 4.151e-05/0.01401, allocations: 26.73 kB / 474 MB, free: 5.672 MB / 350.1 MB Notification: Performance of SimCode: time 0.001137/0.01515, allocations: 1.343 MB / 475.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of Templates: time 0.004853/0.02, allocations: 1.768 MB / 477.1 MB, free: 2.539 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)