Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, 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.001147/0.001147, allocations: 189.8 kB / 18.69 MB, free: 4.414 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.315/1.315, allocations: 205.1 MB / 224.6 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.2544/0.2544, allocations: 48.85 MB / 320.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.085e-05, allocations: 2.281 kB / 451.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004185/0.004206, allocations: 2.953 MB / 454.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.005773, allocations: 0.8187 MB / 454.9 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.005982, allocations: 8 kB / 454.9 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.006195, allocations: 63.31 kB / 455 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.006613, allocations: 146.8 kB / 455.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.006908, allocations: 115.8 kB / 455.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005715/0.00748, allocations: 0.5335 MB / 455.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.007699, allocations: 92.14 kB / 455.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.00808, allocations: 199.2 kB / 456.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.008397, allocations: 214.9 kB / 456.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.633e-05/0.008454, allocations: 32 kB / 456.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.008565, allocations: 36 kB / 456.3 MB, free: 3.398 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.000664/0.009229, allocations: 0.7452 MB / 457.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000279/0.009508, allocations: 480.8 kB / 457.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.009575, allocations: 75.69 kB / 457.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.213e-05/0.009647, allocations: 15.94 kB / 457.6 MB, free: 2.078 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: 72 (72) * Number of variables: 72 (72) Notification: Performance of Bindings: time 0.001318/0.01097, allocations: 1.618 MB / 459.3 MB, free: 332 kB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001344/0.0111, allocations: 138.4 kB / 459.4 MB, free: 196 kB / 334.1 MB Notification: Performance of Early Inline: time 0.0007271/0.01183, allocations: 0.6358 MB / 460 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001527/0.01198, allocations: 147.6 kB / 460.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Alias: time 0.001986/0.01397, allocations: 1.401 MB / 461.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simplify2: time 9.726e-05/0.01406, allocations: 101.5 kB / 461.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002566/0.01432, allocations: 192.3 kB / 461.9 MB, free: 13.4 MB / 350.1 MB Notification: Performance of Events: time 8.023e-05/0.0144, allocations: 52.17 kB / 461.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001916/0.01459, allocations: 176 kB / 462.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of Causalize: time 0.0005645/0.01516, allocations: 455.4 kB / 462.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002941/0.01545, allocations: 317.2 kB / 462.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Inline: time 0.00108/0.01653, allocations: 1.025 MB / 463.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Partitioning: time 4.17e-05/0.01657, allocations: 35.61 kB / 463.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0001239/0.0167, allocations: 123.9 kB / 464 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Causalize: time 0.001392/0.01809, allocations: 1.133 MB / 465.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of Tearing: time 0.000651/0.01874, allocations: 0.6109 MB / 465.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Initialization: time 4.11e-07/0.01874, allocations: 0 / 465.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Tearing: time 2.865e-06/0.01874, allocations: 0 / 465.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of Categorize: time 7.144e-06/0.01875, allocations: 4 kB / 465.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of Solve: time 0.0012/0.01995, allocations: 1.591 MB / 467.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0002628/0.02021, allocations: 331.7 kB / 467.7 MB, free: 7.168 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: ............................. 8 (8) {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} * 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: ........... 30 (scalar:30, 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: ........... 54 (scalar:54, 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: ... 5 (linear: 1, nonlinear:4) Notification: Performance of backend: time 8.682e-05/0.0203, allocations: 29.27 kB / 467.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of SimCode: time 0.00148/0.02178, allocations: 1.886 MB / 469.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of Templates: time 0.006495/0.02827, allocations: 3.168 MB / 472.8 MB, free: 2.051 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1)