Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001616/0.001616, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.00219/0.00219, allocations: 189.7 kB / 23.72 MB, free: 4.68 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.446/1.446, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1865/0.1865, allocations: 38.55 MB / 346.3 MB, free: 2.121 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-master/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="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG")
translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.91 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3479, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01269/0.3606, allocations: 10.85 MB / 0.5436 GB, free: 13.37 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01331/0.3739, allocations: 6.294 MB / 0.5498 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.3755, allocations: 71.53 kB / 0.5498 GB, free: 8.305 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01458/0.39, allocations: 6.154 MB / 0.5559 GB, free: 4.715 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004081/0.3941, allocations: 1.085 MB / 0.5569 GB, free: 3.625 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.3967, allocations: 0.6628 MB / 0.5576 GB, free: 2.961 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006557/0.4032, allocations: 3.306 MB / 0.5608 GB, free: 15.65 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.4049, allocations: 0.7195 MB / 0.5615 GB, free: 14.91 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.4072, allocations: 1.09 MB / 0.5626 GB, free: 13.81 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.4102, allocations: 1.468 MB / 0.564 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000681/0.4109, allocations: 144 kB / 0.5641 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.4126, allocations: 451.5 kB / 0.5646 GB, free: 11.76 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001303/0.4139, allocations: 0.8648 MB / 0.5654 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002351/0.4162, allocations: 0.9252 MB / 0.5663 GB, free: 9.961 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004181/0.4204, allocations: 2.273 MB / 0.5685 GB, free: 7.68 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4204, allocations: 4 kB / 0.5685 GB, free: 7.676 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.844e-06/0.4204, allocations: 0 / 0.5685 GB, free: 7.676 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0001076/0.4205, allocations: 0 / 0.5685 GB, free: 7.676 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.005768/0.4263, allocations: 2.037 MB / 0.5705 GB, free: 5.594 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.4263, allocations: 8.031 kB / 0.5705 GB, free: 5.586 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.428, allocations: 287.5 kB / 0.5708 GB, free: 5.305 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00288/0.4309, allocations: 1.123 MB / 0.5719 GB, free: 4.137 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-05/0.431, allocations: 102.6 kB / 0.572 GB, free: 4.035 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000539/0.4315, allocations: 231.7 kB / 0.5722 GB, free: 3.809 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.4351, allocations: 2.103 MB / 0.5743 GB, free: 1.605 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.4352, allocations: 7.938 kB / 0.5743 GB, free: 1.598 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.4353, allocations: 55.98 kB / 0.5743 GB, free: 1.543 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007087/0.436, allocations: 190.6 kB / 0.5745 GB, free: 1.355 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003191/0.4392, allocations: 1.705 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.01398/0.4532, allocations: 7.804 MB / 0.5838 GB, free: 7.504 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002432/0.4556, allocations: 1.249 MB / 0.585 GB, free: 6.238 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.4567, allocations: 0.6098 MB / 0.5856 GB, free: 5.625 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.023e-05/0.4568, allocations: 20.97 kB / 0.5856 GB, free: 5.605 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.4568, allocations: 63.44 kB / 0.5857 GB, free: 5.535 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=127): time 3.046e-06/0.4568, allocations: 0 / 0.5857 GB, free: 5.535 MB / 430.1 MB
Notification: Performance of matching and sorting (n=138): time 0.01007/0.4669, allocations: 4.526 MB / 0.5901 GB, free: 0.9688 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.256e-05/0.467, allocations: 94.41 kB / 0.5902 GB, free: 0.8594 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/0.4684, allocations: 0.9349 MB / 0.5911 GB, free: 15.9 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.4685, allocations: 49.7 kB / 0.5912 GB, free: 15.85 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00065/0.4691, allocations: 0.7347 MB / 0.5919 GB, free: 15.11 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005376/0.4697, allocations: 0.5229 MB / 0.5924 GB, free: 14.58 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004934/0.4702, allocations: 311.5 kB / 0.5927 GB, free: 14.27 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001378/0.4703, allocations: 313 kB / 0.593 GB, free: 13.96 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.4716, allocations: 0.7027 MB / 0.5937 GB, free: 13.25 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.4733, 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.01116/0.4844, allocations: 4.078 MB / 0.5988 GB, free: 7.672 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-05/0.4844, allocations: 4 kB / 0.5988 GB, free: 7.668 MB / 446.1 MB
Notification: Performance of matching and sorting (n=222) (initialization): time 0.007908/0.4924, allocations: 3.241 MB / 0.6019 GB, free: 4.402 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.4924, allocations: 12 kB / 0.602 GB, free: 4.391 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/0.4924, allocations: 19.88 kB / 0.602 GB, free: 4.371 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003298/0.4957, allocations: 1.196 MB / 0.6031 GB, free: 3.164 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.4971, allocations: 299.5 kB / 0.6034 GB, free: 2.871 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02775/0.5249, allocations: 14.73 MB / 0.6178 GB, free: 3.676 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.5267, allocations: 75.89 kB / 0.6179 GB, free: 3.602 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004438/0.5272, allocations: 71.98 kB / 0.618 GB, free: 3.531 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.001631/0.5288, allocations: 0.5046 MB / 0.6184 GB, free: 3.02 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.5293, allocations: 139.1 kB / 0.6186 GB, free: 2.883 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/0.5343, allocations: 1.789 MB / 0.6203 GB, free: 1.07 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.5343, allocations: 12 kB / 0.6203 GB, free: 1.059 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.5344, allocations: 4 kB / 0.6203 GB, free: 1.055 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/0.5344, allocations: 7.984 kB / 0.6203 GB, free: 1.047 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.5451, allocations: 3.498 MB / 0.6238 GB, free: 13.43 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/0.5451, allocations: 4 kB / 0.6238 GB, free: 13.43 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002485/0.5476, allocations: 328 kB / 0.6241 GB, free: 13.11 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007295/0.5483, allocations: 187.2 kB / 0.6243 GB, free: 12.91 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/0.5486, allocations: 51.97 kB / 0.6243 GB, free: 12.86 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00823/0.5568, allocations: 6.259 MB / 0.6304 GB, free: 6.148 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.348e-05/0.5568, allocations: 7.938 kB / 0.6304 GB, free: 6.141 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007571/0.5644, allocations: 2.496 MB / 0.6329 GB, free: 3.57 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001486/0.5659, allocations: 254.9 kB / 0.6331 GB, free: 3.32 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000521/0.5664, allocations: 47.97 kB / 0.6332 GB, free: 3.273 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.5678, allocations: 51.95 kB / 0.6332 GB, free: 3.223 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000405/0.5682, allocations: 113 kB / 0.6333 GB, free: 3.113 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/0.5684, allocations: 43.92 kB / 0.6334 GB, free: 3.07 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.001617/0.57, allocations: 0.6205 MB / 0.634 GB, free: 2.441 MB / 478.1 MB
Notification: Performance of sort global known variables: time 1.71e-07/0.57, allocations: 0 / 0.634 GB, free: 2.441 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.002968/0.5729, allocations: 488 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.0004033/0.5733, allocations: 154.8 kB / 0.6346 GB, free: 1.805 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.007093/0.5804, allocations: 2.617 MB / 0.6371 GB, free: 15.14 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.5805, allocations: 4 kB / 0.6371 GB, free: 15.13 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00296/0.5834, allocations: 1.198 MB / 0.6383 GB, free: 13.88 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.5854, allocations: 330 kB / 0.6386 GB, free: 13.56 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009281/0.5947, allocations: 4.985 MB / 0.6435 GB, free: 8.492 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/0.5965, allocations: 1.521 MB / 0.645 GB, free: 6.941 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.001335/0.5978, allocations: 403.6 kB / 0.6454 GB, free: 6.543 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/0.5983, allocations: 99.42 kB / 0.6455 GB, free: 6.445 MB / 494.1 MB
Notification: Performance of SimCode: time 8.62e-07/0.5983, allocations: 0 / 0.6455 GB, free: 6.445 MB / 494.1 MB
Notification: Performance of Templates: time 0.05442/0.6527, allocations: 26.84 MB / 0.6717 GB, free: 11.78 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660]
(rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480]
[Calling os._exit(0), Time elapsed: 5.954546382650733]
Failed to read output from testmodel.py, exit status != 0:
0.6629437869414687 0.680507754 0.256282702
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f05cf8517b0>