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.001073/0.001073, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00114/0.00114, allocations: 169 kB / 24.91 MB, free: 8.723 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 0.9849/0.9849, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1171/0.1171, allocations: 29.43 MB / 291.2 MB, free: 2.688 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 1.763e-06/1.763e-06, allocations: 0 / 316.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.113e-05, allocations: 6.25 kB / 316.8 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.007962/0.007983, allocations: 9.168 MB / 326 MB, free: 15.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008385/0.01637, allocations: 6.105 MB / 332.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006818/0.01705, allocations: 67.44 kB / 332.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008262/0.02531, allocations: 5.573 MB / 337.7 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.02769, allocations: 1.103 MB / 338.8 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.02917, allocations: 0.7209 MB / 339.6 MB, free: 2.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.1738/0.203, allocations: 3.324 MB / 342.9 MB, free: 24.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001989/0.205, allocations: 0.8953 MB / 343.8 MB, free: 24.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.2077, allocations: 1.547 MB / 345.3 MB, free: 24.38 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.2098, allocations: 1.168 MB / 346.5 MB, free: 24.28 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003658/0.2101, allocations: 136.7 kB / 346.6 MB, free: 24.28 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009884/0.2111, allocations: 438.7 kB / 347.1 MB, free: 24.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007219/0.2118, allocations: 0.902 MB / 348 MB, free: 24.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.2129, allocations: 0.6311 MB / 348.6 MB, free: 24.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.2151, allocations: 1.661 MB / 350.3 MB, free: 23.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2151, allocations: 3.797 kB / 350.3 MB, free: 23.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2151, allocations: 1.062 kB / 350.3 MB, free: 23.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.236e-05/0.2151, allocations: 0 / 350.3 MB, free: 23.95 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.002962/0.2181, allocations: 1.877 MB / 352.1 MB, free: 23.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2181, allocations: 9.312 kB / 352.1 MB, free: 23.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.2194, allocations: 383.5 kB / 352.5 MB, free: 23.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.2209, allocations: 0.9389 MB / 353.5 MB, free: 22.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.2209, allocations: 95.72 kB / 353.6 MB, free: 22.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004021/0.2213, allocations: 221.4 kB / 353.8 MB, free: 22.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.2229, allocations: 1.253 MB / 355 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.2229, allocations: 9.172 kB / 355 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.2231, allocations: 57.83 kB / 355.1 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003918/0.2235, allocations: 179.3 kB / 355.3 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009548/0.2244, allocations: 0.553 MB / 355.8 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005673/0.2301, allocations: 5.585 MB / 361.4 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/0.231, allocations: 0.6961 MB / 362.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.2312, allocations: 221.7 kB / 362.3 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.998e-05/0.2313, allocations: 28.98 kB / 362.3 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2313, allocations: 51.5 kB / 362.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=127): time 2.936e-06/0.2313, allocations: 0 / 362.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=138): time 0.004022/0.2354, allocations: 2.205 MB / 364.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2354, allocations: 102.1 kB / 364.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004795/0.2359, allocations: 0.7466 MB / 365.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.829e-05/0.2359, allocations: 49.7 kB / 365.5 MB, free: 15.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.2362, allocations: 0.6129 MB / 366.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.2364, allocations: 0.5248 MB / 366.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.2368, allocations: 278 kB / 366.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 2.831e-05/0.2368, allocations: 311.8 kB / 367.2 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.2371, allocations: 179.9 kB / 367.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.2375, allocations: 0.6103 MB / 368 MB, free: 12.63 MB / 314.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.0014/0.2389, allocations: 1.469 MB / 369.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.2389, allocations: 4 kB / 369.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.003053/0.242, allocations: 1.77 MB / 371.2 MB, free: 9.477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.242, allocations: 15.98 kB / 371.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.242, allocations: 12 kB / 371.3 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.244, allocations: 0.9738 MB / 372.2 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/0.2447, allocations: 285.6 kB / 372.5 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007729/0.2524, allocations: 8.714 MB / 381.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.2535, allocations: 47.95 kB / 381.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.2537, allocations: 52 kB / 381.3 MB, free: 15.25 MB / 330.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.0005551/0.2542, allocations: 224.4 kB / 381.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.2544, allocations: 123.9 kB / 381.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.256, allocations: 0.8468 MB / 382.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.256, allocations: 16 kB / 382.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.256, allocations: 7.938 kB / 382.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.256, allocations: 11.97 kB / 382.5 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.2587, allocations: 1.801 MB / 384.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.2587, allocations: 4 kB / 384.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/0.2594, allocations: 294.4 kB / 384.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003273/0.2598, allocations: 172.4 kB / 384.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.642e-05/0.2599, allocations: 47.98 kB / 384.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/0.2631, allocations: 5.295 MB / 390.1 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.2631, allocations: 7.938 kB / 390.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.2646, allocations: 1.255 MB / 391.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.2649, allocations: 179 kB / 391.6 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.265, allocations: 43.98 kB / 391.6 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.2653, allocations: 32 kB / 391.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.2654, allocations: 108.5 kB / 391.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.2655, allocations: 27.98 kB / 391.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.2657, allocations: 342.5 kB / 392.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2657, allocations: 4 kB / 392.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001349/0.2671, allocations: 486.5 kB / 392.6 MB, free: 3.727 MB / 330.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.0001917/0.2673, allocations: 134.6 kB / 392.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001962/0.2692, allocations: 1.795 MB / 394.5 MB, free: 1.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-05/0.2693, allocations: 12.5 kB / 394.5 MB, free: 1.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007118/0.27, allocations: 0.8717 MB / 395.4 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.2708, allocations: 312.6 kB / 395.7 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.2753, allocations: 3.322 MB / 399 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.2757, allocations: 476.1 kB / 399.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004531/0.2762, allocations: 179.2 kB / 399.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.2766, allocations: 309.1 kB / 400 MB, free: 12.35 MB / 346.7 MB Notification: Performance of SimCode: time 1.123e-06/0.2766, allocations: 0 / 400 MB, free: 12.35 MB / 346.7 MB Notification: Performance of Templates: time 0.0281/0.3047, allocations: 24.42 MB / 424.4 MB, free: 4.371 MB / 362.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.5489742029458284]