Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07726/0.07726, allocations: 16.94 MB / 323.2 MB, free: 8.086 MB / 254.1 MB
"
[Timeout remaining time 180]
Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow")
translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.89 kB / 452 MB, free: 8.727 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09857, allocations: 56.57 MB / 0.4966 GB, free: 52 kB / 366.1 MB
Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.217/0.3156, allocations: 30.29 MB / 0.5262 GB, free: 6.203 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01255/0.3281, allocations: 8.697 MB / 0.5347 GB, free: 1.883 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003816/0.3319, allocations: 84.34 kB / 0.5348 GB, free: 1.844 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002857/0.3348, allocations: 1.14 MB / 0.5359 GB, free: 1.27 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.01023/0.345, allocations: 3.953 MB / 0.5398 GB, free: 14.65 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.3491, allocations: 1.524 MB / 0.5413 GB, free: 13.83 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01049/0.3596, allocations: 6.956 MB / 0.548 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009705/0.3606, allocations: 284.8 kB / 0.5483 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004539/0.3651, allocations: 2.383 MB / 0.5506 GB, free: 8.934 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.006458/0.3716, allocations: 2.567 MB / 0.5532 GB, free: 7.199 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00114/0.3727, allocations: 274.5 kB / 0.5534 GB, free: 7.199 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.3766, allocations: 0.7808 MB / 0.5542 GB, free: 7.055 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001242/0.3778, allocations: 0.7169 MB / 0.5549 GB, free: 6.43 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00519/0.383, allocations: 2.222 MB / 0.557 GB, free: 4.883 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008375/0.3914, allocations: 5.046 MB / 0.562 GB, free: 1.363 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.3914, allocations: 3.984 kB / 0.562 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.322e-06/0.3914, allocations: 0 / 0.562 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 0.0001177/0.3915, allocations: 5.344 kB / 0.562 GB, free: 1.355 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 710
 * Number of variables: 710
Notification: Performance of Generate backend data structure: time 0.02381/0.4153, allocations: 6.404 MB / 0.5682 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4154, allocations: 16.88 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.418, allocations: 0.5996 MB / 0.5688 GB, free: 12.42 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.4232, allocations: 2.259 MB / 0.571 GB, free: 10.09 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001778/0.4234, allocations: 217.9 kB / 0.5713 GB, free: 9.879 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.4238, allocations: 288.4 kB / 0.5715 GB, free: 9.598 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005297/0.4291, allocations: 3.408 MB / 0.5749 GB, free: 5.707 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/0.4291, allocations: 23.75 kB / 0.5749 GB, free: 5.684 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.4294, allocations: 135.9 kB / 0.575 GB, free: 5.551 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/0.4294, allocations: 76 kB / 0.5751 GB, free: 5.477 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004491/0.4339, allocations: 2.695 MB / 0.5777 GB, free: 2.77 MB / 414.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02614/0.4601, allocations: 21.99 MB / 0.5992 GB, free: 11.75 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004622/0.4647, allocations: 2.269 MB / 0.6014 GB, free: 9.496 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.4661, allocations: 0.8111 MB / 0.6022 GB, free: 8.684 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.4663, allocations: 38.02 kB / 0.6022 GB, free: 8.648 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.886e-05/0.4663, allocations: 72.55 kB / 0.6023 GB, free: 8.566 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=251): time 4.919e-06/0.4663, allocations: 0 / 0.6023 GB, free: 8.566 MB / 446.1 MB
Notification: Performance of matching and sorting (n=251): time 0.01468/0.481, allocations: 4.5 MB / 0.6067 GB, free: 4.047 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.4811, allocations: 81.34 kB / 0.6068 GB, free: 3.957 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005219/0.4863, allocations: 3.213 MB / 0.6099 GB, free: 0.7461 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003357/0.4866, allocations: 77.7 kB / 0.61 GB, free: 0.6641 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.4881, allocations: 1.62 MB / 0.6116 GB, free: 15.03 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001331/0.4895, allocations: 1.062 MB / 0.6126 GB, free: 13.96 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002382/0.4919, allocations: 1.629 MB / 0.6142 GB, free: 12.32 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001242/0.492, allocations: 308.9 kB / 0.6145 GB, free: 12.02 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003829/0.4958, allocations: 2.193 MB / 0.6166 GB, free: 9.816 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004508/0.5003, allocations: 2.945 MB / 0.6195 GB, free: 6.773 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006834/0.5072, allocations: 4.205 MB / 0.6236 GB, free: 2.434 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.5072, allocations: 0 / 0.6236 GB, free: 2.434 MB / 462.1 MB
Notification: Performance of matching and sorting (n=1174) (initialization): time 0.0138/0.521, allocations: 7.311 MB / 0.6308 GB, free: 11.04 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.521, allocations: 9.875 kB / 0.6308 GB, free: 11.04 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.521, allocations: 4 kB / 0.6308 GB, free: 11.03 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004702/0.5257, allocations: 0.8934 MB / 0.6316 GB, free: 10.13 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007238/0.533, allocations: 1.736 MB / 0.6333 GB, free: 8.391 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.5464, allocations: 8.594 MB / 0.6417 GB, free: 15.47 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006761/0.5532, allocations: 0.5822 MB / 0.6423 GB, free: 14.89 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006123/0.5538, allocations: 280 kB / 0.6426 GB, free: 14.61 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 27
 * Number of states: 0 ()
 * Number of discrete variables: 8 (NTLV2.isSlackBus,NTHV2.isSlackBus,NTHV1.isSlackBus,NTLV1.isSlackBus,GRIDL2.isSlackBus,GRIDL1.isSlackBus,GEN2.isSlackBus,GEN1.isSlackBus)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1119):
 * Single equations (assignments): 1116
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,0,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(17,0), (39,0)}
Notification: Performance of prepare postOptimizeDAE: time 0.001454/0.5553, allocations: 0.7285 MB / 0.6433 GB, free: 13.88 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007663/0.556, allocations: 393.5 kB / 0.6437 GB, free: 13.49 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/0.5612, allocations: 2.563 MB / 0.6462 GB, free: 10.9 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.5613, allocations: 11.95 kB / 0.6462 GB, free: 10.89 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5613, allocations: 0 / 0.6462 GB, free: 10.89 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001968/0.5632, allocations: 0.6767 MB / 0.6468 GB, free: 10.21 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004937/0.5637, allocations: 36.56 kB / 0.6469 GB, free: 10.18 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/0.5661, allocations: 111.9 kB / 0.647 GB, free: 10.07 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.5664, allocations: 193.5 kB / 0.6472 GB, free: 9.879 MB / 494.1 MB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006031/0.5724, allocations: 2.491 MB / 0.6496 GB, free: 7.371 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005013/0.5774, allocations: 3.092 MB / 0.6526 GB, free: 4.258 MB / 494.1 MB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001167/0.5786, allocations: 0.7231 MB / 0.6533 GB, free: 3.535 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.002942/0.5815, allocations: 1.926 MB / 0.6552 GB, free: 1.621 MB / 494.1 MB
Notification: Performance of Backend: time 4.41e-07/0.5815, allocations: 3.938 kB / 0.6552 GB, free: 1.617 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.01077/0.5923, allocations: 4.988 MB / 0.6601 GB, free: 12.59 MB / 0.4981 GB
Notification: Performance of SimCode: time 0.008779/0.6011, allocations: 5.903 MB / 0.6658 GB, free: 6.656 MB / 0.4981 GB
Notification: Performance of Templates: time 0.2658/0.8668, allocations: 55.01 MB / 0.7195 GB, free: 181.5 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile [Timeout 660]
(rm -f PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 7.111285767517984]
Failed to read output from testmodel.py, exit status != 0:
0.8746764911338687 0.884624402 0.490542595
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd086ff57b0>