Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000996/0.000996, allocations: 115.6 kB / 17.75 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.001027/0.001027, allocations: 181.9 kB / 18.68 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.319/1.319, allocations: 205.1 MB / 224.5 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.2634/0.2634, allocations: 48.86 MB / 320.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.183e-05, allocations: 2.281 kB / 451.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.00397/0.003991, allocations: 2.645 MB / 453.8 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.005485, allocations: 0.7485 MB / 454.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.00574, allocations: 11.88 kB / 454.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.005943, allocations: 43.52 kB / 454.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004264/0.006369, allocations: 131 kB / 454.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.006622, allocations: 79.89 kB / 454.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005689/0.007191, allocations: 450.1 kB / 455.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.00735, allocations: 53.58 kB / 455.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.007612, allocations: 163.3 kB / 455.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.007842, allocations: 159.2 kB / 455.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.007897, allocations: 24 kB / 455.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.00799, allocations: 31.94 kB / 455.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0004661/0.008456, allocations: 0.5908 MB / 456.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000253/0.008709, allocations: 386.3 kB / 456.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.383e-05/0.008793, allocations: 63.75 kB / 456.7 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.918e-05/0.008842, allocations: 15.98 kB / 456.7 MB, free: 3.023 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: 54 (54) * Number of variables: 54 (54) Notification: Performance of Bindings: time 0.001124/0.009966, allocations: 1.298 MB / 458 MB, free: 1.594 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001137/0.01008, allocations: 98.7 kB / 458.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0004438/0.01052, allocations: 495.5 kB / 458.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001146/0.01064, allocations: 115.6 kB / 458.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of Alias: time 0.001412/0.01205, allocations: 1.069 MB / 459.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simplify2: time 7.448e-05/0.01212, allocations: 85.08 kB / 459.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Detect States: time 0.000223/0.01235, allocations: 160.4 kB / 460 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Events: time 8.252e-05/0.01243, allocations: 47.89 kB / 460 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001634/0.01259, allocations: 148 kB / 460.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004435/0.01304, allocations: 366.9 kB / 460.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002409/0.01328, allocations: 256.2 kB / 460.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Inline: time 0.0008142/0.01409, allocations: 0.786 MB / 461.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Partitioning: time 3.474e-05/0.01413, allocations: 22.38 kB / 461.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of Cleanup: time 7.926e-05/0.01421, allocations: 99.89 kB / 461.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of Causalize: time 0.001067/0.01527, allocations: 0.8251 MB / 462.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Tearing: time 0.0004425/0.01572, allocations: 429.8 kB / 462.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Initialization: time 3.41e-07/0.01572, allocations: 0 / 462.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Tearing: time 1.272e-05/0.01573, allocations: 4 kB / 463 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Categorize: time 8.696e-06/0.01574, allocations: 3.984 kB / 463 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Solve: time 0.0007368/0.01647, allocations: 1.204 MB / 464.2 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002269/0.0167, allocations: 291.3 kB / 464.4 MB, free: 10.55 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: ............................. 6 (6) {gen_a.theta, gen_a.omega_e_filt, gen_a.omega_m, gen_b.omega_e_filt, gen_b.theta, gen_b.omega_m} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {$TEV_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: ........... 25 (scalar:25, 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: ........... 44 (scalar:44, 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: 1, nonlinear:3) Notification: Performance of backend: time 8.768e-05/0.01679, allocations: 31.86 kB / 464.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of SimCode: time 0.00128/0.01807, allocations: 1.627 MB / 466.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of Templates: time 0.005505/0.02357, allocations: 2.485 MB / 468.6 MB, free: 6.383 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)