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.001311/0.001311, allocations: 117.1 kB / 17.76 MB, free: 5.305 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.001454/0.001454, allocations: 184.6 kB / 18.68 MB, free: 4.383 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.725/1.725, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3383/0.3383, allocations: 48.85 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.374e-05, allocations: 2.281 kB / 451.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.005323/0.005367, allocations: 3.125 MB / 454.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.007583, allocations: 0.8419 MB / 455.1 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.007833, allocations: 11.88 kB / 455.1 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.00807, allocations: 59.31 kB / 455.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.008524, allocations: 150.8 kB / 455.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.008903, allocations: 127.8 kB / 455.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.009591, allocations: 0.5881 MB / 456 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.009926, allocations: 149.6 kB / 456.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.0102, allocations: 211.1 kB / 456.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.01049, allocations: 218.9 kB / 456.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.026e-05/0.01057, allocations: 36 kB / 456.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.01069, allocations: 44 kB / 456.7 MB, free: 3.047 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0006869/0.01139, allocations: 0.7994 MB / 457.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003285/0.01172, allocations: 0.512 MB / 458 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.01182, allocations: 75.69 kB / 458.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001169/0.01194, allocations: 19.94 kB / 458.1 MB, free: 1.625 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.00228/0.01423, allocations: 2.101 MB / 460.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001326/0.01437, allocations: 79.91 kB / 460.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0009791/0.01536, allocations: 0.9052 MB / 461.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simplify1: time 9.32e-05/0.01546, allocations: 79.91 kB / 461.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Alias: time 0.002854/0.01833, allocations: 1.812 MB / 463.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simplify2: time 6.984e-05/0.01841, allocations: 51.94 kB / 463.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Events: time 0.0001134/0.01853, allocations: 59.97 kB / 463.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004319/0.01897, allocations: 255.7 kB / 463.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002952/0.01928, allocations: 185.2 kB / 463.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of Causalize: time 0.001032/0.02032, allocations: 0.6793 MB / 464.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006723/0.02101, allocations: 477.2 kB / 464.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Inline: time 0.001896/0.02292, allocations: 1.253 MB / 466 MB, free: 9.258 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001327/0.02306, allocations: 83.53 kB / 466.1 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Cleanup: time 6.469e-05/0.02314, allocations: 39.89 kB / 466.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of Causalize: time 0.002458/0.0256, allocations: 1.673 MB / 467.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Tearing: time 1.497e-05/0.02563, allocations: 0 / 467.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Initialization: time 7.22e-07/0.02564, allocations: 0 / 467.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Tearing: time 3.967e-06/0.02565, allocations: 0 / 467.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Categorize: time 1.218e-05/0.02566, allocations: 4 kB / 467.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of Solve: time 0.003311/0.02898, allocations: 3.663 MB / 471.5 MB, free: 3.402 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0004936/0.02949, allocations: 459.5 kB / 471.9 MB, free: 2.918 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.0002259/0.02973, allocations: 40.66 kB / 471.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of SimCode: time 0.002277/0.03201, allocations: 2.014 MB / 474 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of Templates: time 0.007594/0.03962, allocations: 3.343 MB / 477.3 MB, free: 13.48 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)