Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 111.9 kB / 17.75 MB, free: 5.34 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.001603/0.001603, allocations: 189.8 kB / 18.68 MB, free: 4.418 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.617/1.617, 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.2878/0.2878, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.439e-05/4.44e-05, allocations: 2.281 kB / 451.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.005294/0.005349, allocations: 3.133 MB / 454.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002473/0.007838, allocations: 0.8302 MB / 455.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005738/0.008427, allocations: 11.94 kB / 455.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.008809, allocations: 59.31 kB / 455.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008907/0.009743, allocations: 158.8 kB / 455.3 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005439/0.0103, allocations: 119.8 kB / 455.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.01144, allocations: 0.5803 MB / 456 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.0118, allocations: 149.7 kB / 456.2 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.01225, allocations: 207.1 kB / 456.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.01265, allocations: 218.9 kB / 456.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.01275, allocations: 36 kB / 456.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.01292, allocations: 44 kB / 456.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0007648/0.01369, allocations: 0.7994 MB / 457.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004881/0.01419, allocations: 0.5042 MB / 458 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.0144, allocations: 83.69 kB / 458.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001432/0.01456, allocations: 19.88 kB / 458.1 MB, free: 1.633 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: 77 (77) * Number of variables: 77 (77) Notification: Performance of Bindings: time 0.002601/0.01716, allocations: 2.109 MB / 460.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001594/0.01733, allocations: 79.89 kB / 460.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0009605/0.0183, allocations: 0.8975 MB / 461.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001157/0.01843, allocations: 83.89 kB / 461.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Alias: time 0.002536/0.02097, allocations: 1.816 MB / 463.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simplify2: time 9.323e-05/0.02108, allocations: 51.94 kB / 463.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003604/0.02145, allocations: 251.8 kB / 463.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Events: time 0.0001308/0.02159, allocations: 67.81 kB / 463.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002554/0.02186, allocations: 189.2 kB / 463.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Causalize: time 0.0008547/0.02272, allocations: 0.6754 MB / 464.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004923/0.02322, allocations: 473.2 kB / 464.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Inline: time 0.00152/0.02475, allocations: 1.249 MB / 466 MB, free: 9.262 MB / 350.1 MB Notification: Performance of Partitioning: time 9.998e-05/0.02487, allocations: 75.59 kB / 466.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of Cleanup: time 8.292e-05/0.02496, allocations: 43.89 kB / 466.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of Causalize: time 0.002474/0.02744, allocations: 1.68 MB / 467.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Tearing: time 1.749e-05/0.02747, allocations: 0 / 467.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Initialization: time 9.02e-07/0.02747, allocations: 0 / 467.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Tearing: time 4.769e-06/0.02748, allocations: 0 / 467.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Categorize: time 1.481e-05/0.0275, allocations: 4 kB / 467.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of Solve: time 0.001917/0.02943, allocations: 2.801 MB / 470.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0004389/0.02988, allocations: 459.6 kB / 471 MB, free: 3.797 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: ............................. 9 (9) {transmissionLine.port_a.theta, gen_a.omega_e_filt, gen_a.omega_m, gen_b.omega_e_filt, transmissionLine.port_b.theta, gen_b.omega_m, torqueGen_a.y, torque_b.tau, secondaryController.powerOffset} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (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: ........... 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 66 (scalar:66, 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: ... 7 (linear: 0, nonlinear:7) Notification: Performance of backend: time 0.0001422/0.03003, allocations: 40.66 kB / 471.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of SimCode: time 0.002151/0.03219, allocations: 2.031 MB / 473.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Templates: time 0.008107/0.04031, allocations: 3.343 MB / 476.5 MB, free: 14.34 MB / 366.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1)