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.001421/0.001421, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00157/0.00157, allocations: 161 kB / 24.56 MB, free: 20 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.09/1.09, allocations: 177.1 MB / 205 MB, free: 5.289 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.2841/0.2841, allocations: 29.41 MB / 290.9 MB, free: 2.441 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.[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.653e-06/1.653e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.2e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.009455/0.009487, allocations: 9.252 MB / 378.9 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008954/0.01844, allocations: 6.033 MB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.01967, allocations: 63.5 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008712/0.02838, allocations: 5.643 MB / 390.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.0313, allocations: 1.096 MB / 391.7 MB, free: 4.852 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.03286, allocations: 0.7131 MB / 392.4 MB, free: 4.137 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.03677, allocations: 3.34 MB / 395.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.0381, allocations: 0.8552 MB / 396.6 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.04004, allocations: 1.403 MB / 398 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.04192, allocations: 1.317 MB / 399.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.04215, allocations: 144 kB / 399.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.04297, allocations: 447.3 kB / 399.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006517/0.04362, allocations: 0.9196 MB / 400.8 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006495/0.04427, allocations: 0.643 MB / 401.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.04618, allocations: 1.682 MB / 403.2 MB, free: 9.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.04619, allocations: 4 kB / 403.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.04619, allocations: 0 / 403.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.04622, allocations: 4 kB / 403.2 MB, free: 9.344 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.00275/0.04897, allocations: 2.15 MB / 405.3 MB, free: 7.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.04902, allocations: 11.98 kB / 405.3 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.05039, allocations: 479.4 kB / 405.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.05201, allocations: 1.137 MB / 406.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.05207, allocations: 98.62 kB / 407 MB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003313/0.0524, allocations: 211.8 kB / 407.2 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.05414, allocations: 1.432 MB / 408.7 MB, free: 3.621 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/0.05417, allocations: 7.953 kB / 408.7 MB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.05426, allocations: 59.92 kB / 408.7 MB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003496/0.05461, allocations: 178.7 kB / 408.9 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.05582, allocations: 0.7384 MB / 409.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007023/0.06284, allocations: 7.226 MB / 416.9 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.06401, allocations: 0.7939 MB / 417.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004235/0.06443, allocations: 304.5 kB / 418 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.462e-05/0.06451, allocations: 21 kB / 418 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.06454, allocations: 58.39 kB / 418 MB, free: 9.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 4.078e-06/0.06455, allocations: 0 / 418 MB, free: 9.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.005203/0.06975, allocations: 2.982 MB / 421 MB, free: 6.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.0698, allocations: 98.36 kB / 421.1 MB, free: 6.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.07056, allocations: 0.8747 MB / 422 MB, free: 5.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.17e-05/0.07064, allocations: 53.7 kB / 422.1 MB, free: 5.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.07106, allocations: 0.8038 MB / 422.9 MB, free: 5.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.07141, allocations: 0.5307 MB / 423.4 MB, free: 4.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003425/0.07175, allocations: 321.1 kB / 423.7 MB, free: 4.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.0719, allocations: 480.7 kB / 424.2 MB, free: 3.676 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004776/0.07238, allocations: 295.8 kB / 424.5 MB, free: 3.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/0.07314, allocations: 0.9182 MB / 425.4 MB, free: 2.219 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.002059/0.0752, allocations: 1.918 MB / 427.3 MB, free: 64 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.07521, allocations: 4 kB / 427.3 MB, free: 60 kB / 394.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003472/0.07868, allocations: 2.287 MB / 429.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.07871, allocations: 8.719 kB / 429.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.07873, allocations: 19.98 kB / 429.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/0.08069, allocations: 1.025 MB / 430.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.08133, allocations: 295.6 kB / 430.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.09137, allocations: 11.56 MB / 442.5 MB, free: 360 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.09218, allocations: 75.95 kB / 442.6 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.09228, allocations: 68 kB / 442.6 MB, free: 216 kB / 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.1724/0.2647, allocations: 266.6 kB / 442.9 MB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003681/0.2651, allocations: 181.1 kB / 443.1 MB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.2669, allocations: 1.114 MB / 444.2 MB, free: 88.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.2669, allocations: 15.53 kB / 444.2 MB, free: 88.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2669, allocations: 3.094 kB / 444.2 MB, free: 88.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2669, allocations: 9.406 kB / 444.2 MB, free: 88.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.2704, allocations: 2.451 MB / 446.7 MB, free: 87.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.2705, allocations: 3.219 kB / 446.7 MB, free: 87.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/0.2713, allocations: 316 kB / 447 MB, free: 87.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/0.2717, allocations: 156.5 kB / 447.1 MB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.2718, allocations: 42.83 kB / 447.2 MB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002556/0.2743, allocations: 7.557 MB / 454.7 MB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2743, allocations: 6.25 kB / 454.7 MB, free: 80.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.2761, allocations: 1.614 MB / 456.3 MB, free: 80.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.2765, allocations: 220.6 kB / 456.6 MB, free: 80.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.2766, allocations: 44.78 kB / 456.6 MB, free: 80.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.277, allocations: 55.66 kB / 456.7 MB, free: 80.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.2772, allocations: 111.6 kB / 456.8 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/0.2772, allocations: 36.34 kB / 456.8 MB, free: 80.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004353/0.2777, allocations: 0.4996 MB / 457.3 MB, free: 79.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2777, allocations: 0 / 457.3 MB, free: 79.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001314/0.279, allocations: 484.5 kB / 457.8 MB, free: 79.87 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.0001774/0.2792, allocations: 156.7 kB / 457.9 MB, free: 79.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002388/0.2815, allocations: 2.234 MB / 460.2 MB, free: 78.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2815, allocations: 0 / 460.2 MB, free: 78.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008553/0.2824, allocations: 1.169 MB / 461.3 MB, free: 78.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/0.2833, allocations: 282.9 kB / 461.6 MB, free: 78.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.2885, allocations: 3.938 MB / 465.5 MB, free: 76.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.2889, allocations: 481 kB / 466 MB, free: 76.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006889/0.2896, allocations: 331.2 kB / 466.3 MB, free: 76.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.2899, allocations: 95.19 kB / 466.4 MB, free: 76.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2899, allocations: 0 / 466.4 MB, free: 76.2 MB / 410.7 MB Notification: Performance of Templates: time 0.03325/0.3231, allocations: 23.39 MB / 489.8 MB, free: 74.05 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: 4.060243071988225]