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.001577/0.001577, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001597/0.001597, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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.474/1.474, allocations: 177.2 MB / 204.6 MB, free: 5.57 MB / 186.7 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.3082/0.3082, allocations: 29.41 MB / 290.5 MB, free: 2.43 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.383e-05, allocations: 6.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01883/0.01887, allocations: 9.864 MB / 378.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01212/0.03099, allocations: 5.736 MB / 384.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001308/0.0323, allocations: 63.5 kB / 384.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01702/0.04932, allocations: 6.13 MB / 390.7 MB, free: 5.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004879/0.0542, allocations: 1.123 MB / 391.8 MB, free: 4.301 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003302/0.0575, allocations: 0.6974 MB / 392.5 MB, free: 3.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007949/0.06545, allocations: 3.344 MB / 395.8 MB, free: 256 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.06768, allocations: 0.8413 MB / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/0.07091, allocations: 1.433 MB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.07366, allocations: 1.317 MB / 399.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005927/0.07426, allocations: 144 kB / 399.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.07566, allocations: 447.3 kB / 400 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.07703, allocations: 0.9078 MB / 400.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.07854, allocations: 0.643 MB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.08265, allocations: 2.321 MB / 403.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.08265, allocations: 0 / 403.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08265, allocations: 0 / 403.9 MB, free: 8.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.08276, allocations: 0 / 403.9 MB, free: 8.168 MB / 378.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.004944/0.0877, allocations: 2.025 MB / 405.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.08774, allocations: 11.98 kB / 405.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.08972, allocations: 475.4 kB / 406.4 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.09247, allocations: 1.193 MB / 407.6 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.09258, allocations: 98.62 kB / 407.7 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005391/0.09312, allocations: 227.8 kB / 407.9 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/0.09678, allocations: 2.115 MB / 410 MB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.09682, allocations: 11.89 kB / 410 MB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.09698, allocations: 59.98 kB / 410.1 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007126/0.0977, allocations: 182.7 kB / 410.3 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.1018, allocations: 1.693 MB / 411.9 MB, free: 15.91 MB / 394.7 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.01198/0.1138, allocations: 6.968 MB / 418.9 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/0.1163, allocations: 1.254 MB / 420.2 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.1174, allocations: 0.6098 MB / 420.8 MB, free: 6.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-05/0.1175, allocations: 24.98 kB / 420.8 MB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.1176, allocations: 51.5 kB / 420.9 MB, free: 6.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 3.587e-06/0.1176, allocations: 0 / 420.9 MB, free: 6.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.01018/0.1278, allocations: 4.552 MB / 425.4 MB, free: 2.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.1279, allocations: 98.45 kB / 425.5 MB, free: 2.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.1292, allocations: 0.8802 MB / 426.4 MB, free: 1.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.1293, allocations: 49.7 kB / 426.4 MB, free: 1.062 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006918/0.13, allocations: 0.7348 MB / 427.2 MB, free: 324 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000586/0.1306, allocations: 0.5231 MB / 427.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005475/0.1311, allocations: 295.5 kB / 428 MB, free: 15.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1313, allocations: 309 kB / 428.3 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.1326, allocations: 0.7066 MB / 429 MB, free: 14.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.1344, allocations: 1.151 MB / 430.1 MB, free: 13.15 MB / 410.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.01123/0.1456, allocations: 4.082 MB / 434.2 MB, free: 8.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.1457, allocations: 4 kB / 434.2 MB, free: 8.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007653/0.1533, allocations: 3.307 MB / 437.5 MB, free: 5.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.1533, allocations: 16.08 kB / 437.5 MB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.211e-05/0.1534, allocations: 16 kB / 437.6 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004107/0.1575, allocations: 1.35 MB / 438.9 MB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.1587, allocations: 295.5 kB / 439.2 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1743/0.333, allocations: 14.49 MB / 453.7 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.3343, allocations: 78.77 kB / 453.8 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/0.3344, allocations: 72.7 kB / 453.8 MB, free: 102.2 MB / 410.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: 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.0008983/0.3353, allocations: 0.4953 MB / 454.3 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/0.3356, allocations: 173.1 kB / 454.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/0.3385, allocations: 1.785 MB / 456.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3385, allocations: 13.03 kB / 456.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3385, allocations: 3.281 kB / 456.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3385, allocations: 6.516 kB / 456.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/0.3437, allocations: 3.125 MB / 459.4 MB, free: 99.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.3437, allocations: 9.875 kB / 459.4 MB, free: 99.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.3453, allocations: 330.8 kB / 459.8 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005508/0.3458, allocations: 201 kB / 460 MB, free: 99.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.3459, allocations: 52.42 kB / 460 MB, free: 99.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/0.3497, allocations: 6.157 MB / 466.2 MB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3497, allocations: 10.47 kB / 466.2 MB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/0.3532, allocations: 2.522 MB / 468.7 MB, free: 93.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.3538, allocations: 238.8 kB / 468.9 MB, free: 93.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.3539, allocations: 42.84 kB / 469 MB, free: 93.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006806/0.3546, allocations: 64.41 kB / 469 MB, free: 93.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.3548, allocations: 107.4 kB / 469.1 MB, free: 93.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.077e-05/0.3549, allocations: 44.06 kB / 469.2 MB, free: 93.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006356/0.3556, allocations: 0.5674 MB / 469.8 MB, free: 93.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3556, allocations: 0 / 469.8 MB, free: 93.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001668/0.3572, allocations: 483.3 kB / 470.2 MB, free: 92.96 MB / 410.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.000194/0.3574, allocations: 161.2 kB / 470.4 MB, free: 92.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003769/0.3612, allocations: 2.628 MB / 473 MB, free: 91.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3612, allocations: 3.906 kB / 473 MB, free: 91.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.3626, allocations: 1.196 MB / 474.2 MB, free: 90.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3639, allocations: 304.6 kB / 474.5 MB, free: 90.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/0.3695, allocations: 4.445 MB / 479 MB, free: 88.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009004/0.3704, allocations: 0.933 MB / 479.9 MB, free: 88.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001002/0.3714, allocations: 390.7 kB / 480.3 MB, free: 88.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.3717, allocations: 94.88 kB / 480.4 MB, free: 88.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3717, allocations: 0 / 480.4 MB, free: 88.32 MB / 410.7 MB Notification: Performance of Templates: time 0.03741/0.4091, allocations: 23.29 MB / 0.4919 GB, free: 78.77 MB / 410.7 MB " [Timeout remaining time 660] 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: 5.755790557013825]