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.0008944/0.0008944, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009407/0.0009407, allocations: 168.8 kB / 24.91 MB, free: 9.191 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.249/0.249, allocations: 29.41 MB / 291.2 MB, free: 2.406 MB / 266.7 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: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.524e-05, allocations: 3.188 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.007391/0.007406, allocations: 9.218 MB / 326.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007409/0.01482, allocations: 6.095 MB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000505/0.01532, allocations: 63.5 kB / 332.2 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00657/0.02189, allocations: 5.499 MB / 337.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.0234, allocations: 1.096 MB / 338.8 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.02462, allocations: 0.7052 MB / 339.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.02689, allocations: 3.328 MB / 342.9 MB, free: 5.871 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007259/0.02761, allocations: 0.902 MB / 343.8 MB, free: 4.938 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.02881, allocations: 1.551 MB / 345.3 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.02981, allocations: 1.165 MB / 346.5 MB, free: 2.215 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.02995, allocations: 136 kB / 346.6 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.03051, allocations: 451.3 kB / 347.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.03104, allocations: 0.904 MB / 348 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.03149, allocations: 0.6274 MB / 348.6 MB, free: 108 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.03283, allocations: 1.662 MB / 350.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.03283, allocations: 8 kB / 350.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.03283, allocations: 0 / 350.3 MB, free: 14.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.03285, allocations: 0 / 350.3 MB, free: 14.43 MB / 330.7 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.001917/0.03476, allocations: 1.875 MB / 352.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.0348, allocations: 11.98 kB / 352.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.03575, allocations: 376.4 kB / 352.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.03683, allocations: 0.9476 MB / 353.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.03689, allocations: 98.62 kB / 353.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.03718, allocations: 215.8 kB / 353.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.03837, allocations: 1.264 MB / 355 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.0384, allocations: 4 kB / 355 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.913e-05/0.03849, allocations: 55.98 kB / 355.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003078/0.0388, allocations: 178.7 kB / 355.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.03951, allocations: 0.561 MB / 355.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00483/0.04434, allocations: 5.581 MB / 361.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008064/0.04515, allocations: 0.7016 MB / 362.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.04541, allocations: 220.6 kB / 362.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.579e-05/0.04546, allocations: 21 kB / 362.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.04549, allocations: 47.56 kB / 362.4 MB, free: 1.812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 3.236e-06/0.0455, allocations: 7.984 kB / 362.4 MB, free: 1.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=138): time 0.003314/0.04881, allocations: 2.204 MB / 364.6 MB, free: 15.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.04885, allocations: 90.42 kB / 364.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.04931, allocations: 0.741 MB / 365.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/0.04937, allocations: 45.7 kB / 365.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.04963, allocations: 0.6233 MB / 366.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.0499, allocations: 0.5267 MB / 366.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.05017, allocations: 279.4 kB / 366.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.05024, allocations: 305.1 kB / 367.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.05049, allocations: 179.9 kB / 367.4 MB, free: 12.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.05095, allocations: 0.614 MB / 368 MB, free: 11.93 MB / 346.7 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.001331/0.05228, allocations: 1.48 MB / 369.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.05229, allocations: 4 kB / 369.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.002559/0.05485, allocations: 1.774 MB / 371.2 MB, free: 8.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.05487, allocations: 12 kB / 371.3 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.05488, allocations: 12 kB / 371.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001648/0.05653, allocations: 0.9532 MB / 372.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/0.05722, allocations: 323.4 kB / 372.5 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00792/0.06514, allocations: 8.769 MB / 381.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.06568, allocations: 44 kB / 381.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.06577, allocations: 56 kB / 381.4 MB, free: 13.95 MB / 362.7 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: 58 * Number of states: 0 () * 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 initialization (144): * Single equations (assignments): 140 * 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.0004063/0.06618, allocations: 228.1 kB / 381.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.06632, allocations: 115.9 kB / 381.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.06742, allocations: 0.8618 MB / 382.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.06742, allocations: 16 kB / 382.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.06743, allocations: 4 kB / 382.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.06744, allocations: 11.97 kB / 382.6 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.0697, allocations: 1.794 MB / 384.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.06971, allocations: 4.047 kB / 384.4 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.07072, allocations: 410.8 kB / 384.8 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/0.07099, allocations: 162.9 kB / 385 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.07106, allocations: 43.92 kB / 385 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002366/0.07343, allocations: 5.305 MB / 390.3 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.07343, allocations: 8 kB / 390.3 MB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.07469, allocations: 1.253 MB / 391.6 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/0.07492, allocations: 175 kB / 391.8 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/0.07502, allocations: 51.92 kB / 391.8 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.07529, allocations: 28 kB / 391.9 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.07543, allocations: 105 kB / 392 MB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.07548, allocations: 35.98 kB / 392 MB, free: 2.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.07571, allocations: 343.3 kB / 392.3 MB, free: 2.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07571, allocations: 3.938 kB / 392.3 MB, free: 2.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009584/0.07667, allocations: 484 kB / 392.8 MB, free: 1.922 MB / 362.7 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.0001541/0.07683, allocations: 136.1 kB / 392.9 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.07858, allocations: 1.8 MB / 394.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/0.07859, allocations: 12.5 kB / 394.7 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006794/0.07927, allocations: 0.869 MB / 395.6 MB, free: 15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.07997, allocations: 293.8 kB / 395.9 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003745/0.08372, allocations: 3.34 MB / 399.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.08406, allocations: 468.2 kB / 399.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003953/0.08445, allocations: 175.3 kB / 399.9 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.08497, allocations: 313.2 kB / 400.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.08497, allocations: 0 / 400.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of Templates: time 0.0269/0.1119, allocations: 24.69 MB / 424.9 MB, free: 1.992 MB / 394.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.294805289246142]