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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 159.3 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2198/0.2198, allocations: 29.43 MB / 290.7 MB, free: 3.273 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 64.19 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3801, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01037/0.3905, allocations: 9.933 MB / 0.4918 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009691/0.4001, allocations: 5.755 MB / 0.4974 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.4015, allocations: 62.56 kB / 0.4974 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.4135, allocations: 6.027 MB / 0.5033 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002919/0.4164, allocations: 1.09 MB / 0.5044 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.4183, allocations: 0.6729 MB / 0.5051 GB, free: 24.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00468/0.4229, allocations: 3.311 MB / 0.5083 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001285/0.4242, allocations: 0.8386 MB / 0.5091 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.426, allocations: 1.103 MB / 0.5102 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.4282, allocations: 1.399 MB / 0.5115 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.4286, allocations: 144.1 kB / 0.5117 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.4297, allocations: 450.8 kB / 0.5121 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009219/0.4307, allocations: 0.8629 MB / 0.513 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.4317, allocations: 0.7696 MB / 0.5137 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004447/0.4362, allocations: 2.313 MB / 0.516 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.659e-05/0.4362, allocations: 0 / 0.516 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4362, allocations: 0 / 0.516 GB, free: 20.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000121/0.4363, allocations: 0 / 0.516 GB, free: 20.39 MB / 446.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.00625/0.4426, allocations: 2.032 MB / 0.518 GB, free: 19.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4426, allocations: 24.95 kB / 0.518 GB, free: 19.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.4446, allocations: 343.8 kB / 0.5183 GB, free: 19.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003375/0.448, allocations: 1.122 MB / 0.5194 GB, free: 18.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.4482, allocations: 109.2 kB / 0.5195 GB, free: 18.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008852/0.4491, allocations: 219.1 kB / 0.5197 GB, free: 18.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/0.4537, allocations: 2.107 MB / 0.5218 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/0.4538, allocations: 11.64 kB / 0.5218 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.454, allocations: 57.83 kB / 0.5218 GB, free: 17.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007446/0.4547, allocations: 186.5 kB / 0.522 GB, free: 17.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.4586, allocations: 1.699 MB / 0.5237 GB, free: 16.87 MB / 446.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.01386/0.4724, allocations: 6.945 MB / 0.5305 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.4751, allocations: 1.247 MB / 0.5317 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.4764, allocations: 0.6138 MB / 0.5323 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.769e-05/0.4765, allocations: 20.84 kB / 0.5323 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.4765, allocations: 45.06 kB / 0.5323 GB, free: 11.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.589e-06/0.4765, allocations: 0 / 0.5323 GB, free: 11.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.0102/0.4867, allocations: 4.524 MB / 0.5368 GB, free: 9.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.4868, allocations: 93.56 kB / 0.5368 GB, free: 9.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.4882, allocations: 0.8819 MB / 0.5377 GB, free: 9.324 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.4883, allocations: 55.14 kB / 0.5378 GB, free: 9.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.4888, allocations: 0.7486 MB / 0.5385 GB, free: 8.676 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004179/0.4892, allocations: 0.5149 MB / 0.539 GB, free: 8.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.4897, allocations: 314.2 kB / 0.5393 GB, free: 8.117 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.4897, allocations: 301.1 kB / 0.5396 GB, free: 7.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.491, allocations: 0.7047 MB / 0.5403 GB, free: 7.602 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.4924, allocations: 1.154 MB / 0.5414 GB, free: 6.766 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.01/0.5024, allocations: 4.075 MB / 0.5454 GB, free: 4.004 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.5024, allocations: 4 kB / 0.5454 GB, free: 4 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00686/0.5093, allocations: 3.237 MB / 0.5485 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.5093, allocations: 12 kB / 0.5485 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.671e-05/0.5094, allocations: 16.72 kB / 0.5486 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003964/0.5133, allocations: 1.185 MB / 0.5497 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.5152, allocations: 295.5 kB / 0.55 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02141/0.5366, allocations: 14.42 MB / 0.5641 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.5381, allocations: 71.94 kB / 0.5642 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.5383, allocations: 68 kB / 0.5642 GB, free: 276 kB / 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.001121/0.5394, allocations: 0.5004 MB / 0.5647 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.5397, allocations: 143 kB / 0.5648 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/0.5432, allocations: 1.779 MB / 0.5666 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.5432, allocations: 12 kB / 0.5666 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.5432, allocations: 7.938 kB / 0.5666 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.5433, allocations: 3.984 kB / 0.5666 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/0.55, allocations: 3.127 MB / 0.5697 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/0.55, allocations: 4 kB / 0.5697 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/0.5518, allocations: 332 kB / 0.57 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005302/0.5523, allocations: 187.3 kB / 0.5702 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.5524, allocations: 43.98 kB / 0.5702 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00596/0.5584, allocations: 6.16 MB / 0.5762 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5584, allocations: 8.219 kB / 0.5762 GB, free: 3.434 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.5628, allocations: 2.48 MB / 0.5786 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007678/0.5636, allocations: 238.9 kB / 0.5789 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.5638, allocations: 43.98 kB / 0.5789 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/0.5645, allocations: 63.88 kB / 0.579 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.5647, allocations: 109 kB / 0.5791 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/0.5648, allocations: 40 kB / 0.5791 GB, free: 408 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008279/0.5656, allocations: 0.5679 MB / 0.5797 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5656, allocations: 0 / 0.5797 GB, free: 15.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001934/0.5676, allocations: 480 kB / 0.5801 GB, free: 15.35 MB / 494.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.0002347/0.5678, allocations: 159 kB / 0.5803 GB, free: 15.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005318/0.5731, allocations: 2.614 MB / 0.5828 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.5731, allocations: 4 kB / 0.5828 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002148/0.5753, allocations: 1.198 MB / 0.584 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001671/0.577, allocations: 302.8 kB / 0.5843 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009199/0.5862, allocations: 4.926 MB / 0.5891 GB, free: 5.961 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.5876, allocations: 0.9429 MB / 0.59 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001312/0.5889, allocations: 391.1 kB / 0.5904 GB, free: 4.598 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.5893, allocations: 96.48 kB / 0.5905 GB, free: 4.504 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5893, allocations: 0 / 0.5905 GB, free: 4.504 MB / 494.1 MB Notification: Performance of Templates: time 0.04297/0.6323, allocations: 23.26 MB / 0.6132 GB, free: 13.54 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 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.947977576986887] Failed to read output from testmodel.py, exit status != 0: 0.6419983769301325 0.656619789 0.217193038 Calling exit ...