Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.001943/0.001943, allocations: 112 kB / 20.43 MB, free: 1.457 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.002157/0.002157, allocations: 180.8 kB / 23.71 MB, free: 4.695 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.5/1.5, allocations: 225.6 MB / 252.5 MB, free: 13 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.1876/0.1876, allocations: 38.54 MB / 346.3 MB, free: 2.07 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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier")
translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 59.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4517, allocations: 61.31 MB / 0.533 GB, free: 5.555 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.008337/0.4601, allocations: 6.425 MB / 0.5393 GB, free: 0.8477 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003357/0.4634, allocations: 1.444 MB / 0.5407 GB, free: 15.68 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004863/0.4639, allocations: 34.84 kB / 0.5408 GB, free: 15.66 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006918/0.4646, allocations: 141.9 kB / 0.5409 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001103/0.4657, allocations: 419.4 kB / 0.5413 GB, free: 15.21 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000629/0.4663, allocations: 186.4 kB / 0.5415 GB, free: 15.06 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00146/0.4678, allocations: 1.088 MB / 0.5425 GB, free: 14.44 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.4682, allocations: 220.7 kB / 0.5427 GB, free: 14.31 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007615/0.469, allocations: 479.6 kB / 0.5432 GB, free: 14.04 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009319/0.4699, allocations: 0.5587 MB / 0.5437 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.4701, allocations: 64.06 kB / 0.5438 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.4702, allocations: 69.22 kB / 0.5439 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003851/0.4706, allocations: 320.2 kB / 0.5442 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.4712, allocations: 361 kB / 0.5445 GB, free: 13.27 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001474/0.4727, allocations: 0.8491 MB / 0.5454 GB, free: 12.69 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4727, allocations: 0 / 0.5454 GB, free: 12.69 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.653e-06/0.4727, allocations: 1.812 kB / 0.5454 GB, free: 12.69 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.295e-05/0.4727, allocations: 0 / 0.5454 GB, free: 12.69 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: 135
 * Number of variables: 135
Notification: Performance of Generate backend data structure: time 0.002334/0.475, allocations: 0.9398 MB / 0.5463 GB, free: 11.99 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.4751, allocations: 8.625 kB / 0.5463 GB, free: 11.99 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.4752, allocations: 76.78 kB / 0.5464 GB, free: 11.95 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.4764, allocations: 0.5086 MB / 0.5468 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.4766, allocations: 124.5 kB / 0.547 GB, free: 11.48 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4767, allocations: 59.23 kB / 0.547 GB, free: 11.45 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.4782, allocations: 0.7696 MB / 0.5478 GB, free: 10.96 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.4782, allocations: 1.125 kB / 0.5478 GB, free: 10.96 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.4783, allocations: 25.77 kB / 0.5478 GB, free: 10.94 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.4784, allocations: 35.23 kB / 0.5478 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.48, allocations: 0.7263 MB / 0.5485 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.4846, allocations: 2.552 MB / 0.551 GB, free: 8.641 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.4863, allocations: 0.696 MB / 0.5517 GB, free: 8.27 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/0.4871, allocations: 377.4 kB / 0.5521 GB, free: 8.07 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.4872, allocations: 13.7 kB / 0.5521 GB, free: 8.062 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.211e-05/0.4872, allocations: 37.19 kB / 0.5521 GB, free: 8.016 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=50): time 1.814e-06/0.4872, allocations: 0 / 0.5521 GB, free: 8.016 MB / 398.1 MB
Notification: Performance of matching and sorting (n=51): time 0.00472/0.492, allocations: 1.855 MB / 0.5539 GB, free: 6.441 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.492, allocations: 89.55 kB / 0.554 GB, free: 6.336 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.4925, allocations: 397.9 kB / 0.5544 GB, free: 5.938 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.673e-05/0.4925, allocations: 37.7 kB / 0.5544 GB, free: 5.895 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.4928, allocations: 293 kB / 0.5547 GB, free: 5.602 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.4929, allocations: 190.5 kB / 0.5549 GB, free: 5.414 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.4931, allocations: 94.34 kB / 0.555 GB, free: 5.312 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002158/0.4933, allocations: 358.8 kB / 0.5553 GB, free: 4.953 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005801/0.4939, allocations: 269.1 kB / 0.5556 GB, free: 4.691 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006832/0.4946, allocations: 389.9 kB / 0.556 GB, free: 4.27 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.4958, allocations: 0.6372 MB / 0.5566 GB, free: 3.594 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4958, allocations: 7.938 kB / 0.5566 GB, free: 3.586 MB / 398.1 MB
Notification: Performance of matching and sorting (n=67) (initialization): time 0.001699/0.4975, allocations: 0.7994 MB / 0.5574 GB, free: 2.77 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.4976, allocations: 8 kB / 0.5574 GB, free: 2.762 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.4976, allocations: 0 / 0.5574 GB, free: 2.762 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/0.4979, allocations: 77.61 kB / 0.5575 GB, free: 2.68 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.4995, allocations: 307.8 kB / 0.5577 GB, free: 2.379 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006669/0.5061, allocations: 6.126 MB / 0.5637 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005905/0.5067, allocations: 44.11 kB / 0.5638 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.5068, allocations: 16 kB / 0.5638 GB, free: 11.75 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (65):
 * Single equations (assignments): 61
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 2
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 2 systems
   {1, 1}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0004486/0.5072, allocations: 245.6 kB / 0.564 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5073, allocations: 51.67 kB / 0.5641 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.509, allocations: 0.7489 MB / 0.5648 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.509, allocations: 8 kB / 0.5648 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.509, allocations: 0 / 0.5648 GB, free: 10.68 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.509, allocations: 3.984 kB / 0.5648 GB, free: 10.67 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/0.5122, allocations: 1.578 MB / 0.5664 GB, free: 9.02 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.5122, allocations: 7.938 kB / 0.5664 GB, free: 9.012 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.514, allocations: 327.7 kB / 0.5667 GB, free: 8.691 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.5142, allocations: 85.62 kB / 0.5668 GB, free: 8.602 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.5143, allocations: 16 kB / 0.5668 GB, free: 8.586 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.5171, allocations: 2.962 MB / 0.5697 GB, free: 5.391 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/0.5171, allocations: 4 kB / 0.5697 GB, free: 5.387 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.5199, allocations: 1.239 MB / 0.5709 GB, free: 4.109 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002359/0.5201, allocations: 47.67 kB / 0.5709 GB, free: 4.062 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.5202, allocations: 19.97 kB / 0.5709 GB, free: 4.043 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000544/0.5208, allocations: 35.95 kB / 0.571 GB, free: 4.008 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.5209, allocations: 47.92 kB / 0.571 GB, free: 3.961 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.521, allocations: 19.98 kB / 0.571 GB, free: 3.941 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0004457/0.5214, allocations: 283.1 kB / 0.5713 GB, free: 3.664 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.5214, allocations: 0 / 0.5713 GB, free: 3.664 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0008476/0.5223, allocations: 144 kB / 0.5714 GB, free: 3.523 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav)
 * Number of discrete variables: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (51):
 * Single equations (assignments): 48
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002102/0.5225, allocations: 119.1 kB / 0.5716 GB, free: 3.398 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.003086/0.5256, allocations: 1.061 MB / 0.5726 GB, free: 2.309 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5256, allocations: 0 / 0.5726 GB, free: 2.309 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002154/0.5277, allocations: 0.7788 MB / 0.5734 GB, free: 1.504 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/0.5285, allocations: 141.4 kB / 0.5735 GB, free: 1.367 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.5325, allocations: 1.627 MB / 0.5751 GB, free: 15.7 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/0.5332, allocations: 0.9447 MB / 0.576 GB, free: 14.72 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.000438/0.5337, allocations: 136.7 kB / 0.5761 GB, free: 14.59 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.5338, allocations: 39.44 kB / 0.5762 GB, free: 14.55 MB / 430.1 MB
Notification: Performance of SimCode: time 1.202e-06/0.5338, allocations: 0 / 0.5762 GB, free: 14.55 MB / 430.1 MB
Notification: Performance of Templates: time 0.02047/0.5543, allocations: 8.337 MB / 0.5843 GB, free: 6.277 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.5352288614958525]
Failed to read output from testmodel.py, exit status != 0:
0.5657436922192574 0.591023981 0.11296876299999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f68e13e97b0>