Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001437/0.001437, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001551/0.001551, allocations: 206 kB / 23.73 MB, free: 4.402 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.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1846/0.1846, allocations: 38.56 MB / 352.5 MB, free: 12.32 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_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [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.002099/0.002099, allocations: 74.7 kB / 493 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3638, allocations: 62.47 MB / 0.5424 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.02036/0.3841, allocations: 10.28 MB / 0.5525 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02284/0.407, allocations: 6.47 MB / 0.5588 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.4096, allocations: 71.44 kB / 0.5589 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0388/0.4484, allocations: 14.2 MB / 0.5727 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.4525, allocations: 1.14 MB / 0.5738 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.4548, allocations: 0.7096 MB / 0.5745 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007639/0.4624, allocations: 4.18 MB / 0.5786 GB, free: 15.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.4645, allocations: 0.8553 MB / 0.5794 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.4671, allocations: 1.16 MB / 0.5806 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.4699, allocations: 1.507 MB / 0.582 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003333/0.4702, allocations: 152 kB / 0.5822 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.4719, allocations: 0.5539 MB / 0.5827 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.4729, allocations: 0.9233 MB / 0.5836 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/0.4742, allocations: 0.8166 MB / 0.5844 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00473/0.4789, allocations: 2.6 MB / 0.587 GB, free: 6.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.4789, allocations: 0 / 0.587 GB, free: 6.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.4789, allocations: 0 / 0.587 GB, free: 6.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001075/0.479, allocations: 0 / 0.587 GB, free: 6.461 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.006287/0.4853, allocations: 2.209 MB / 0.5891 GB, free: 4.207 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.4854, allocations: 11.98 kB / 0.5891 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002251/0.4876, allocations: 391.3 kB / 0.5895 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00339/0.491, allocations: 1.244 MB / 0.5907 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/0.4911, allocations: 106.7 kB / 0.5908 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006378/0.4917, allocations: 243.7 kB / 0.5911 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003785/0.4955, allocations: 2.184 MB / 0.5932 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.4956, allocations: 7.938 kB / 0.5932 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.4958, allocations: 55.98 kB / 0.5933 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00066/0.4964, allocations: 190.8 kB / 0.5934 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.4997, allocations: 1.83 MB / 0.5952 GB, free: 13.81 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.01258/0.5122, allocations: 7.374 MB / 0.6024 GB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.5149, allocations: 1.385 MB / 0.6038 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.5163, allocations: 0.7488 MB / 0.6045 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.47e-05/0.5164, allocations: 29.23 kB / 0.6045 GB, free: 3.969 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.5165, allocations: 43.88 kB / 0.6046 GB, free: 3.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 4.378e-06/0.5165, allocations: 7.875 kB / 0.6046 GB, free: 3.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.0271/0.5436, allocations: 8.48 MB / 0.6129 GB, free: 11.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.5437, allocations: 98.41 kB / 0.613 GB, free: 11.26 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.5459, allocations: 1.012 MB / 0.6139 GB, free: 10.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/0.5461, allocations: 57.7 kB / 0.614 GB, free: 10.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.5472, allocations: 0.8014 MB / 0.6148 GB, free: 9.355 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009537/0.5482, allocations: 0.6198 MB / 0.6154 GB, free: 8.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008161/0.549, allocations: 351.5 kB / 0.6157 GB, free: 8.383 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5491, allocations: 301.1 kB / 0.616 GB, free: 8.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002275/0.5514, allocations: 0.8511 MB / 0.6168 GB, free: 7.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/0.5544, allocations: 1.348 MB / 0.6182 GB, free: 5.676 MB / 462.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.02141/0.5758, allocations: 5.183 MB / 0.6232 GB, free: 332 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-05/0.5759, allocations: 4 kB / 0.6232 GB, free: 328 kB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.0144/0.5903, allocations: 3.988 MB / 0.6271 GB, free: 12.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/0.5903, allocations: 12 kB / 0.6271 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.451e-05/0.5903, allocations: 16 kB / 0.6271 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007554/0.5979, allocations: 1.593 MB / 0.6287 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/0.6, allocations: 311.5 kB / 0.629 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04485/0.6448, allocations: 19.86 MB / 0.6484 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/0.6471, allocations: 99.92 kB / 0.6485 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/0.6474, allocations: 84 kB / 0.6486 GB, free: 5.703 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.00151/0.6489, allocations: 0.5423 MB / 0.6491 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/0.6494, allocations: 159.2 kB / 0.6492 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008206/0.6576, allocations: 2.491 MB / 0.6517 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.6576, allocations: 16 kB / 0.6517 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.6576, allocations: 11.88 kB / 0.6517 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/0.6577, allocations: 15.97 kB / 0.6517 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.6711, allocations: 4.096 MB / 0.6557 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.6711, allocations: 0 / 0.6557 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/0.6738, allocations: 339.9 kB / 0.656 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002371/0.6762, allocations: 0.4936 MB / 0.6565 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002504/0.6764, allocations: 51.97 kB / 0.6566 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.6952, allocations: 11.83 MB / 0.6681 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/0.6952, allocations: 4.062 kB / 0.6681 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009519/0.7048, allocations: 3.397 MB / 0.6714 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.7062, allocations: 290.8 kB / 0.6717 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003839/0.7065, allocations: 47.98 kB / 0.6718 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.708, allocations: 75.92 kB / 0.6718 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005124/0.7085, allocations: 132.9 kB / 0.672 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.7087, allocations: 51.92 kB / 0.672 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001555/0.7103, allocations: 0.6572 MB / 0.6727 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7103, allocations: 4 kB / 0.6727 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003386/0.7136, allocations: 0.5898 MB / 0.6732 GB, free: 11.46 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],inverter2.vDC1,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],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006016/0.7142, allocations: 186.2 kB / 0.6734 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009904/0.7241, allocations: 3.387 MB / 0.6767 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.7242, allocations: 4 kB / 0.6767 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004975/0.7291, allocations: 1.826 MB / 0.6785 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.732, allocations: 319.6 kB / 0.6788 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.7464, allocations: 5.36 MB / 0.6841 GB, free: 164 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/0.7489, allocations: 1.058 MB / 0.6851 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002217/0.7511, allocations: 432.8 kB / 0.6855 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006974/0.7518, allocations: 107.4 kB / 0.6856 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of SimCode: time 1.463e-06/0.7518, allocations: 0 / 0.6856 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.08932/0.8411, allocations: 33.13 MB / 0.718 GB, free: 13.73 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.090459305793047] Failed to read output from testmodel.py, exit status != 0: 0.8520707488059998 1.096758567 0.38510262500000003 Calling exit ...