Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.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.001434/0.001434, allocations: 83.28 kB / 20.49 MB, free: 1.387 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.001449/0.001449, allocations: 159.4 kB / 23.74 MB, free: 4.578 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.469/1.469, allocations: 177.2 MB / 204.1 MB, free: 9.289 MB / 190.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.1805/0.1805, allocations: 29.44 MB / 289.9 MB, free: 3.406 MB / 270.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_IG,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_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,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_IG") [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.002052/0.002052, allocations: 66.25 kB / 430.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 62.45 MB / 492.9 MB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01092/0.3336, allocations: 7.647 MB / 0.4888 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009701/0.3433, allocations: 5.036 MB / 0.4937 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007451/0.344, allocations: 43.62 kB / 0.4938 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01369/0.3577, allocations: 5.77 MB / 0.4994 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003386/0.3611, allocations: 0.8519 MB / 0.5002 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.3631, allocations: 0.5029 MB / 0.5007 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005816/0.369, allocations: 2.628 MB / 0.5033 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.3702, allocations: 0.5439 MB / 0.5038 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.3725, allocations: 1.044 MB / 0.5048 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00241/0.3749, allocations: 1.082 MB / 0.5059 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.3752, allocations: 104 kB / 0.506 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.3763, allocations: 391.5 kB / 0.5064 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009762/0.3773, allocations: 0.6662 MB / 0.507 GB, free: 7.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.3783, allocations: 0.5755 MB / 0.5076 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.3808, allocations: 1.751 MB / 0.5093 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3808, allocations: 0 / 0.5093 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3808, allocations: 4 kB / 0.5093 GB, free: 5.227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.054e-05/0.3809, allocations: 4 kB / 0.5093 GB, free: 5.223 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004447/0.3853, allocations: 1.554 MB / 0.5108 GB, free: 3.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.3854, allocations: 15.98 kB / 0.5108 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.3873, allocations: 279.8 kB / 0.5111 GB, free: 3.348 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00314/0.3905, allocations: 0.8699 MB / 0.5119 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.512e-05/0.3906, allocations: 69.98 kB / 0.512 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007104/0.3913, allocations: 191.8 kB / 0.5122 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.395, allocations: 1.56 MB / 0.5137 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.3951, allocations: 3.938 kB / 0.5137 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.3952, allocations: 43.98 kB / 0.5138 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008299/0.3961, allocations: 149.9 kB / 0.5139 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.3992, allocations: 1.245 MB / 0.5151 GB, free: 15.1 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.01271/0.4119, allocations: 5.5 MB / 0.5205 GB, free: 9.359 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.4143, allocations: 0.8676 MB / 0.5213 GB, free: 8.469 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.4155, allocations: 496.5 kB / 0.5218 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.4156, allocations: 12.98 kB / 0.5218 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.4157, allocations: 47.5 kB / 0.5219 GB, free: 7.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=91): time 5.069e-06/0.4157, allocations: 3.938 kB / 0.5219 GB, free: 7.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.007704/0.4234, allocations: 3.253 MB / 0.525 GB, free: 4.629 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.4235, allocations: 86.11 kB / 0.5251 GB, free: 4.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.4246, allocations: 0.7191 MB / 0.5258 GB, free: 3.797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.57e-05/0.4247, allocations: 45.7 kB / 0.5259 GB, free: 3.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005101/0.4252, allocations: 0.5667 MB / 0.5264 GB, free: 3.172 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.4256, allocations: 384.7 kB / 0.5268 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/0.426, allocations: 234.9 kB / 0.527 GB, free: 2.559 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.4262, allocations: 414.8 kB / 0.5274 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009797/0.4272, allocations: 0.5647 MB / 0.528 GB, free: 1.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.4285, allocations: 0.8892 MB / 0.5288 GB, free: 0.5586 MB / 430.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.00892/0.4374, allocations: 3.224 MB / 0.532 GB, free: 13.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.4375, allocations: 4 kB / 0.532 GB, free: 13.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006344/0.4438, allocations: 2.702 MB / 0.5346 GB, free: 10.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.4438, allocations: 8 kB / 0.5346 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.4439, allocations: 15.94 kB / 0.5346 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/0.447, allocations: 1.137 MB / 0.5358 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008998/0.4479, allocations: 207.6 kB / 0.536 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.4679, allocations: 11.86 MB / 0.5475 GB, free: 13.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.469, allocations: 63.91 kB / 0.5476 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/0.4691, allocations: 55.94 kB / 0.5476 GB, free: 12.94 MB / 462.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0008421/0.47, allocations: 405.4 kB / 0.548 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.4702, allocations: 99.39 kB / 0.5481 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.4727, allocations: 1.249 MB / 0.5493 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.4727, allocations: 15.94 kB / 0.5494 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.4727, allocations: 3.984 kB / 0.5494 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4727, allocations: 3.984 kB / 0.5494 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004621/0.4774, allocations: 2.244 MB / 0.5516 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4774, allocations: 4.219 kB / 0.5516 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.4789, allocations: 275.7 kB / 0.5518 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.4791, allocations: 49.67 kB / 0.5519 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/0.4792, allocations: 43.97 kB / 0.5519 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.4816, allocations: 2.579 MB / 0.5544 GB, free: 5.684 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4816, allocations: 4.312 kB / 0.5544 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.4847, allocations: 1.743 MB / 0.5561 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.4852, allocations: 183.2 kB / 0.5563 GB, free: 3.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.4853, allocations: 39.92 kB / 0.5564 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.4859, allocations: 47.91 kB / 0.5564 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.4861, allocations: 64.88 kB / 0.5565 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.4862, allocations: 31.98 kB / 0.5565 GB, free: 3.527 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000682/0.4869, allocations: 479 kB / 0.5569 GB, free: 3.062 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4869, allocations: 0 / 0.5569 GB, free: 3.062 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001449/0.4883, allocations: 376 kB / 0.5573 GB, free: 2.695 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,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.0002232/0.4885, allocations: 143 kB / 0.5574 GB, free: 2.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00434/0.4929, allocations: 2.043 MB / 0.5594 GB, free: 492 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/0.4929, allocations: 8.062 kB / 0.5594 GB, free: 484 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.4942, allocations: 0.7331 MB / 0.5602 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.4953, allocations: 207.2 kB / 0.5604 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/0.5025, allocations: 4.058 MB / 0.5643 GB, free: 11.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009375/0.5034, allocations: 0.7132 MB / 0.565 GB, free: 10.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000976/0.5044, allocations: 319.8 kB / 0.5653 GB, free: 10.33 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.5047, allocations: 68.5 kB / 0.5654 GB, free: 10.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.613e-06/0.5047, allocations: 4 kB / 0.5654 GB, free: 10.26 MB / 478.1 MB Notification: Performance of Templates: time 0.03521/0.5399, allocations: 18.1 MB / 0.5831 GB, free: 8.367 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.749303920194507] Failed to read output from testmodel.py, exit status != 0: 0.5499999355524778 0.5648785 0.18064281099999996 Calling exit ...