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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2983/0.2983, allocations: 49.57 MB / 337.1 MB, free: 4.203 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003587/0.003587, allocations: 71.89 kB / 477.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1573, allocations: 62.42 MB / 0.5273 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.00369/0.1609, allocations: 2.208 MB / 0.5295 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1621, allocations: 0.6281 MB / 0.5301 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1623, allocations: 3.938 kB / 0.5301 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.1624, allocations: 39.66 kB / 0.5301 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.1626, allocations: 75.41 kB / 0.5302 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.1628, allocations: 51.92 kB / 0.5303 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.1631, allocations: 246.8 kB / 0.5305 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1633, allocations: 48.5 kB / 0.5306 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1635, allocations: 103.5 kB / 0.5307 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.1637, allocations: 103.5 kB / 0.5307 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.1637, allocations: 16 kB / 0.5308 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.1638, allocations: 20 kB / 0.5308 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.1638, allocations: 47.77 kB / 0.5308 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1639, allocations: 99.41 kB / 0.5309 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1642, allocations: 191.1 kB / 0.5311 GB, free: 9.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1642, allocations: 7.922 kB / 0.5311 GB, free: 9.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1642, allocations: 0 / 0.5311 GB, free: 9.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1642, allocations: 0 / 0.5311 GB, free: 9.941 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.000879/0.1651, allocations: 469 kB / 0.5316 GB, free: 9.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1651, allocations: 12.03 kB / 0.5316 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1652, allocations: 24.8 kB / 0.5316 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.1656, allocations: 201.1 kB / 0.5318 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1656, allocations: 12.38 kB / 0.5318 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.1657, allocations: 16.38 kB / 0.5318 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.166, allocations: 159.6 kB / 0.532 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.166, allocations: 7.953 kB / 0.532 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.166, allocations: 4 kB / 0.532 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.166, allocations: 4 kB / 0.532 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.1663, allocations: 99.92 kB / 0.5321 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.1672, allocations: 0.5503 MB / 0.5326 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1675, allocations: 118.6 kB / 0.5327 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.1676, allocations: 60.83 kB / 0.5328 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.1676, allocations: 11.94 kB / 0.5328 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1676, allocations: 38.56 kB / 0.5328 GB, free: 8.047 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.1676, allocations: 0 / 0.5328 GB, free: 8.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.001034/0.1687, allocations: 486 kB / 0.5333 GB, free: 7.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1687, allocations: 63.39 kB / 0.5334 GB, free: 7.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.1689, allocations: 224.9 kB / 0.5336 GB, free: 7.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.169, allocations: 33.64 kB / 0.5336 GB, free: 7.195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1691, allocations: 144.4 kB / 0.5337 GB, free: 7.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.1691, allocations: 67.42 kB / 0.5338 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.1692, allocations: 33.72 kB / 0.5338 GB, free: 6.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1693, allocations: 330.8 kB / 0.5342 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1695, allocations: 55.97 kB / 0.5342 GB, free: 6.559 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1696, allocations: 74.55 kB / 0.5343 GB, free: 6.477 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.1707, allocations: 346.2 kB / 0.5346 GB, free: 6.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1707, allocations: 4 kB / 0.5346 GB, free: 6.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003443/0.1711, allocations: 189.9 kB / 0.5348 GB, free: 5.934 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1711, allocations: 4.156 kB / 0.5348 GB, free: 5.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1711, allocations: 4 kB / 0.5348 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1711, allocations: 0 / 0.5348 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1714, allocations: 63.89 kB / 0.5349 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.1714, allocations: 8 kB / 0.5349 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1715, allocations: 8.031 kB / 0.5349 GB, free: 5.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.1715, allocations: 8 kB / 0.5349 GB, free: 5.84 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.1716, allocations: 137.7 kB / 0.535 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.1717, allocations: 27.8 kB / 0.535 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.415e-05/0.1718, allocations: 22.12 kB / 0.5351 GB, free: 5.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1718, allocations: 3.984 kB / 0.5351 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1718, allocations: 4 kB / 0.5351 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1718, allocations: 0 / 0.5351 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.1725, allocations: 0.4895 MB / 0.5356 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1725, allocations: 0 / 0.5356 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1728, allocations: 48.02 kB / 0.5356 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.1728, allocations: 7.969 kB / 0.5356 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1728, allocations: 8 kB / 0.5356 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1728, allocations: 0 / 0.5356 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1728, allocations: 0 / 0.5356 GB, free: 5.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.1733, allocations: 339.1 kB / 0.5359 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.1734, allocations: 31.88 kB / 0.536 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1734, allocations: 8 kB / 0.536 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1735, allocations: 4 kB / 0.536 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.1736, allocations: 15.97 kB / 0.536 GB, free: 4.625 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1736, allocations: 3.938 kB / 0.536 GB, free: 4.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1738, allocations: 176.4 kB / 0.5362 GB, free: 4.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1738, allocations: 0 / 0.5362 GB, free: 4.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1741, allocations: 44 kB / 0.5362 GB, free: 4.406 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.703e-05/0.1742, allocations: 91.19 kB / 0.5363 GB, free: 4.309 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.1745, allocations: 128 kB / 0.5364 GB, free: 4.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1745, allocations: 3.938 kB / 0.5364 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1746, allocations: 71.97 kB / 0.5365 GB, free: 4.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.175, allocations: 40.41 kB / 0.5365 GB, free: 4.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.1761, allocations: 0.6032 MB / 0.5371 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.1765, allocations: 0.7435 MB / 0.5378 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.1766, allocations: 19.44 kB / 0.5379 GB, free: 2.645 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.1766, allocations: 4 kB / 0.5379 GB, free: 2.641 MB / 414.1 MB Notification: Performance of Templates: time 0.004737/0.1813, allocations: 2.38 MB / 0.5402 GB, free: 260 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.292501325951889] Failed to read output from testmodel.py, exit status != 0: 0.42355267493985593 0.43409816300000004 0.266887706 Calling exit ...