Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.001476/0.001476, 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.001625/0.001625, allocations: 192.2 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.312/1.312, allocations: 225.6 MB / 251 MB, free: 13.02 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.07753/0.07753, allocations: 16.95 MB / 323.2 MB, free: 8.105 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.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem")
translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 71.83 kB / 452 MB, free: 8.746 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1031, allocations: 56.57 MB / 0.4966 GB, free: 68 kB / 366.1 MB
Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2311/0.3341, allocations: 28.83 MB / 0.5248 GB, free: 7.195 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01177/0.3459, allocations: 8.183 MB / 0.5328 GB, free: 3.266 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003609/0.3495, allocations: 74.06 kB / 0.5329 GB, free: 3.234 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003124/0.3526, allocations: 1.073 MB / 0.5339 GB, free: 2.77 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.009475/0.3621, allocations: 3.728 MB / 0.5375 GB, free: 300 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.3658, allocations: 1.414 MB / 0.5389 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01027/0.376, allocations: 6.499 MB / 0.5453 GB, free: 12.25 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.3771, allocations: 268.2 kB / 0.5455 GB, free: 12.09 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00439/0.3815, allocations: 2.224 MB / 0.5477 GB, free: 11.01 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004633/0.3861, allocations: 2.376 MB / 0.55 GB, free: 9.641 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001012/0.3871, allocations: 255.8 kB / 0.5503 GB, free: 9.641 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.3905, allocations: 0.7401 MB / 0.551 GB, free: 9.5 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001089/0.3916, allocations: 0.6723 MB / 0.5516 GB, free: 8.914 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004313/0.3959, allocations: 2.072 MB / 0.5537 GB, free: 7.473 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006479/0.4024, allocations: 4.715 MB / 0.5583 GB, free: 4.188 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4024, allocations: 0 / 0.5583 GB, free: 4.188 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.232e-06/0.4024, allocations: 0 / 0.5583 GB, free: 4.188 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.679e-05/0.4024, allocations: 1.375 kB / 0.5583 GB, free: 4.188 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: 664
 * Number of variables: 664
Notification: Performance of Generate backend data structure: time 0.02046/0.4229, allocations: 6.011 MB / 0.5641 GB, free: 0.5781 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4229, allocations: 11.94 kB / 0.5641 GB, free: 0.5742 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.425, allocations: 0.5511 MB / 0.5647 GB, free: 304 kB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00406/0.429, allocations: 2.113 MB / 0.5668 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.4292, allocations: 201.6 kB / 0.5669 GB, free: 14.31 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/0.4295, allocations: 268.4 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004493/0.434, allocations: 3.18 MB / 0.5703 GB, free: 10.41 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 5.478e-05/0.434, allocations: 19.81 kB / 0.5703 GB, free: 10.39 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.4343, allocations: 120 kB / 0.5704 GB, free: 10.27 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.4343, allocations: 72 kB / 0.5705 GB, free: 10.2 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/0.4383, allocations: 2.521 MB / 0.573 GB, free: 7.664 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.02246/0.4608, allocations: 20.43 MB / 0.5929 GB, free: 2.293 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004523/0.4653, allocations: 2.341 MB / 0.5952 GB, free: 15.98 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4666, allocations: 0.8349 MB / 0.596 GB, free: 15.15 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.4667, allocations: 38.08 kB / 0.5961 GB, free: 15.11 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/0.4668, allocations: 68.5 kB / 0.5961 GB, free: 15.04 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=252): time 4.077e-06/0.4668, allocations: 0 / 0.5961 GB, free: 15.04 MB / 446.1 MB
Notification: Performance of matching and sorting (n=252): time 0.02015/0.4869, allocations: 5.815 MB / 0.6018 GB, free: 9.203 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.487, allocations: 77.41 kB / 0.6019 GB, free: 9.117 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.4909, allocations: 2.95 MB / 0.6048 GB, free: 6.16 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.4911, allocations: 73.7 kB / 0.6048 GB, free: 6.082 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.4923, allocations: 1.456 MB / 0.6062 GB, free: 4.613 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001072/0.4933, allocations: 1.05 MB / 0.6073 GB, free: 3.555 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002025/0.4954, allocations: 1.521 MB / 0.6088 GB, free: 2.02 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001172/0.4955, allocations: 301.1 kB / 0.609 GB, free: 1.723 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.4989, allocations: 2.078 MB / 0.6111 GB, free: 15.63 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003956/0.5028, allocations: 2.756 MB / 0.6138 GB, free: 12.8 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005887/0.5087, allocations: 3.967 MB / 0.6176 GB, free: 8.707 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/0.5087, allocations: 4 kB / 0.6176 GB, free: 8.703 MB / 462.1 MB
Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01164/0.5204, allocations: 6.971 MB / 0.6244 GB, free: 1.645 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.5204, allocations: 8 kB / 0.6245 GB, free: 1.637 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.5204, allocations: 4 kB / 0.6245 GB, free: 1.633 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/0.5231, allocations: 0.934 MB / 0.6254 GB, free: 0.6914 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005819/0.5289, allocations: 1.654 MB / 0.627 GB, free: 15.04 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.5399, allocations: 6.909 MB / 0.6337 GB, free: 8.008 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005372/0.5453, allocations: 0.5473 MB / 0.6343 GB, free: 7.457 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/0.5457, allocations: 260 kB / 0.6345 GB, free: 7.203 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 21
 * Number of states: 0 ()
 * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1034):
 * Single equations (assignments): 1032
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 1 system
   {(2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(8,56)}
Notification: Performance of prepare postOptimizeDAE: time 0.001247/0.547, allocations: 0.682 MB / 0.6352 GB, free: 6.512 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/0.5475, allocations: 361.7 kB / 0.6355 GB, free: 6.156 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.5528, allocations: 2.663 MB / 0.6381 GB, free: 3.469 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.5528, allocations: 24 kB / 0.6382 GB, free: 3.445 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5528, allocations: 0 / 0.6382 GB, free: 3.445 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.5529, allocations: 11.95 kB / 0.6382 GB, free: 3.434 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008551/0.5614, allocations: 5.483 MB / 0.6435 GB, free: 13.88 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.5614, allocations: 7.938 kB / 0.6435 GB, free: 13.87 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/0.5629, allocations: 375.6 kB / 0.6439 GB, free: 13.5 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.5653, allocations: 0.7463 MB / 0.6446 GB, free: 12.75 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.5654, allocations: 43.98 kB / 0.6447 GB, free: 12.71 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.576, allocations: 6.671 MB / 0.6512 GB, free: 5.891 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.576, allocations: 4 kB / 0.6512 GB, free: 5.887 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/0.5822, allocations: 2.745 MB / 0.6539 GB, free: 3.109 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.00222/0.5844, allocations: 0.6378 MB / 0.6545 GB, free: 2.469 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008891/0.5853, allocations: 48 kB / 0.6545 GB, free: 2.422 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/0.5881, allocations: 107.9 kB / 0.6546 GB, free: 2.316 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.5884, allocations: 165.6 kB / 0.6548 GB, free: 2.152 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/0.5885, allocations: 75.97 kB / 0.6549 GB, free: 2.078 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.002964/0.5915, allocations: 1.766 MB / 0.6566 GB, free: 324 kB / 494.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.5915, allocations: 4 kB / 0.6566 GB, free: 320 kB / 494.1 MB
Notification: Performance of remove unused functions: time 0.004061/0.5956, allocations: 1.617 MB / 0.6582 GB, free: 14.69 MB / 0.4981 GB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (188):
 * Single equations (assignments): 186
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 1 system
   {(2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(8,56)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005281/0.5961, allocations: 297.6 kB / 0.6584 GB, free: 14.4 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.008034/0.6041, allocations: 4.365 MB / 0.6627 GB, free: 10.02 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6041, allocations: 8.062 kB / 0.6627 GB, free: 10.02 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.002539/0.6067, allocations: 1.389 MB / 0.6641 GB, free: 8.609 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.6085, allocations: 256.3 kB / 0.6643 GB, free: 8.359 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007306/0.6158, allocations: 4.648 MB / 0.6689 GB, free: 3.684 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.6172, allocations: 1.726 MB / 0.6705 GB, free: 1.93 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.001797/0.619, allocations: 0.5546 MB / 0.6711 GB, free: 1.367 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.6197, allocations: 243.4 kB / 0.6713 GB, free: 1.129 MB / 0.4981 GB
Notification: Performance of SimCode: time 9.81e-07/0.6197, allocations: 0 / 0.6713 GB, free: 1.129 MB / 0.4981 GB
Notification: Performance of Templates: time 0.08009/0.6997, allocations: 48.68 MB / 0.7189 GB, free: 496 kB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile [Timeout 660]
(rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.780483487062156]
Failed to read output from testmodel.py, exit status != 0:
0.8842447930946946 0.894117565 0.48906633600000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2556dbd7b0>