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.001264/0.001264, allocations: 121 kB / 17.76 MB, free: 5.316 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.00117/0.00117, allocations: 180.6 kB / 18.69 MB, free: 4.395 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.316/1.316, 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.2548/0.2548, allocations: 48.85 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.765e-05, allocations: 2.281 kB / 451.2 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.00371/0.003727, allocations: 3.129 MB / 454.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.00518, allocations: 0.8457 MB / 455.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.005404, allocations: 8 kB / 455.1 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.005583, allocations: 59.25 kB / 455.2 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.005968, allocations: 154.8 kB / 455.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.006227, allocations: 119.8 kB / 455.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.006819, allocations: 0.5842 MB / 456 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.007006, allocations: 93.73 kB / 456.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.007253, allocations: 215.1 kB / 456.3 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.007497, allocations: 222.8 kB / 456.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.064e-05/0.007557, allocations: 36 kB / 456.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.051e-05/0.007648, allocations: 36 kB / 456.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0005383/0.008186, allocations: 0.8071 MB / 457.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002864/0.008472, allocations: 0.508 MB / 457.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.008566, allocations: 79.69 kB / 458 MB, free: 1.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.476e-05/0.00863, allocations: 19.94 kB / 458 MB, free: 1.664 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.001429/0.01006, allocations: 1.726 MB / 459.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001566/0.01022, allocations: 146.6 kB / 459.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0006138/0.01083, allocations: 0.6906 MB / 460.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplify1: time 0.000153/0.01098, allocations: 155.5 kB / 460.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Alias: time 0.001841/0.01282, allocations: 1.502 MB / 462.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simplify2: time 0.000108/0.01293, allocations: 93.5 kB / 462.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002692/0.0132, allocations: 213.4 kB / 462.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Events: time 8.672e-05/0.01329, allocations: 43.95 kB / 462.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002795/0.01357, allocations: 197 kB / 462.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Causalize: time 0.0006585/0.01423, allocations: 495.7 kB / 463.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003264/0.01455, allocations: 341.2 kB / 463.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Inline: time 0.001259/0.01581, allocations: 1.111 MB / 464.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Partitioning: time 5.307e-05/0.01586, allocations: 27.62 kB / 464.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0001727/0.01604, allocations: 143.8 kB / 464.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Causalize: time 0.001874/0.01791, allocations: 1.18 MB / 466.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of Tearing: time 1.522e-05/0.01793, allocations: 0 / 466.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of Initialization: time 6.32e-07/0.01793, allocations: 0 / 466.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of Tearing: time 4.208e-06/0.01793, allocations: 0 / 466.1 MB, free: 9.039 MB / 350.1 MB Notification: Performance of Categorize: time 1.04e-05/0.01794, allocations: 8 kB / 466.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of Solve: time 0.002187/0.02013, allocations: 2.707 MB / 468.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0003482/0.02048, allocations: 347.6 kB / 469.1 MB, free: 5.59 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) {gen_a.theta, gen_a.omega_e_filt, gen_a.omega_m, gen_b.omega_e_filt, gen_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) {} * Number of discrete variables: ................. 1 (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: ........... 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.0001561/0.02063, allocations: 46.19 kB / 469.2 MB, free: 5.547 MB / 350.1 MB Notification: Performance of SimCode: time 0.001753/0.02239, allocations: 1.937 MB / 471.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of Templates: time 0.007436/0.02982, allocations: 3.324 MB / 474.4 MB, free: 252 kB / 350.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)