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.001763/0.001763, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002334/0.002334, allocations: 167.9 kB / 24.5 MB, free: 3.453 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.447/1.447, allocations: 177.2 MB / 204.9 MB, free: 9.047 MB / 190.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.2182/0.2182, allocations: 29.43 MB / 290.7 MB, free: 3.301 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.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.002147/0.002147, allocations: 71.84 kB / 431.2 MB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3257, allocations: 62.44 MB / 493.6 MB, free: 37.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.008851/0.3345, allocations: 9.923 MB / 0.4917 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.3426, allocations: 5.754 MB / 0.4974 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008162/0.3434, allocations: 69.09 kB / 0.4974 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.3538, allocations: 6.034 MB / 0.5033 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002266/0.3561, allocations: 1.085 MB / 0.5044 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3575, allocations: 0.6676 MB / 0.505 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.3613, allocations: 3.319 MB / 0.5083 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3625, allocations: 0.842 MB / 0.5091 GB, free: 22.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.3641, allocations: 1.098 MB / 0.5102 GB, free: 22.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.3658, allocations: 1.402 MB / 0.5115 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.3661, allocations: 143.8 kB / 0.5117 GB, free: 22.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008984/0.367, allocations: 447.9 kB / 0.5121 GB, free: 22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009382/0.3679, allocations: 0.8652 MB / 0.5129 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.369, allocations: 0.7723 MB / 0.5137 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.3718, allocations: 2.313 MB / 0.516 GB, free: 20.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3718, allocations: 0 / 0.516 GB, free: 20.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3718, allocations: 1.375 kB / 0.516 GB, free: 20.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.779e-05/0.3719, allocations: 0 / 0.516 GB, free: 20.45 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.004303/0.3762, allocations: 2.034 MB / 0.5179 GB, free: 19.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3762, allocations: 13.73 kB / 0.518 GB, free: 19.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.378, allocations: 339.9 kB / 0.5183 GB, free: 19.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.3807, allocations: 1.124 MB / 0.5194 GB, free: 18.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.3808, allocations: 105 kB / 0.5195 GB, free: 18.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005643/0.3813, allocations: 223.4 kB / 0.5197 GB, free: 18.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003432/0.3848, allocations: 2.1 MB / 0.5217 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.747e-05/0.3848, allocations: 12.66 kB / 0.5218 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.385, allocations: 61 kB / 0.5218 GB, free: 17.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000693/0.3857, allocations: 185.7 kB / 0.522 GB, free: 17.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.3888, allocations: 1.7 MB / 0.5237 GB, free: 16.93 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.0115/0.4003, allocations: 6.95 MB / 0.5304 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.4026, allocations: 1.24 MB / 0.5317 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.4037, allocations: 0.6133 MB / 0.5323 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/0.4037, allocations: 16.3 kB / 0.5323 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.4038, allocations: 57 kB / 0.5323 GB, free: 11.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.527e-06/0.4038, allocations: 0 / 0.5323 GB, free: 11.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009685/0.4135, allocations: 4.521 MB / 0.5367 GB, free: 9.855 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.4135, allocations: 92.8 kB / 0.5368 GB, free: 9.762 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.4147, allocations: 0.8815 MB / 0.5377 GB, free: 9.387 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.4149, allocations: 51.33 kB / 0.5377 GB, free: 9.336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.4153, allocations: 0.7531 MB / 0.5385 GB, free: 8.738 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.4157, allocations: 0.5143 MB / 0.539 GB, free: 8.328 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004723/0.4161, allocations: 313.3 kB / 0.5393 GB, free: 8.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.4162, allocations: 303 kB / 0.5396 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.4173, allocations: 0.7039 MB / 0.5402 GB, free: 7.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.4186, allocations: 1.154 MB / 0.5414 GB, free: 6.805 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.009615/0.4282, allocations: 4.08 MB / 0.5454 GB, free: 4.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/0.4282, allocations: 7.938 kB / 0.5454 GB, free: 4.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.005856/0.434, allocations: 3.233 MB / 0.5485 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.4341, allocations: 8 kB / 0.5485 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.4341, allocations: 16.72 kB / 0.5485 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.4369, allocations: 1.182 MB / 0.5497 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.4382, allocations: 295.6 kB / 0.55 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/0.4604, allocations: 14.41 MB / 0.5641 GB, free: 476 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.462, allocations: 79.94 kB / 0.5641 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.4622, allocations: 71.98 kB / 0.5642 GB, free: 324 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.001268/0.4635, allocations: 0.4933 MB / 0.5647 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002713/0.4638, allocations: 143 kB / 0.5648 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.4673, allocations: 1.779 MB / 0.5666 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/0.4673, allocations: 20 kB / 0.5666 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.4673, allocations: 3.938 kB / 0.5666 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.4673, allocations: 11.97 kB / 0.5666 GB, free: 13.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006827/0.4741, allocations: 3.127 MB / 0.5696 GB, free: 10.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.4741, allocations: 4 kB / 0.5697 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.4759, allocations: 328 kB / 0.57 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/0.4765, allocations: 187.2 kB / 0.5701 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001371/0.4766, allocations: 47.97 kB / 0.5702 GB, free: 10.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005997/0.4826, allocations: 6.148 MB / 0.5762 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.4826, allocations: 8.172 kB / 0.5762 GB, free: 3.484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/0.4871, allocations: 2.481 MB / 0.5786 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/0.4878, allocations: 242.9 kB / 0.5789 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001836/0.488, allocations: 43.98 kB / 0.5789 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/0.4887, allocations: 59.89 kB / 0.579 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/0.489, allocations: 109 kB / 0.5791 GB, free: 500 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/0.4891, allocations: 39.98 kB / 0.5791 GB, free: 460 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0008418/0.4899, allocations: 0.5679 MB / 0.5797 GB, free: 15.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4899, allocations: 0 / 0.5797 GB, free: 15.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001911/0.4918, allocations: 487.9 kB / 0.5801 GB, free: 15.39 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.0002293/0.492, allocations: 151.1 kB / 0.5803 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004915/0.497, allocations: 2.626 MB / 0.5828 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.497, allocations: 0 / 0.5828 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.4989, allocations: 1.198 MB / 0.584 GB, free: 11.31 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5004, allocations: 290.9 kB / 0.5843 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008734/0.5092, allocations: 4.948 MB / 0.5891 GB, free: 6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.5104, allocations: 0.9274 MB / 0.59 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.5116, allocations: 391.1 kB / 0.5904 GB, free: 4.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.512, allocations: 96.5 kB / 0.5905 GB, free: 4.559 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.512, allocations: 0 / 0.5905 GB, free: 4.559 MB / 494.1 MB Notification: Performance of Templates: time 0.04283/0.5548, allocations: 23.27 MB / 0.6132 GB, free: 13.58 MB / 0.5138 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.01356717501767] Failed to read output from testmodel.py, exit status != 0: 0.5639704619534314 0.5788614639999999 0.20373639399999996 Calling exit ...