Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.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.001984/0.001984, allocations: 115.9 kB / 20.43 MB, free: 1.301 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.002192/0.002192, allocations: 184.2 kB / 23.72 MB, free: 4.551 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.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.182/0.182, allocations: 38.53 MB / 346.3 MB, free: 2.082 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource")
translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 64.08 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005288/0.3332, allocations: 4.881 MB / 0.5378 GB, free: 2.027 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002033/0.3352, allocations: 1.45 MB / 0.5392 GB, free: 0.8711 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.3354, allocations: 25.19 kB / 0.5392 GB, free: 0.8555 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001092/0.3365, allocations: 405.2 kB / 0.5396 GB, free: 0.5508 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005075/0.337, allocations: 286.5 kB / 0.5399 GB, free: 328 kB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.3375, allocations: 223.5 kB / 0.5401 GB, free: 156 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006406/0.3381, allocations: 0.6256 MB / 0.5407 GB, free: 15.8 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.3385, allocations: 202.1 kB / 0.5409 GB, free: 15.68 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.3389, allocations: 292.8 kB / 0.5412 GB, free: 15.52 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.3395, allocations: 343.3 kB / 0.5415 GB, free: 15.31 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.3395, allocations: 33.75 kB / 0.5416 GB, free: 15.31 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.3398, allocations: 159 kB / 0.5417 GB, free: 15.24 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.3401, allocations: 207.8 kB / 0.5419 GB, free: 15.11 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.3403, allocations: 247.5 kB / 0.5421 GB, free: 14.95 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000718/0.3411, allocations: 0.5818 MB / 0.5427 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3411, allocations: 0 / 0.5427 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.262e-06/0.3411, allocations: 8.781 kB / 0.5427 GB, free: 14.56 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.666e-06/0.3411, allocations: 0 / 0.5427 GB, free: 14.56 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: 93
 * Number of variables: 93
Notification: Performance of Generate backend data structure: time 0.001342/0.3424, allocations: 0.6857 MB / 0.5434 GB, free: 14 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3424, allocations: 8.719 kB / 0.5434 GB, free: 14 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/0.3433, allocations: 102.5 kB / 0.5435 GB, free: 13.95 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.3441, allocations: 382.3 kB / 0.5439 GB, free: 13.66 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.3442, allocations: 35.75 kB / 0.5439 GB, free: 13.64 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.3443, allocations: 62.05 kB / 0.5439 GB, free: 13.61 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.3451, allocations: 493.5 kB / 0.5444 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.3452, allocations: 6.078 kB / 0.5444 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.3452, allocations: 15.47 kB / 0.5444 GB, free: 13.28 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.3454, allocations: 28.98 kB / 0.5445 GB, free: 13.27 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.346, allocations: 354.2 kB / 0.5448 GB, free: 13.1 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.3486, allocations: 1.654 MB / 0.5464 GB, free: 11.77 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.349, allocations: 222.5 kB / 0.5466 GB, free: 11.63 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.3492, allocations: 153.8 kB / 0.5468 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3492, allocations: 2.25 kB / 0.5468 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.3493, allocations: 32.88 kB / 0.5468 GB, free: 11.51 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=23): time 2.244e-06/0.3493, allocations: 4 kB / 0.5468 GB, free: 11.5 MB / 398.1 MB
Notification: Performance of matching and sorting (n=27): time 0.002154/0.3514, allocations: 1.048 MB / 0.5478 GB, free: 10.83 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3515, allocations: 84.95 kB / 0.5479 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/0.3519, allocations: 334.4 kB / 0.5482 GB, free: 10.51 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.3519, allocations: 31.73 kB / 0.5483 GB, free: 10.47 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.3521, allocations: 253 kB / 0.5485 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.3522, allocations: 100.2 kB / 0.5486 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3524, allocations: 80.89 kB / 0.5487 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001637/0.3525, allocations: 347.6 kB / 0.549 GB, free: 9.766 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.3528, allocations: 140.4 kB / 0.5491 GB, free: 9.695 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.3531, allocations: 236.3 kB / 0.5494 GB, free: 9.508 MB / 398.1 MB
Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet.
Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.3557, allocations: 0.9781 MB / 0.5503 GB, free: 8.949 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3557, allocations: 1.062 kB / 0.5503 GB, free: 8.949 MB / 398.1 MB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.001419/0.3572, allocations: 0.6454 MB / 0.551 GB, free: 8.574 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3572, allocations: 9.5 kB / 0.551 GB, free: 8.57 MB / 398.1 MB
Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information.
Notification: Performance of <failed> postOpt simplifyComplexFunction (initialization): time 0.0002855/0.3575, allocations: 151.5 kB / 0.5511 GB, free: 8.5 MB / 398.1 MB
Error: post-optimization module simplifyComplexFunction (initialization) failed.
Error: No system for the symbolic initialization was generated
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 2.9407978737726808]
Failed to read output from testmodel.py, exit status != 0:
0.3655802709981799 0.391442027 0.045011778
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fdb1864d7b0>