Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001931/0.001931, allocations: 84.06 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.002138/0.002138, allocations: 158.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.492/1.492, allocations: 177.2 MB / 204.1 MB, free: 9.332 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.1783/0.1783, allocations: 29.43 MB / 289.9 MB, free: 3.441 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_DFIG,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_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,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_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.002193/0.002193, allocations: 67.91 kB / 430.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.295, allocations: 62.44 MB / 492.9 MB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01346/0.3085, allocations: 9.882 MB / 0.491 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0115/0.32, allocations: 5.747 MB / 0.4966 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009136/0.3209, allocations: 67.44 kB / 0.4966 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01462/0.3355, allocations: 6.045 MB / 0.5025 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.3393, allocations: 1.089 MB / 0.5036 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002315/0.3416, allocations: 0.6628 MB / 0.5043 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005347/0.347, allocations: 3.314 MB / 0.5075 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.3484, allocations: 0.8474 MB / 0.5083 GB, free: 6.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3509, allocations: 1.46 MB / 0.5097 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.3531, allocations: 1.398 MB / 0.5111 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.3533, allocations: 144 kB / 0.5113 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008878/0.3542, allocations: 439.5 kB / 0.5117 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008754/0.3551, allocations: 0.8648 MB / 0.5125 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009074/0.356, allocations: 0.7699 MB / 0.5133 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.3586, allocations: 2.308 MB / 0.5155 GB, free: 14.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3586, allocations: 0 / 0.5155 GB, free: 14.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3586, allocations: 0 / 0.5155 GB, free: 14.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.3586, allocations: 4 kB / 0.5155 GB, free: 14.87 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00412/0.3628, allocations: 2.045 MB / 0.5175 GB, free: 12.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3628, allocations: 11.98 kB / 0.5175 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.3645, allocations: 335.5 kB / 0.5179 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.367, allocations: 1.127 MB / 0.519 GB, free: 11.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.3672, allocations: 106.6 kB / 0.5191 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005306/0.3677, allocations: 219.9 kB / 0.5193 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/0.3711, allocations: 2.111 MB / 0.5213 GB, free: 8.734 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.085e-05/0.3711, allocations: 11.95 kB / 0.5213 GB, free: 8.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.3713, allocations: 59.98 kB / 0.5214 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006442/0.3719, allocations: 182.6 kB / 0.5216 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.3749, allocations: 1.701 MB / 0.5232 GB, free: 6.777 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.01111/0.386, allocations: 6.95 MB / 0.53 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.3883, allocations: 1.249 MB / 0.5312 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.3894, allocations: 0.6137 MB / 0.5318 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.549e-05/0.3895, allocations: 17 kB / 0.5319 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.3895, allocations: 47.56 kB / 0.5319 GB, free: 13.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.246e-06/0.3895, allocations: 0 / 0.5319 GB, free: 13.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=138): time 0.009906/0.3994, allocations: 4.522 MB / 0.5363 GB, free: 9.078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.3995, allocations: 98.36 kB / 0.5364 GB, free: 8.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.4007, allocations: 0.8802 MB / 0.5373 GB, free: 8.062 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.214e-05/0.4008, allocations: 45.7 kB / 0.5373 GB, free: 8.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006347/0.4014, allocations: 0.7503 MB / 0.538 GB, free: 7.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005363/0.402, allocations: 0.519 MB / 0.5386 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004865/0.4024, allocations: 307.5 kB / 0.5388 GB, free: 6.418 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4026, allocations: 305.1 kB / 0.5391 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.4039, allocations: 0.7027 MB / 0.5398 GB, free: 5.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/0.4056, allocations: 1.155 MB / 0.5409 GB, free: 4.066 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.4159, allocations: 4.074 MB / 0.5449 GB, free: 15.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.416, allocations: 4 kB / 0.5449 GB, free: 15.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007021/0.423, allocations: 3.233 MB / 0.5481 GB, free: 12.56 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.423, allocations: 16.12 kB / 0.5481 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.423, allocations: 15.94 kB / 0.5481 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/0.4261, allocations: 1.181 MB / 0.5493 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.4274, allocations: 291.5 kB / 0.5496 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.4486, allocations: 14.43 MB / 0.5636 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.4498, allocations: 75.94 kB / 0.5637 GB, free: 12.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/0.45, allocations: 68 kB / 0.5638 GB, free: 12.08 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.0009989/0.451, allocations: 0.4933 MB / 0.5643 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.4513, allocations: 139 kB / 0.5644 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003548/0.4548, allocations: 1.787 MB / 0.5661 GB, free: 9.629 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.4548, allocations: 12 kB / 0.5661 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.4549, allocations: 7.938 kB / 0.5662 GB, free: 9.609 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4549, allocations: 3.984 kB / 0.5662 GB, free: 9.605 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006507/0.4614, allocations: 3.127 MB / 0.5692 GB, free: 6.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4614, allocations: 8.062 kB / 0.5692 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.4631, allocations: 319.6 kB / 0.5695 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000524/0.4636, allocations: 195.2 kB / 0.5697 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.4638, allocations: 47.98 kB / 0.5698 GB, free: 5.816 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006005/0.4698, allocations: 6.152 MB / 0.5758 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4698, allocations: 7.938 kB / 0.5758 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/0.4743, allocations: 2.484 MB / 0.5782 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000872/0.4752, allocations: 238.9 kB / 0.5784 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/0.4755, allocations: 43.98 kB / 0.5785 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/0.4765, allocations: 59.94 kB / 0.5785 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.4768, allocations: 105 kB / 0.5786 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.4769, allocations: 36 kB / 0.5787 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.478, allocations: 0.5757 MB / 0.5792 GB, free: 11.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.478, allocations: 4 kB / 0.5792 GB, free: 11.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002105/0.4801, allocations: 480 kB / 0.5797 GB, free: 11.16 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.0002708/0.4804, allocations: 155 kB / 0.5798 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005344/0.4857, allocations: 2.622 MB / 0.5824 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.4857, allocations: 3.938 kB / 0.5824 GB, free: 8.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00235/0.4881, allocations: 1.202 MB / 0.5836 GB, free: 7.066 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.4897, allocations: 295.8 kB / 0.5839 GB, free: 6.781 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/0.4983, allocations: 4.931 MB / 0.5887 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.4998, allocations: 0.9391 MB / 0.5896 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001421/0.5012, allocations: 391.1 kB / 0.59 GB, free: 416 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/0.5016, allocations: 96.48 kB / 0.5901 GB, free: 320 kB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/0.5016, allocations: 0 / 0.5901 GB, free: 320 kB / 494.1 MB Notification: Performance of Templates: time 0.04429/0.5459, allocations: 23.26 MB / 0.6128 GB, free: 9.348 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.0241387486457825] Failed to read output from testmodel.py, exit status != 0: 0.5564112439751625 0.5723085569999999 0.21020528000000002 Calling exit ...