Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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.001939/0.001939, allocations: 112.2 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.002261/0.002261, allocations: 180.9 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.561/1.561, 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.1849/0.1849, allocations: 38.54 MB / 346.3 MB, free: 2.062 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.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG")
translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 79.86 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3866, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01099/0.3976, allocations: 10.85 MB / 0.5436 GB, free: 13.36 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01253/0.4101, allocations: 6.29 MB / 0.5498 GB, free: 8.34 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.4119, allocations: 67.69 kB / 0.5498 GB, free: 8.305 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01517/0.4271, allocations: 6.165 MB / 0.5558 GB, free: 4.711 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005417/0.4325, allocations: 1.091 MB / 0.5569 GB, free: 3.621 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002805/0.4353, allocations: 0.6589 MB / 0.5576 GB, free: 2.961 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006837/0.4421, allocations: 3.31 MB / 0.5608 GB, free: 15.64 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.4439, allocations: 0.7117 MB / 0.5615 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.4464, allocations: 1.101 MB / 0.5626 GB, free: 13.8 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002853/0.4492, allocations: 1.456 MB / 0.564 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006278/0.4499, allocations: 148 kB / 0.5641 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.4513, allocations: 447.5 kB / 0.5645 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001325/0.4526, allocations: 0.8648 MB / 0.5654 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001835/0.4544, allocations: 0.9291 MB / 0.5663 GB, free: 9.961 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.003295/0.4577, allocations: 2.273 MB / 0.5685 GB, free: 7.68 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4577, allocations: 0 / 0.5685 GB, free: 7.68 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.174e-06/0.4577, allocations: 0 / 0.5685 GB, free: 7.68 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 4.552e-05/0.4578, allocations: 0 / 0.5685 GB, free: 7.68 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 392
 * Number of variables: 392
Notification: Performance of Generate backend data structure: time 0.004618/0.4624, allocations: 2.041 MB / 0.5705 GB, free: 5.594 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.4624, allocations: 12.03 kB / 0.5705 GB, free: 5.582 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001621/0.4641, allocations: 283.5 kB / 0.5708 GB, free: 5.305 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.467, allocations: 1.127 MB / 0.5719 GB, free: 4.133 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/0.4671, allocations: 98.62 kB / 0.572 GB, free: 4.035 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005835/0.4677, allocations: 223.8 kB / 0.5722 GB, free: 3.816 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003622/0.4713, allocations: 2.103 MB / 0.5743 GB, free: 1.613 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.4714, allocations: 7.938 kB / 0.5743 GB, free: 1.605 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.4715, allocations: 59.97 kB / 0.5743 GB, free: 1.547 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007127/0.4722, allocations: 190.6 kB / 0.5745 GB, free: 1.359 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.4754, allocations: 1.709 MB / 0.5762 GB, free: 15.64 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.01334/0.4887, allocations: 7.808 MB / 0.5838 GB, free: 7.5 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.4912, allocations: 1.244 MB / 0.585 GB, free: 6.238 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.4924, allocations: 0.6176 MB / 0.5856 GB, free: 5.617 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.829e-05/0.4925, allocations: 20.98 kB / 0.5856 GB, free: 5.598 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.4925, allocations: 47.5 kB / 0.5857 GB, free: 5.543 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=127): time 3.286e-06/0.4925, allocations: 0 / 0.5857 GB, free: 5.543 MB / 430.1 MB
Notification: Performance of matching and sorting (n=138): time 0.01069/0.5032, allocations: 4.526 MB / 0.5901 GB, free: 0.9766 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.5033, allocations: 98.36 kB / 0.5902 GB, free: 0.8633 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.5047, allocations: 0.9349 MB / 0.5911 GB, free: 15.91 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001267/0.5048, allocations: 49.7 kB / 0.5912 GB, free: 15.85 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0006617/0.5055, allocations: 0.7426 MB / 0.5919 GB, free: 15.1 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000555/0.5061, allocations: 0.5229 MB / 0.5924 GB, free: 14.57 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005587/0.5066, allocations: 307.5 kB / 0.5927 GB, free: 14.27 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001424/0.5068, allocations: 305.1 kB / 0.593 GB, free: 13.96 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.508, allocations: 0.7066 MB / 0.5937 GB, free: 13.26 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.5096, allocations: 1.151 MB / 0.5948 GB, free: 11.92 MB / 446.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.01128/0.5209, allocations: 4.078 MB / 0.5988 GB, free: 7.676 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.5209, allocations: 4 kB / 0.5988 GB, free: 7.672 MB / 446.1 MB
Notification: Performance of matching and sorting (n=222) (initialization): time 0.007587/0.5285, allocations: 3.241 MB / 0.6019 GB, free: 4.406 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.5286, allocations: 8 kB / 0.6019 GB, free: 4.398 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/0.5286, allocations: 23.88 kB / 0.602 GB, free: 4.375 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00323/0.5318, allocations: 1.19 MB / 0.6031 GB, free: 3.172 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.5332, allocations: 299.5 kB / 0.6034 GB, free: 2.879 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/0.5548, allocations: 14.74 MB / 0.6178 GB, free: 3.668 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.5561, allocations: 79.88 kB / 0.6179 GB, free: 3.59 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.5562, allocations: 68 kB / 0.6179 GB, free: 3.523 MB / 462.1 MB
Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system:
         inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0
         $DER.inertia.w = 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: 60
 * 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 (146):
 * Single equations (assignments): 142
 * 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
   {(1,1,100.0%), (1,18,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(3,15), (21,20)}
Notification: Performance of prepare postOptimizeDAE: time 0.0008959/0.5571, allocations: 0.4894 MB / 0.6184 GB, free: 3.023 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.5574, allocations: 139.1 kB / 0.6186 GB, free: 2.887 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.5608, allocations: 1.789 MB / 0.6203 GB, free: 1.074 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5608, allocations: 16 kB / 0.6203 GB, free: 1.059 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.5608, allocations: 0 / 0.6203 GB, free: 1.059 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.5608, allocations: 7.969 kB / 0.6203 GB, free: 1.051 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006468/0.5673, allocations: 3.506 MB / 0.6238 GB, free: 13.43 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/0.5673, allocations: 8.438 kB / 0.6238 GB, free: 13.42 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.569, allocations: 327.6 kB / 0.6241 GB, free: 13.1 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005309/0.5695, allocations: 191.2 kB / 0.6243 GB, free: 12.9 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.5696, allocations: 47.98 kB / 0.6243 GB, free: 12.86 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005981/0.5756, allocations: 6.251 MB / 0.6304 GB, free: 6.148 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/0.5756, allocations: 7.938 kB / 0.6304 GB, free: 6.141 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004308/0.5799, allocations: 2.5 MB / 0.6329 GB, free: 3.566 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007811/0.5807, allocations: 250.9 kB / 0.6331 GB, free: 3.32 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.5809, allocations: 51.98 kB / 0.6331 GB, free: 3.27 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007142/0.5816, allocations: 55.94 kB / 0.6332 GB, free: 3.215 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.5819, allocations: 105 kB / 0.6333 GB, free: 3.113 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.674e-05/0.582, allocations: 40 kB / 0.6333 GB, free: 3.074 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.0009817/0.583, allocations: 0.6244 MB / 0.6339 GB, free: 2.441 MB / 478.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.583, allocations: 4 kB / 0.6339 GB, free: 2.438 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.001868/0.5848, allocations: 484 kB / 0.6344 GB, free: 1.965 MB / 478.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,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],inertia.phi,inertia.w,meterDC.pav,inverter2.vDC1)
 * 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 (129):
 * Single equations (assignments): 124
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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): 4 systems
   {(1,10,100.0%), (1,1,100.0%), (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.0002454/0.5851, allocations: 154.8 kB / 0.6346 GB, free: 1.805 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.005088/0.5902, allocations: 2.634 MB / 0.6371 GB, free: 15.12 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5902, allocations: 0 / 0.6371 GB, free: 15.12 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002125/0.5923, allocations: 1.194 MB / 0.6383 GB, free: 13.87 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.5939, allocations: 334.2 kB / 0.6386 GB, free: 13.55 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008334/0.6022, allocations: 4.973 MB / 0.6435 GB, free: 8.496 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/0.6036, allocations: 1.521 MB / 0.645 GB, free: 6.945 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.001167/0.6048, allocations: 403.6 kB / 0.6453 GB, free: 6.547 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.6051, allocations: 99.44 kB / 0.6454 GB, free: 6.449 MB / 494.1 MB
Notification: Performance of SimCode: time 6.01e-07/0.6051, allocations: 0 / 0.6454 GB, free: 6.449 MB / 494.1 MB
Notification: Performance of Templates: time 0.04951/0.6546, allocations: 26.84 MB / 0.6716 GB, free: 11.77 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 6.379338257946074]
Failed to read output from testmodel.py, exit status != 0:
0.6654765633866191 0.679825495 0.218770287
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f36cbb0d7b0>