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.0009531/0.0009531, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001175/0.001175, allocations: 165.3 kB / 24.82 MB, free: 8.938 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.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.2588/0.2588, allocations: 29.43 MB / 291.2 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",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.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.131e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.007944/0.007965, allocations: 9.144 MB / 379.3 MB, free: 1.547 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008035/0.016, allocations: 5.965 MB / 385.2 MB, free: 11.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.01721, allocations: 67.44 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008451/0.02566, allocations: 5.896 MB / 391.2 MB, free: 5.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.02901, allocations: 1.107 MB / 392.3 MB, free: 4.473 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.03094, allocations: 0.7014 MB / 393 MB, free: 3.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005112/0.03606, allocations: 3.336 MB / 396.3 MB, free: 436 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.03757, allocations: 0.8474 MB / 397.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/0.04096, allocations: 1.566 MB / 398.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.04309, allocations: 1.231 MB / 400 MB, free: 12.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004631/0.04355, allocations: 136 kB / 400.1 MB, free: 12.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.04472, allocations: 439.3 kB / 400.5 MB, free: 12.19 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008814/0.0456, allocations: 0.904 MB / 401.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.04708, allocations: 0.6314 MB / 402.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.04992, allocations: 1.666 MB / 403.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.04992, allocations: 0 / 403.7 MB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.04992, allocations: 4 kB / 403.7 MB, free: 8.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.232e-05/0.05, allocations: 0 / 403.7 MB, free: 8.973 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.003498/0.05349, allocations: 2.067 MB / 405.8 MB, free: 6.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.05354, allocations: 11.98 kB / 405.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.05503, allocations: 443.4 kB / 406.3 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.05694, allocations: 1.028 MB / 407.3 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/0.05702, allocations: 106.6 kB / 407.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004512/0.05748, allocations: 207.8 kB / 407.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.05972, allocations: 1.303 MB / 408.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.954e-05/0.05977, allocations: 7.938 kB / 408.9 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.05989, allocations: 59.98 kB / 409 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004415/0.06033, allocations: 182.7 kB / 409.1 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.06157, allocations: 0.5804 MB / 409.7 MB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008722/0.07029, allocations: 7.097 MB / 416.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.07151, allocations: 0.7184 MB / 417.5 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.07192, allocations: 250.3 kB / 417.8 MB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-05/0.072, allocations: 28.98 kB / 417.8 MB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.07204, allocations: 46.39 kB / 417.9 MB, free: 10.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 4.739e-06/0.07205, allocations: 0 / 417.9 MB, free: 10.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.005336/0.07738, allocations: 2.345 MB / 420.2 MB, free: 7.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.07744, allocations: 90.55 kB / 420.3 MB, free: 7.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009424/0.07838, allocations: 0.8776 MB / 421.2 MB, free: 6.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.829e-05/0.07847, allocations: 49.7 kB / 421.2 MB, free: 6.859 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.07899, allocations: 0.8076 MB / 422 MB, free: 6.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004265/0.07941, allocations: 0.5423 MB / 422.6 MB, free: 5.492 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.07984, allocations: 329 kB / 422.9 MB, free: 5.164 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003926/0.08023, allocations: 484.6 kB / 423.4 MB, free: 4.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.08063, allocations: 207.8 kB / 423.6 MB, free: 4.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007371/0.08137, allocations: 0.8249 MB / 424.4 MB, free: 3.418 MB / 394.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.00208/0.08345, allocations: 1.685 MB / 426.1 MB, free: 1.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.08346, allocations: 4 kB / 426.1 MB, free: 1.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.003726/0.08719, allocations: 2.057 MB / 428.1 MB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.08723, allocations: 12 kB / 428.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.08725, allocations: 12 kB / 428.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.08972, allocations: 0.9812 MB / 429.1 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.09062, allocations: 287.5 kB / 429.4 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009806/0.1004, allocations: 11.16 MB / 440.6 MB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008804/0.1013, allocations: 55.89 kB / 440.6 MB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.1014, allocations: 63.97 kB / 440.7 MB, free: 2.379 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: 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.0005072/0.1019, allocations: 259.6 kB / 440.9 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.1021, allocations: 183.1 kB / 441.1 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1034, allocations: 1.009 MB / 442.1 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.1034, allocations: 16 kB / 442.2 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1034, allocations: 8 kB / 442.2 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.1034, allocations: 7.969 kB / 442.2 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1576/0.261, allocations: 2.069 MB / 444.2 MB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.261, allocations: 5.875 kB / 444.2 MB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.2618, allocations: 299 kB / 444.5 MB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002985/0.2621, allocations: 148.3 kB / 444.7 MB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.46e-05/0.2622, allocations: 45.05 kB / 444.7 MB, free: 88.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.2647, allocations: 7.424 MB / 452.1 MB, free: 81.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2647, allocations: 6.625 kB / 452.2 MB, free: 81.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.2663, allocations: 1.482 MB / 453.6 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.2666, allocations: 200.6 kB / 453.8 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/0.2667, allocations: 47.48 kB / 453.9 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.267, allocations: 29.69 kB / 453.9 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.2672, allocations: 111.5 kB / 454 MB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.2672, allocations: 26.34 kB / 454 MB, free: 80.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.2675, allocations: 481.4 kB / 454.5 MB, free: 80.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2675, allocations: 2.125 kB / 454.5 MB, free: 80.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001245/0.2688, allocations: 483.4 kB / 455 MB, free: 80.51 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.0001733/0.269, allocations: 153.8 kB / 455.1 MB, free: 80.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.2707, allocations: 2.086 MB / 457.2 MB, free: 79.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2707, allocations: 3.594 kB / 457.2 MB, free: 79.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.2713, allocations: 1.124 MB / 458.4 MB, free: 78.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.2721, allocations: 287.4 kB / 458.6 MB, free: 78.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.2762, allocations: 3.868 MB / 462.5 MB, free: 77.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.2766, allocations: 469.8 kB / 463 MB, free: 76.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.277, allocations: 174.5 kB / 463.1 MB, free: 76.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003075/0.2801, allocations: 350.1 kB / 463.5 MB, free: 76.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.774e-06/0.2801, allocations: 0 / 463.5 MB, free: 76.8 MB / 410.7 MB Notification: Performance of Templates: time 0.04034/0.3204, allocations: 24.51 MB / 488 MB, free: 74.69 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.78876147698611]