Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 83.81 kB / 21.3 MB, free: 500 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 162.9 kB / 24.55 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.337/1.337, allocations: 177.2 MB / 204.9 MB, free: 9.258 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1333/0.1333, allocations: 19.7 MB / 281 MB, free: 13.04 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/1.935e-05, allocations: 2.281 kB / 417.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003237/0.003257, allocations: 2.177 MB / 419.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.004456, allocations: 0.6195 MB / 420.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.731e-05/0.004553, allocations: 3.938 kB / 420.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.00466, allocations: 35.66 kB / 420.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.00486, allocations: 75.34 kB / 420.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.005009, allocations: 67.84 kB / 420.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.005342, allocations: 322.7 kB / 420.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.005474, allocations: 44.86 kB / 420.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.005744, allocations: 179.5 kB / 421.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.005887, allocations: 107.3 kB / 421.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.005916, allocations: 16 kB / 421.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.509e-05/0.005971, allocations: 23.98 kB / 421.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004224/0.006393, allocations: 498.8 kB / 421.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002167/0.00661, allocations: 319.8 kB / 422 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.006642, allocations: 20 kB / 422 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.092e-05/0.006673, allocations: 11.94 kB / 422 MB, free: 12.24 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 [SIM] Bindings: time 0.001178/0.007851, allocations: 1.184 MB / 423.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001888/0.00804, allocations: 153.1 kB / 423.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.000477/0.008517, allocations: 0.496 MB / 423.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001981/0.008715, allocations: 149.7 kB / 424 MB, free: 10.05 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.001293/0.01001, allocations: 0.9042 MB / 424.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001408/0.01015, allocations: 108.6 kB / 425 MB, free: 8.883 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 6.798e-05/0.01022, allocations: 64.39 kB / 425.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0002806/0.0105, allocations: 206 kB / 425.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of [SIM] Events: time 6.258e-05/0.01056, allocations: 35.89 kB / 425.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001571/0.01072, allocations: 128 kB / 425.4 MB, free: 8.359 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0003442/0.01106, allocations: 244.2 kB / 425.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002388/0.0113, allocations: 267.6 kB / 425.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0005326/0.01183, allocations: 375.8 kB / 426.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0004639/0.0123, allocations: 496.9 kB / 426.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 2.792e-05/0.01232, allocations: 18.75 kB / 426.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 9.113e-05/0.01242, allocations: 95.89 kB / 426.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.0007937/0.01321, allocations: 0.586 MB / 427.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 1.771e-05/0.01323, allocations: 24 kB / 427.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 4.3e-07/0.01323, allocations: 0 / 427.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.176e-06/0.01323, allocations: 3.938 kB / 427.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 9.588e-06/0.01324, allocations: 12 kB / 427.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 7.084e-06/0.01325, allocations: 7.969 kB / 427.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.000641/0.01389, allocations: 457.4 kB / 428 MB, free: 5.719 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0002377/0.01413, allocations: 250 kB / 428.2 MB, free: 5.441 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: 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: ........... 39 (scalar:39, 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: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.379e-05/0.01417, allocations: 34.12 kB / 428.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of SimCode: time 0.001184/0.01535, allocations: 0.7587 MB / 429 MB, free: 4.637 MB / 350.1 MB Notification: Performance of Templates: time 0.004939/0.02029, allocations: 1.58 MB / 430.6 MB, free: 3.066 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.013004541397095] Failed to read output from testmodel.py, exit status != 0: 0.028730938211083412 0.042493953 0.032927701000000004 Calling exit ...