Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 121.1 kB / 17.76 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.001347/0.001347, allocations: 184.6 kB / 18.69 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.309/1.309, 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.2791/0.2791, allocations: 48.84 MB / 320.8 MB, free: 11.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.023e-05, allocations: 2.281 kB / 451.1 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003072/0.003092, allocations: 2.182 MB / 453.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.004258, allocations: 0.6356 MB / 454 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.004415, allocations: 0 / 454 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.004582, allocations: 31.66 kB / 454 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.004862, allocations: 75.41 kB / 454.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.005049, allocations: 55.88 kB / 454.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.005531, allocations: 270.9 kB / 454.4 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.005675, allocations: 36.38 kB / 454.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.005886, allocations: 103.5 kB / 454.5 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.006049, allocations: 107.5 kB / 454.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.006085, allocations: 16 kB / 454.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.006155, allocations: 16 kB / 454.7 MB, free: 5.086 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002967/0.006452, allocations: 371.7 kB / 455 MB, free: 4.719 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000162/0.006614, allocations: 248.3 kB / 455.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.006667, allocations: 35.88 kB / 455.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.786e-05/0.006715, allocations: 11.94 kB / 455.3 MB, free: 4.426 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: 31 (31) * Number of variables: 31 (31) Notification: Performance of Bindings: time 0.0009503/0.007665, allocations: 0.8546 MB / 456.2 MB, free: 3.453 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001083/0.007773, allocations: 58.75 kB / 456.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0003439/0.008117, allocations: 309.4 kB / 456.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simplify1: time 0.0002237/0.008341, allocations: 81.39 kB / 456.6 MB, free: 2.961 MB / 334.1 MB Notification: Performance of Alias: time 0.001149/0.00949, allocations: 0.6163 MB / 457.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of simplify2: time 7.966e-05/0.009569, allocations: 72.33 kB / 457.3 MB, free: 2.152 MB / 334.1 MB Notification: Performance of Detect States: time 0.00026/0.009829, allocations: 115.1 kB / 457.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of Events: time 0.0001053/0.009935, allocations: 39.94 kB / 457.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001395/0.01007, allocations: 96.06 kB / 457.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of Causalize: time 0.0003703/0.01044, allocations: 228.7 kB / 457.8 MB, free: 1.625 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002096/0.01065, allocations: 184.2 kB / 457.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of Inline: time 0.0007124/0.01137, allocations: 0.5341 MB / 458.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of Partitioning: time 3.284e-05/0.0114, allocations: 26.31 kB / 458.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Cleanup: time 6.93e-05/0.01147, allocations: 63.92 kB / 458.6 MB, free: 0.7344 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) grid.fnom = system.fnom ($RES_BND_54); Notification: Performance of Causalize: time 0.001402/0.01287, allocations: 0.9514 MB / 459.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Tearing: time 1.026e-05/0.01288, allocations: 0 / 459.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Initialization: time 2.635e-06/0.01288, allocations: 4 kB / 459.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Tearing: time 2.565e-06/0.01289, allocations: 0 / 459.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Categorize: time 6.633e-06/0.01289, allocations: 0 / 459.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Solve: time 0.0009546/0.01385, allocations: 1.173 MB / 460.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of Jacobian: time 0.0003662/0.01421, allocations: 246 kB / 460.9 MB, free: 14.14 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: ............................. 3 (3) {generator.omega_e_filt, generator.theta, generator.omega_m} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (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: ........... 14 (scalar:14, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] 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: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 5.096e-05/0.01426, allocations: 24.23 kB / 460.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of SimCode: time 0.00125/0.01551, allocations: 1.269 MB / 462.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of Templates: time 0.004939/0.02045, allocations: 1.522 MB / 463.7 MB, free: 11.3 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1)