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.001834/0.001834, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002243/0.002243, allocations: 208.7 kB / 23.73 MB, free: 4.387 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.1855/0.1855, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.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.002153/0.002153, allocations: 67.89 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3903, allocations: 62.47 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.02633/0.4166, allocations: 9.922 MB / 0.5521 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.4353, allocations: 5.756 MB / 0.5577 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002535/0.4379, allocations: 72.25 kB / 0.5578 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01906/0.4569, allocations: 6.005 MB / 0.5637 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004004/0.4609, allocations: 1.085 MB / 0.5647 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.4631, allocations: 0.6784 MB / 0.5654 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006588/0.4697, allocations: 3.298 MB / 0.5686 GB, free: 9.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.4717, allocations: 0.8513 MB / 0.5694 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.474, allocations: 1.098 MB / 0.5705 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.4767, allocations: 1.402 MB / 0.5719 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005466/0.4772, allocations: 144 kB / 0.572 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.4788, allocations: 443.5 kB / 0.5724 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.4801, allocations: 0.8687 MB / 0.5733 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.482, allocations: 0.7661 MB / 0.574 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004197/0.4862, allocations: 2.308 MB / 0.5763 GB, free: 1.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4862, allocations: 4 kB / 0.5763 GB, free: 1.445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4862, allocations: 3.938 kB / 0.5763 GB, free: 1.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.4863, allocations: 4 kB / 0.5763 GB, free: 1.438 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.005934/0.4922, allocations: 2.033 MB / 0.5783 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4923, allocations: 11.98 kB / 0.5783 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.4943, allocations: 339.5 kB / 0.5786 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.4973, allocations: 1.123 MB / 0.5797 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.4974, allocations: 98.61 kB / 0.5798 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006932/0.4981, allocations: 227.8 kB / 0.58 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/0.5019, allocations: 2.103 MB / 0.5821 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/0.5019, allocations: 11.89 kB / 0.5821 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.5021, allocations: 51.98 kB / 0.5821 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006599/0.5027, allocations: 194.6 kB / 0.5823 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/0.5058, allocations: 1.701 MB / 0.584 GB, free: 9.363 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.01161/0.5174, allocations: 6.939 MB / 0.5908 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.5197, allocations: 1.256 MB / 0.592 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.5207, allocations: 0.6126 MB / 0.5926 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.779e-05/0.5208, allocations: 20.98 kB / 0.5926 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.5208, allocations: 47.56 kB / 0.5927 GB, free: 228 kB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.727e-06/0.5209, allocations: 0 / 0.5927 GB, free: 228 kB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.00998/0.5308, allocations: 4.522 MB / 0.5971 GB, free: 11.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.5309, allocations: 90.42 kB / 0.5972 GB, free: 11.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.5325, allocations: 0.8841 MB / 0.598 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.5327, allocations: 49.7 kB / 0.5981 GB, free: 10.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007759/0.5335, allocations: 0.7465 MB / 0.5988 GB, free: 9.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007013/0.5342, allocations: 0.5229 MB / 0.5993 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00066/0.5348, allocations: 307.5 kB / 0.5996 GB, free: 9.004 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.535, allocations: 301.1 kB / 0.5999 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.5363, allocations: 0.7066 MB / 0.6006 GB, free: 8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.5381, allocations: 1.155 MB / 0.6017 GB, free: 6.656 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.01078/0.5488, allocations: 4.07 MB / 0.6057 GB, free: 2.414 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-05/0.5489, allocations: 4 kB / 0.6057 GB, free: 2.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.00756/0.5564, allocations: 3.229 MB / 0.6088 GB, free: 15.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.5565, allocations: 12 kB / 0.6088 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.5565, allocations: 12 kB / 0.6089 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/0.5597, allocations: 1.185 MB / 0.61 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.561, allocations: 295.6 kB / 0.6103 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/0.5827, allocations: 14.41 MB / 0.6244 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.5841, allocations: 71.91 kB / 0.6244 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003492/0.5845, allocations: 79.98 kB / 0.6245 GB, free: 14.68 MB / 478.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.001234/0.5857, allocations: 0.4934 MB / 0.625 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003886/0.5861, allocations: 135.1 kB / 0.6251 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.5899, allocations: 1.779 MB / 0.6269 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.5899, allocations: 16 kB / 0.6269 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5899, allocations: 7.938 kB / 0.6269 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.59, allocations: 11.91 kB / 0.6269 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00801/0.598, allocations: 3.123 MB / 0.63 GB, free: 8.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.598, allocations: 7.938 kB / 0.63 GB, free: 8.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.5997, allocations: 328 kB / 0.6303 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000564/0.6002, allocations: 187.2 kB / 0.6304 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001734/0.6004, allocations: 43.98 kB / 0.6305 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0065/0.6069, allocations: 6.144 MB / 0.6365 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6069, allocations: 4 kB / 0.6365 GB, free: 1.871 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00521/0.6121, allocations: 2.48 MB / 0.6389 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.6133, allocations: 250.9 kB / 0.6392 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.6136, allocations: 43.98 kB / 0.6392 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.6146, allocations: 55.89 kB / 0.6393 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/0.6149, allocations: 113 kB / 0.6394 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.871e-05/0.615, allocations: 39.98 kB / 0.6394 GB, free: 14.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00107/0.6161, allocations: 0.564 MB / 0.6399 GB, free: 14.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6161, allocations: 0 / 0.6399 GB, free: 14.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002646/0.6187, allocations: 488 kB / 0.6404 GB, free: 13.78 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.000347/0.6191, allocations: 159 kB / 0.6406 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006131/0.6252, allocations: 2.624 MB / 0.6431 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.6252, allocations: 5.688 kB / 0.6431 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.6274, allocations: 1.186 MB / 0.6443 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/0.6294, allocations: 303.6 kB / 0.6446 GB, free: 9.402 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.6399, allocations: 4.969 MB / 0.6494 GB, free: 4.352 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.6416, allocations: 0.939 MB / 0.6504 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001473/0.6431, allocations: 395.1 kB / 0.6507 GB, free: 2.988 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004931/0.6436, allocations: 91.44 kB / 0.6508 GB, free: 2.898 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6436, allocations: 0 / 0.6508 GB, free: 2.898 MB / 494.1 MB Notification: Performance of Templates: time 0.05174/0.6953, allocations: 25.46 MB / 0.6757 GB, free: 9.723 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: 6.409969219937921] Failed to read output from testmodel.py, exit status != 0: 0.7061104793101549 0.724325356 0.234453501 Calling exit ...