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.0009654/0.0009654, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001314/0.002279, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008065/0.0008065, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009071/0.001714, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9605/0.9605, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07727/1.038, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.1144/0.1144, allocations: 29.43 MB / 273.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1311/0.2455, allocations: 9.516 MB / 282.9 MB, free: 12.85 MB / 282.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 1.493e-06/1.493e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.24e-05, allocations: 4.969 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.0121/0.01212, allocations: 9.291 MB / 293.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009094/0.02122, allocations: 6.142 MB / 299.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007914/0.02201, allocations: 67.44 kB / 299.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007293/0.0293, allocations: 5.211 MB / 304.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.03127, allocations: 1.138 MB / 306.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.03249, allocations: 0.6975 MB / 306.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00314/0.03563, allocations: 3.31 MB / 310.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.03698, allocations: 0.8126 MB / 310.9 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.0389, allocations: 1.632 MB / 312.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.04027, allocations: 1.204 MB / 313.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.04051, allocations: 140 kB / 313.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007432/0.04125, allocations: 447.3 kB / 314.3 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.04182, allocations: 0.8106 MB / 315.1 MB, free: 15.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.0424, allocations: 0.5146 MB / 315.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001517/0.04391, allocations: 1.538 MB / 317.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.04393, allocations: 0 / 317.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04393, allocations: 0 / 317.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.37e-05/0.04398, allocations: 0 / 317.1 MB, free: 13.74 MB / 314.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.002732/0.04671, allocations: 2.265 MB / 319.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.04675, allocations: 8.031 kB / 319.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.04776, allocations: 457.6 kB / 319.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.04897, allocations: 0.9359 MB / 320.8 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.04902, allocations: 102.6 kB / 320.9 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.04933, allocations: 211.8 kB / 321.1 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.05059, allocations: 1.26 MB / 322.4 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.05063, allocations: 15.88 kB / 322.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.589e-05/0.05071, allocations: 51.98 kB / 322.4 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003104/0.05102, allocations: 182.7 kB / 322.6 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000728/0.05175, allocations: 0.5064 MB / 323.1 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/0.05729, allocations: 5.605 MB / 328.7 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.05813, allocations: 0.6992 MB / 329.4 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.05839, allocations: 219.5 kB / 329.6 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.055e-05/0.05845, allocations: 25 kB / 329.7 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.05849, allocations: 51.55 kB / 329.7 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 3.587e-06/0.05849, allocations: 0 / 329.7 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of matching and sorting (n=138): time 0.003735/0.06222, allocations: 2.215 MB / 331.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.06226, allocations: 98.36 kB / 332 MB, free: 14.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004647/0.06273, allocations: 0.7371 MB / 332.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.06279, allocations: 49.7 kB / 332.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.06305, allocations: 0.6194 MB / 333.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.06332, allocations: 0.5189 MB / 334 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.06358, allocations: 283.4 kB / 334.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.06364, allocations: 305.1 kB / 334.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.06388, allocations: 183.9 kB / 334.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.06429, allocations: 0.6102 MB / 335.3 MB, free: 10.79 MB / 330.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.001214/0.06551, allocations: 1.477 MB / 336.8 MB, free: 9.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.06552, allocations: 4 kB / 336.8 MB, free: 9.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.002722/0.06824, allocations: 1.777 MB / 338.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.06826, allocations: 12 kB / 338.6 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.06828, allocations: 12 kB / 338.6 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.06992, allocations: 0.9506 MB / 339.5 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.07064, allocations: 345.2 kB / 339.9 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007607/0.07825, allocations: 8.77 MB / 348.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.07886, allocations: 55.98 kB / 348.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-05/0.07894, allocations: 52 kB / 348.8 MB, free: 12.77 MB / 346.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.0004214/0.07937, allocations: 229.9 kB / 349 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.07952, allocations: 119.9 kB / 349.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.08053, allocations: 0.8502 MB / 350 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.08054, allocations: 12 kB / 350 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.08055, allocations: 4 kB / 350 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.08056, allocations: 7.969 kB / 350 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.08312, allocations: 1.81 MB / 351.8 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.08313, allocations: 4 kB / 351.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.08417, allocations: 423.6 kB / 352.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.08446, allocations: 179 kB / 352.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.08476, allocations: 174.8 kB / 352.5 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.08483, allocations: 39.98 kB / 352.6 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002673/0.0875, allocations: 5.305 MB / 357.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.0875, allocations: 4 kB / 357.9 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.08902, allocations: 1.26 MB / 359.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.08918, allocations: 47.92 kB / 359.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.08953, allocations: 24 kB / 359.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.08968, allocations: 109 kB / 359.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.08973, allocations: 31.98 kB / 359.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003132/0.09004, allocations: 343.3 kB / 359.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09004, allocations: 0 / 359.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001333/0.09138, allocations: 488 kB / 360.2 MB, free: 0.7305 MB / 346.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.000216/0.09159, allocations: 137.6 kB / 360.3 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.0936, allocations: 1.798 MB / 362.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-05/0.09364, allocations: 22.19 kB / 362.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006967/0.09434, allocations: 0.869 MB / 363 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008897/0.09523, allocations: 423.2 kB / 363.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.1156, allocations: 3.331 MB / 366.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.1161, allocations: 476.2 kB / 367.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006122/0.1167, allocations: 179.3 kB / 367.4 MB, free: 9.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/0.1172, allocations: 309.2 kB / 367.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of SimCode: time 2.224e-06/0.1172, allocations: 4 kB / 367.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of Templates: time 0.03121/0.1484, allocations: 25.33 MB / 393 MB, free: 20 kB / 378.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.188798545859754]