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.001484/0.001484, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002039/0.002039, allocations: 161.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.503/1.503, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3176/0.3176, allocations: 29.41 MB / 290.5 MB, free: 2.426 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.573e-06/1.573e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.661e-05/2.818e-05, allocations: 6.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01425/0.01428, allocations: 9.861 MB / 378.7 MB, free: 1.406 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.02602, allocations: 5.736 MB / 384.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.02691, allocations: 63.5 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.014/0.04091, allocations: 6.126 MB / 390.7 MB, free: 5.445 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.04394, allocations: 1.123 MB / 391.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.04584, allocations: 0.7052 MB / 392.5 MB, free: 3.609 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005333/0.05118, allocations: 3.336 MB / 395.8 MB, free: 272 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.05269, allocations: 0.8475 MB / 396.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/0.05499, allocations: 1.426 MB / 398.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003018/0.05801, allocations: 1.313 MB / 399.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004674/0.05848, allocations: 144 kB / 399.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.05997, allocations: 451.3 kB / 400 MB, free: 12.06 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.06106, allocations: 0.9078 MB / 400.9 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.06211, allocations: 0.643 MB / 401.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.06564, allocations: 2.325 MB / 403.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.06565, allocations: 0 / 403.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.06565, allocations: 0 / 403.9 MB, free: 8.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.366e-05/0.06569, allocations: 0 / 403.9 MB, free: 8.176 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.00456/0.07025, allocations: 2.025 MB / 405.9 MB, free: 6.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.07029, allocations: 11.98 kB / 405.9 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.07235, allocations: 479.4 kB / 406.4 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.07519, allocations: 1.189 MB / 407.6 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.0753, allocations: 102.6 kB / 407.7 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005566/0.07585, allocations: 219.8 kB / 407.9 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/0.08004, allocations: 2.111 MB / 410 MB, free: 1.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/0.08009, allocations: 15.89 kB / 410 MB, free: 1.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.08025, allocations: 59.97 kB / 410.1 MB, free: 1.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006544/0.08091, allocations: 186.7 kB / 410.2 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.08412, allocations: 1.689 MB / 411.9 MB, free: 15.92 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.01233/0.09645, allocations: 6.973 MB / 418.9 MB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.09895, allocations: 1.246 MB / 420.2 MB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.1001, allocations: 0.6098 MB / 420.8 MB, free: 6.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.964e-05/0.1002, allocations: 24.98 kB / 420.8 MB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.1003, allocations: 51.5 kB / 420.8 MB, free: 6.738 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 4.298e-06/0.1003, allocations: 0 / 420.8 MB, free: 6.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=138): time 0.01039/0.1106, allocations: 4.56 MB / 425.4 MB, free: 2.145 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.1107, allocations: 94.42 kB / 425.5 MB, free: 2.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.112, allocations: 0.8763 MB / 426.4 MB, free: 1.133 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.1121, allocations: 49.7 kB / 426.4 MB, free: 1.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000648/0.1128, allocations: 0.7387 MB / 427.2 MB, free: 336 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005837/0.1133, allocations: 0.5153 MB / 427.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/0.1138, allocations: 303.5 kB / 428 MB, free: 15.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.114, allocations: 308.9 kB / 428.3 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.1153, allocations: 0.7066 MB / 429 MB, free: 14.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.117, allocations: 1.159 MB / 430.1 MB, free: 13.16 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.01124/0.1283, allocations: 4.07 MB / 434.2 MB, free: 8.914 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.1283, allocations: 4 kB / 434.2 MB, free: 8.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007618/0.1359, allocations: 3.311 MB / 437.5 MB, free: 5.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.1359, allocations: 16.14 kB / 437.5 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.136, allocations: 16 kB / 437.6 MB, free: 5.543 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/0.1401, allocations: 1.346 MB / 438.9 MB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.1414, allocations: 299.5 kB / 439.2 MB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1602/0.3016, allocations: 14.49 MB / 453.7 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.3029, allocations: 78.44 kB / 453.8 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/0.3032, allocations: 77.86 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.0009641/0.3041, allocations: 0.4888 MB / 454.3 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.3045, allocations: 171.3 kB / 454.5 MB, free: 101.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/0.3075, allocations: 1.785 MB / 456.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3075, allocations: 20.19 kB / 456.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3075, allocations: 3.25 kB / 456.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.3075, allocations: 6.609 kB / 456.3 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005588/0.3131, allocations: 3.13 MB / 459.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.3131, allocations: 5.438 kB / 459.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.3146, allocations: 329.9 kB / 459.8 MB, free: 99.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/0.3151, allocations: 202.4 kB / 460 MB, free: 99.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.837e-05/0.3152, allocations: 50.39 kB / 460 MB, free: 99.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.319, allocations: 6.16 MB / 466.2 MB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.319, allocations: 9.812 kB / 466.2 MB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.3224, allocations: 2.522 MB / 468.7 MB, free: 93.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00057/0.323, allocations: 239.5 kB / 468.9 MB, free: 93.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.3232, allocations: 50.89 kB / 469 MB, free: 93.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.3238, allocations: 55.38 kB / 469 MB, free: 93.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.324, allocations: 112.2 kB / 469.2 MB, free: 93.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/0.3241, allocations: 44.53 kB / 469.2 MB, free: 93.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006227/0.3247, allocations: 0.5649 MB / 469.8 MB, free: 93.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3247, allocations: 0 / 469.8 MB, free: 93.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001572/0.3263, allocations: 487.2 kB / 470.2 MB, free: 92.98 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.0001874/0.3265, allocations: 152.3 kB / 470.4 MB, free: 92.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003619/0.3301, allocations: 2.622 MB / 473 MB, free: 91.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3301, allocations: 0 / 473 MB, free: 91.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.3315, allocations: 1.202 MB / 474.2 MB, free: 90.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.3327, allocations: 300.3 kB / 474.5 MB, free: 90.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005323/0.338, allocations: 4.443 MB / 478.9 MB, free: 88.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.3388, allocations: 0.9298 MB / 479.9 MB, free: 88.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009244/0.3398, allocations: 390.7 kB / 480.3 MB, free: 88.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.3401, allocations: 99.11 kB / 480.4 MB, free: 88.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.3401, allocations: 0 / 480.4 MB, free: 88.33 MB / 410.7 MB Notification: Performance of Templates: time 0.03244/0.3725, allocations: 23.29 MB / 0.4918 GB, free: 78.81 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.768534233910032]