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.001911/0.001911, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001803/0.001803, allocations: 209 kB / 24.48 MB, free: 3.938 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.466/1.466, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.1856/0.1856, allocations: 38.55 MB / 353.2 MB, free: 12.3 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.002144/0.002144, allocations: 71.89 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3416, allocations: 62.47 MB / 0.5432 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01348/0.3551, allocations: 9.917 MB / 0.5528 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01135/0.3665, allocations: 5.748 MB / 0.5585 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.3678, allocations: 67.31 kB / 0.5585 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01446/0.3823, allocations: 6.019 MB / 0.5644 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003413/0.3857, allocations: 1.081 MB / 0.5655 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002273/0.388, allocations: 0.6706 MB / 0.5661 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005589/0.3936, allocations: 3.302 MB / 0.5693 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.3953, allocations: 0.8552 MB / 0.5702 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.3976, allocations: 1.098 MB / 0.5712 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.4005, allocations: 1.402 MB / 0.5726 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006511/0.4012, allocations: 147.9 kB / 0.5728 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.4027, allocations: 435.5 kB / 0.5732 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001361/0.404, allocations: 0.8765 MB / 0.574 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.4059, allocations: 0.7661 MB / 0.5748 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003993/0.4099, allocations: 2.304 MB / 0.577 GB, free: 1.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4099, allocations: 4 kB / 0.577 GB, free: 1.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4099, allocations: 0 / 0.577 GB, free: 1.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.341e-05/0.41, allocations: 0 / 0.577 GB, free: 1.426 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.004996/0.415, allocations: 2.029 MB / 0.579 GB, free: 15.35 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.4151, allocations: 15.98 kB / 0.579 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.4169, allocations: 339.5 kB / 0.5793 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.4199, allocations: 1.123 MB / 0.5804 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-05/0.42, allocations: 102.6 kB / 0.5805 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005369/0.4205, allocations: 223.9 kB / 0.5808 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003493/0.424, allocations: 2.103 MB / 0.5828 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.22e-05/0.424, allocations: 19.88 kB / 0.5828 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.4242, allocations: 51.98 kB / 0.5829 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006781/0.4249, allocations: 182.6 kB / 0.5831 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.428, allocations: 1.697 MB / 0.5847 GB, free: 9.359 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.01193/0.4399, allocations: 6.951 MB / 0.5915 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.4423, allocations: 1.249 MB / 0.5927 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.4433, allocations: 0.6126 MB / 0.5933 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.619e-05/0.4434, allocations: 25 kB / 0.5933 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.087e-05/0.4435, allocations: 43.56 kB / 0.5934 GB, free: 220 kB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.567e-06/0.4435, allocations: 0 / 0.5934 GB, free: 220 kB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.009899/0.4534, allocations: 4.518 MB / 0.5978 GB, free: 11.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.4535, allocations: 94.42 kB / 0.5979 GB, free: 11.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.4548, allocations: 0.8802 MB / 0.5987 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.529e-05/0.4549, allocations: 53.7 kB / 0.5988 GB, free: 10.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006738/0.4555, allocations: 0.7465 MB / 0.5995 GB, free: 9.832 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/0.456, allocations: 0.519 MB / 0.6 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/0.4565, allocations: 307.5 kB / 0.6003 GB, free: 9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4566, allocations: 305.1 kB / 0.6006 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4578, allocations: 0.7066 MB / 0.6013 GB, free: 7.992 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.4595, allocations: 1.151 MB / 0.6024 GB, free: 6.652 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.01036/0.4698, allocations: 4.082 MB / 0.6064 GB, free: 2.398 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.4698, allocations: 4 kB / 0.6064 GB, free: 2.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007177/0.477, allocations: 3.225 MB / 0.6096 GB, free: 15.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.477, allocations: 11.94 kB / 0.6096 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.455e-05/0.4771, allocations: 16 kB / 0.6096 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003164/0.4802, allocations: 1.176 MB / 0.6107 GB, free: 13.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.4815, allocations: 307.5 kB / 0.611 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.503, allocations: 14.4 MB / 0.6251 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.5042, allocations: 75.91 kB / 0.6252 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.5043, allocations: 71.98 kB / 0.6252 GB, free: 14.67 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.0009311/0.5053, allocations: 0.4933 MB / 0.6257 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/0.5055, allocations: 139.1 kB / 0.6259 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/0.5088, allocations: 1.779 MB / 0.6276 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.5088, allocations: 19.92 kB / 0.6276 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.5088, allocations: 11.94 kB / 0.6276 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.5089, allocations: 3.984 kB / 0.6276 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006414/0.5153, allocations: 3.123 MB / 0.6307 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.5153, allocations: 4 kB / 0.6307 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.5169, allocations: 328.1 kB / 0.631 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/0.5175, allocations: 191.3 kB / 0.6312 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.5176, allocations: 51.97 kB / 0.6312 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005896/0.5235, allocations: 6.148 MB / 0.6372 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5235, allocations: 4.094 kB / 0.6372 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004302/0.5278, allocations: 2.48 MB / 0.6397 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007796/0.5286, allocations: 246.7 kB / 0.6399 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.5288, allocations: 47.98 kB / 0.6399 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006904/0.5294, allocations: 59.88 kB / 0.64 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002261/0.5297, allocations: 105 kB / 0.6401 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.457e-05/0.5298, allocations: 40 kB / 0.6401 GB, free: 14.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008185/0.5306, allocations: 0.5718 MB / 0.6407 GB, free: 14.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5306, allocations: 0 / 0.6407 GB, free: 14.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001686/0.5323, allocations: 484 kB / 0.6412 GB, free: 13.75 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.0002274/0.5325, allocations: 151 kB / 0.6413 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004805/0.5373, allocations: 2.624 MB / 0.6439 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5373, allocations: 0 / 0.6439 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002/0.5393, allocations: 1.199 MB / 0.645 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.5407, allocations: 297.7 kB / 0.6453 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008251/0.5489, allocations: 5.096 MB / 0.6503 GB, free: 4.195 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.5501, allocations: 0.9274 MB / 0.6512 GB, free: 3.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.5506, allocations: 107.4 kB / 0.6513 GB, free: 3.129 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5506, allocations: 0 / 0.6513 GB, free: 3.129 MB / 494.1 MB Notification: Performance of Templates: time 0.05789/0.6085, allocations: 43.55 MB / 0.6938 GB, free: 7.57 MB / 0.5294 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 sys.exit(0), Time elapsed: 12.815936665982008] Failed to read output from testmodel.py, exit status != 0: 0.6177406976930797 0.631864207 0.21872021300000002 Calling exit ...