Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001904/0.001904, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.002633/0.002633, allocations: 188.1 kB / 23.72 MB, free: 4.711 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.599/1.599, 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.2159/0.2159, allocations: 38.54 MB / 346.3 MB, free: 2.094 MB / 270.1 MB
"
[Timeout remaining time 179]
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.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR")
translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 75.88 kB / 484.5 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3564, allocations: 61.3 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01294/0.3694, allocations: 11.2 MB / 0.544 GB, free: 13.09 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01367/0.3831, allocations: 7.143 MB / 0.5509 GB, free: 7.367 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002227/0.3853, allocations: 61.12 kB / 0.551 GB, free: 7.336 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.03011/0.4154, allocations: 14.48 MB / 0.5651 GB, free: 11.22 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004266/0.4197, allocations: 1.116 MB / 0.5662 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002189/0.4218, allocations: 0.6628 MB / 0.5669 GB, free: 9.438 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007967/0.4298, allocations: 4.082 MB / 0.5709 GB, free: 5.348 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.4315, allocations: 0.704 MB / 0.5715 GB, free: 4.621 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002771/0.4343, allocations: 1.113 MB / 0.5726 GB, free: 3.504 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003278/0.4376, allocations: 1.515 MB / 0.5741 GB, free: 1.984 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0005675/0.4381, allocations: 148 kB / 0.5743 GB, free: 1.84 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.4404, allocations: 0.5773 MB / 0.5748 GB, free: 1.262 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001225/0.4416, allocations: 0.8999 MB / 0.5757 GB, free: 368 kB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001356/0.443, allocations: 0.9601 MB / 0.5766 GB, free: 15.39 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004267/0.4472, allocations: 2.51 MB / 0.5791 GB, free: 12.88 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4473, allocations: 0 / 0.5791 GB, free: 12.88 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.883e-06/0.4473, allocations: 0 / 0.5791 GB, free: 12.88 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 4.906e-05/0.4473, allocations: 3.938 kB / 0.5791 GB, free: 12.87 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 397
 * Number of variables: 397
Notification: Performance of Generate backend data structure: time 0.005708/0.453, allocations: 2.135 MB / 0.5812 GB, free: 10.69 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.4531, allocations: 12.03 kB / 0.5812 GB, free: 10.68 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.4551, allocations: 331.4 kB / 0.5815 GB, free: 10.36 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.4582, allocations: 1.185 MB / 0.5827 GB, free: 9.129 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.4583, allocations: 98.66 kB / 0.5828 GB, free: 9.031 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000611/0.4589, allocations: 235.8 kB / 0.583 GB, free: 8.801 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004036/0.463, allocations: 2.157 MB / 0.5851 GB, free: 6.535 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.463, allocations: 7.938 kB / 0.5851 GB, free: 6.527 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/0.4632, allocations: 59.97 kB / 0.5851 GB, free: 6.469 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007123/0.4639, allocations: 186.7 kB / 0.5853 GB, free: 6.285 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/0.4673, allocations: 1.752 MB / 0.587 GB, free: 4.527 MB / 430.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.01422/0.4815, allocations: 8.471 MB / 0.5953 GB, free: 11.64 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.4842, allocations: 1.304 MB / 0.5966 GB, free: 10.32 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.4856, allocations: 0.7256 MB / 0.5973 GB, free: 9.598 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.109e-05/0.4857, allocations: 21.06 kB / 0.5973 GB, free: 9.578 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.4857, allocations: 47.56 kB / 0.5974 GB, free: 9.523 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=122): time 3.166e-06/0.4857, allocations: 0 / 0.5974 GB, free: 9.523 MB / 446.1 MB
Notification: Performance of matching and sorting (n=150): time 0.02102/0.5068, allocations: 7.144 MB / 0.6043 GB, free: 2.324 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.292e-05/0.5069, allocations: 90.42 kB / 0.6044 GB, free: 2.219 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.5084, allocations: 1.037 MB / 0.6054 GB, free: 1.168 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.5086, allocations: 53.7 kB / 0.6055 GB, free: 1.109 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00076/0.5093, allocations: 0.7817 MB / 0.6062 GB, free: 324 kB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006583/0.51, allocations: 0.558 MB / 0.6068 GB, free: 15.75 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005473/0.5105, allocations: 331.4 kB / 0.6071 GB, free: 15.42 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001537/0.5107, allocations: 301.2 kB / 0.6074 GB, free: 15.12 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.5121, allocations: 0.7808 MB / 0.6082 GB, free: 14.34 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.514, allocations: 1.244 MB / 0.6094 GB, free: 12.9 MB / 462.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.01785/0.5319, allocations: 5.606 MB / 0.6148 GB, free: 7.133 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.5319, allocations: 4 kB / 0.6148 GB, free: 7.129 MB / 462.1 MB
Notification: Performance of matching and sorting (n=236) (initialization): time 0.01005/0.5419, allocations: 3.784 MB / 0.6185 GB, free: 3.324 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.542, allocations: 12 kB / 0.6186 GB, free: 3.312 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-05/0.542, allocations: 16.72 kB / 0.6186 GB, free: 3.297 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.5483, allocations: 1.752 MB / 0.6203 GB, free: 1.531 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.5496, allocations: 263.6 kB / 0.6205 GB, free: 1.273 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03584/0.5854, allocations: 18.1 MB / 0.6382 GB, free: 14.7 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.5878, allocations: 83.94 kB / 0.6383 GB, free: 14.62 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005656/0.5883, allocations: 83.92 kB / 0.6384 GB, free: 14.54 MB / 494.1 MB
Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system:
         inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0
         $DER.generator.psi_rq[1] = 0.0
         $DER.generator.psi_s[2] = 0.0
         $DER.generator.psi_s[1] = 0.0
         infBus.V = 15000.0 * infBus.v0
         line.omega[1] = 0.0.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 63
 * Number of states: 0 ()
 * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (130):
 * Single equations (assignments): 126
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(2,11,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(5,49), (21,20)}
Notification: Performance of prepare postOptimizeDAE: time 0.002224/0.5906, allocations: 0.5292 MB / 0.6389 GB, free: 14 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007057/0.5913, allocations: 151 kB / 0.639 GB, free: 13.85 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008272/0.5995, allocations: 2.239 MB / 0.6412 GB, free: 11.59 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/0.5996, allocations: 16 kB / 0.6412 GB, free: 11.57 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/0.5996, allocations: 7.938 kB / 0.6412 GB, free: 11.57 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/0.5996, allocations: 11.97 kB / 0.6413 GB, free: 11.55 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.615, allocations: 4.141 MB / 0.6453 GB, free: 7.316 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.615, allocations: 0 / 0.6453 GB, free: 7.316 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/0.6175, allocations: 303.6 kB / 0.6456 GB, free: 7.02 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003965/0.6214, allocations: 0.5505 MB / 0.6461 GB, free: 6.457 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002913/0.6217, allocations: 55.97 kB / 0.6462 GB, free: 6.402 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/0.6388, allocations: 9.622 MB / 0.6556 GB, free: 12.21 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.6388, allocations: 7.969 kB / 0.6556 GB, free: 12.2 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/0.6491, allocations: 3.051 MB / 0.6586 GB, free: 9.082 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001327/0.6505, allocations: 278.9 kB / 0.6588 GB, free: 8.809 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/0.651, allocations: 51.92 kB / 0.6589 GB, free: 8.758 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.6526, allocations: 63.94 kB / 0.6589 GB, free: 8.695 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004925/0.6531, allocations: 121 kB / 0.6591 GB, free: 8.578 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/0.6533, allocations: 51.95 kB / 0.6591 GB, free: 8.527 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.001372/0.6546, allocations: 0.6892 MB / 0.6598 GB, free: 7.832 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 1e-07/0.6546, allocations: 0 / 0.6598 GB, free: 7.832 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.003436/0.6581, allocations: 0.5663 MB / 0.6603 GB, free: 7.266 MB / 0.4981 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],meterDC.pav,inverter2.vDC1,line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3])
 * 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 (119):
 * Single equations (assignments): 113
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 5
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,11)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005882/0.6587, allocations: 198.3 kB / 0.6605 GB, free: 7.066 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.008328/0.667, allocations: 2.992 MB / 0.6634 GB, free: 4.016 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.667, allocations: 0 / 0.6634 GB, free: 4.016 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.002842/0.6698, allocations: 1.528 MB / 0.6649 GB, free: 2.426 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.6717, allocations: 322.8 kB / 0.6652 GB, free: 2.113 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009836/0.6815, allocations: 5.117 MB / 0.6702 GB, free: 12.93 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.6832, allocations: 1.588 MB / 0.6718 GB, free: 11.3 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.001443/0.6846, allocations: 404.5 kB / 0.6722 GB, free: 10.9 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.6851, allocations: 107.4 kB / 0.6723 GB, free: 10.8 MB / 0.5137 GB
Notification: Performance of SimCode: time 2.144e-06/0.6851, allocations: 0 / 0.6723 GB, free: 10.8 MB / 0.5137 GB
Notification: Performance of Templates: time 0.06408/0.7491, allocations: 33.7 MB / 0.7052 GB, free: 9.258 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 6.9032959109172225]
Failed to read output from testmodel.py, exit status != 0:
0.7589193442836404 0.774102277 0.32344024800000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1860f397b0>