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.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.001507/0.001507, allocations: 108.3 kB / 20.48 MB, free: 1.121 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.002049/0.002049, allocations: 208.8 kB / 23.78 MB, free: 4.324 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.563/1.563, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.1812/0.1812, allocations: 38.56 MB / 352.5 MB, free: 12.27 MB / 286.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.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="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: 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.002069/0.002069, allocations: 67.89 kB / 493.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3663, allocations: 62.47 MB / 0.5425 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.0168/0.3831, allocations: 9.93 MB / 0.5522 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3946, allocations: 5.743 MB / 0.5578 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.3957, allocations: 64.22 kB / 0.5579 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01419/0.4099, allocations: 6.042 MB / 0.5638 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.4131, allocations: 1.085 MB / 0.5649 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.4151, allocations: 0.6706 MB / 0.5655 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005594/0.4207, allocations: 3.302 MB / 0.5687 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.4222, allocations: 0.8552 MB / 0.5696 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.424, allocations: 1.105 MB / 0.5707 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.4263, allocations: 1.398 MB / 0.572 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.4266, allocations: 148 kB / 0.5722 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.4276, allocations: 447.5 kB / 0.5726 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.4286, allocations: 0.8687 MB / 0.5734 GB, free: 4.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.43, allocations: 0.7661 MB / 0.5742 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003242/0.4332, allocations: 2.3 MB / 0.5764 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4332, allocations: 0 / 0.5764 GB, free: 1.355 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4332, allocations: 3.938 kB / 0.5764 GB, free: 1.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.105e-05/0.4333, allocations: 0 / 0.5764 GB, free: 1.352 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.004418/0.4377, allocations: 2.041 MB / 0.5784 GB, free: 15.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.4378, allocations: 11.98 kB / 0.5784 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.4397, allocations: 335.5 kB / 0.5788 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.4425, allocations: 1.131 MB / 0.5799 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.4425, allocations: 98.62 kB / 0.58 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000534/0.4431, allocations: 223.9 kB / 0.5802 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.4467, allocations: 2.111 MB / 0.5822 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.137e-05/0.4467, allocations: 11.89 kB / 0.5822 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.447, allocations: 59.98 kB / 0.5823 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006779/0.4476, allocations: 178.6 kB / 0.5825 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/0.4507, allocations: 1.701 MB / 0.5841 GB, free: 9.27 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.0118/0.4625, allocations: 6.946 MB / 0.5909 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.465, allocations: 1.252 MB / 0.5921 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.466, allocations: 0.6165 MB / 0.5927 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.072e-05/0.4661, allocations: 13 kB / 0.5928 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.4661, allocations: 47.56 kB / 0.5928 GB, free: 140 kB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.457e-06/0.4661, allocations: 0 / 0.5928 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.009439/0.4756, allocations: 4.53 MB / 0.5972 GB, free: 11.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.4757, allocations: 94.42 kB / 0.5973 GB, free: 11.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4769, allocations: 0.8802 MB / 0.5982 GB, free: 10.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.646e-05/0.477, allocations: 45.7 kB / 0.5982 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000674/0.4776, allocations: 0.7503 MB / 0.5989 GB, free: 9.746 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.4781, allocations: 0.5229 MB / 0.5995 GB, free: 9.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/0.4786, allocations: 299.5 kB / 0.5997 GB, free: 8.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.4787, allocations: 313 kB / 0.6 GB, free: 8.609 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.48, allocations: 0.7027 MB / 0.6007 GB, free: 7.906 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.4816, allocations: 1.158 MB / 0.6019 GB, free: 6.559 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.01045/0.4921, allocations: 4.074 MB / 0.6058 GB, free: 2.312 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.4921, allocations: 4 kB / 0.6058 GB, free: 2.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007101/0.4992, allocations: 3.241 MB / 0.609 GB, free: 15.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.4992, allocations: 12 kB / 0.609 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.4992, allocations: 12 kB / 0.609 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003127/0.5024, allocations: 1.179 MB / 0.6102 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.5036, allocations: 291.5 kB / 0.6105 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.5246, allocations: 14.42 MB / 0.6245 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.5259, allocations: 87.89 kB / 0.6246 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.5261, allocations: 68 kB / 0.6247 GB, free: 14.57 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.001038/0.5271, allocations: 0.501 MB / 0.6252 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002447/0.5274, allocations: 135.1 kB / 0.6253 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/0.5308, allocations: 1.779 MB / 0.627 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.5308, allocations: 16 kB / 0.6271 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.5308, allocations: 7.938 kB / 0.6271 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.5308, allocations: 7.969 kB / 0.6271 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.537, allocations: 3.131 MB / 0.6301 GB, free: 8.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.537, allocations: 4 kB / 0.6301 GB, free: 8.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.5387, allocations: 327.5 kB / 0.6305 GB, free: 8.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/0.5392, allocations: 183.3 kB / 0.6306 GB, free: 8.352 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.5393, allocations: 51.98 kB / 0.6307 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006111/0.5455, allocations: 6.136 MB / 0.6367 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5455, allocations: 8 kB / 0.6367 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005858/0.5513, allocations: 2.488 MB / 0.6391 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/0.552, allocations: 242.9 kB / 0.6393 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.5523, allocations: 43.98 kB / 0.6394 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000854/0.5532, allocations: 63.88 kB / 0.6394 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/0.5534, allocations: 105 kB / 0.6395 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.831e-05/0.5535, allocations: 39.98 kB / 0.6396 GB, free: 14.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009576/0.5545, allocations: 0.5679 MB / 0.6401 GB, free: 14.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5545, allocations: 0 / 0.6401 GB, free: 14.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001933/0.5564, allocations: 488 kB / 0.6406 GB, free: 13.64 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.000237/0.5566, allocations: 151 kB / 0.6407 GB, free: 13.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00484/0.5615, allocations: 2.622 MB / 0.6433 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5615, allocations: 4.125 kB / 0.6433 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.5634, allocations: 1.194 MB / 0.6445 GB, free: 9.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5648, allocations: 303 kB / 0.6448 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009069/0.5739, allocations: 4.923 MB / 0.6496 GB, free: 4.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.5755, allocations: 0.9313 MB / 0.6505 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.5766, allocations: 391.1 kB / 0.6509 GB, free: 2.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.577, allocations: 96.48 kB / 0.6509 GB, free: 2.82 MB / 494.1 MB Notification: Performance of SimCode: time 9.91e-07/0.577, allocations: 0 / 0.6509 GB, free: 2.82 MB / 494.1 MB Notification: Performance of Templates: time 0.04306/0.6201, allocations: 23.27 MB / 0.6737 GB, free: 11.84 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.51430562697351] Failed to read output from testmodel.py, exit status != 0: 0.6297701569274068 0.644350451 0.20769453100000002 Calling exit ...