Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindFarm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0004976/0.0004976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006768/0.001174, allocations: 0 / 0, free: 0 / 0 " [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.0006836/0.0006836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005987/0.001282, allocations: 0 / 0, free: 0 / 0 " [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.2528/0.2528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.06522/0.318, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.03029/0.03029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.01532/0.04561, allocations: 0 / 0, free: 0 / 0 " [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: simulate(PowerSystems.Examples.Wind.WindFarm,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindFarm",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(PowerSystems.Examples.Wind.WindFarm,startTime=0,stopTime=100,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindFarm",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.694e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.0321/0.03214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.04073/0.07287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.008654/0.08153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0438/0.1253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.02566/0.151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.01602/0.167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.06621/0.2332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.01836/0.2516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.04555/0.2971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.02096/0.3181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.005993/0.3241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.3342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.01348/0.3477, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.01404/0.3617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.03364/0.3953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.006241/0.4016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.778e-06/0.4016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0005635/0.4021, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1835 * Number of variables: 1835 Notification: Performance of Generate backend data structure: time 0.05157/0.4537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0009291/0.4546, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02473/0.4794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.03156/0.5109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001793/0.5127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.004603/0.5173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0294/0.5467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0005039/0.5472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002988/0.5502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003765/0.554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.572, allocations: 0 / 0, free: 0 / 0 Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(line.v[3,4]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06914/0.6411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.6521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.005256/0.6574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.6579, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001941/0.6581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=559): time 4.05e-05/0.6582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=617): time 0.0388/0.697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.6971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/0.7022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001959/0.7041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.002193/0.7063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.002992/0.7093, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.003876/0.7132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.381e-05/0.7132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.7149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.003275/0.7182, allocations: 0 / 0, free: 0 / 0 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.01603/0.7342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/0.7344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=921) (initialization): time 0.01839/0.7528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 6.409e-05/0.7528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-05/0.7529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.008519/0.7614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.7652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04856/0.8138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005578/0.8194, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002135/0.8215, allocations: 0 / 0, free: 0 / 0 Warning: The initial conditions are over specified. The following 22 initial equations are redundant, so they are removed from the initialization system: $DER.line5.v[3,2] = 0.0 $DER.wt5.inertia.w = 0.0 $DER.line4.v[2,2] = line4.v[1,2] * line4.omega[1] $DER.line4.v[1,2] = (-line4.v[2,2]) * line4.omega[1] $DER.wt4.inertia.w = 0.0 $DER.line3.v[3,2] = 0.0 $DER.line3.v[2,2] = line3.v[1,2] * line3.omega[1] $DER.line3.v[1,2] = (-line3.v[2,2]) * line3.omega[1] $DER.line2.v[3,2] = 0.0 $DER.line2.v[2,2] = line2.v[1,2] * line2.omega[1] $DER.line2.v[1,2] = (-line2.v[2,2]) * line2.omega[1] $DER.line1.v[3,2] = 0.0 $DER.line1.v[2,2] = line1.v[1,2] * line1.omega[1] $DER.line1.v[1,2] = (-line1.v[2,2]) * line1.omega[1] $DER.wt3.inertia.w = 0.0 $DER.wt2.inertia.w = 0.0 $DER.wt1.inertia.w = 0.0 $DER.line.v[3,1] = 0.0 $DER.line.v[2,4] = line.v[1,4] * line.omega[1] $DER.line.v[2,1] = line.v[1,1] * line.omega[1] $DER.line.v[1,4] = (-line.v[2,4]) * line.omega[1] $DER.line.v[1,1] = (-line.v[2,1]) * line.omega[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 236 * Number of states: 0 () * Number of discrete variables: 6 (wt5.system.initime,wt4.system.initime,wt3.system.initime,wt2.system.initime,wt1.system.initime,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (620): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (6,86,44.4%), (8,68,54.7%), (2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,15), (3,15), (3,15), (3,15), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.008383/0.8299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002877/0.8328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.8447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001227/0.8449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/0.8449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-05/0.845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0399/0.8849, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001269/0.885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005691/0.8907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.004211/0.8949, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.004934/0.8999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001681/0.9016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.9215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.453e-05/0.9216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01844/0.94, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002552/0.9426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004537/0.9471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004058/0.9511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001488/0.9526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.004362/0.957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0003975/0.9574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01333/0.9707, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 91 * Number of states: 88 (line.v[1,2],line.v[1,3],line.v[2,2],line.v[2,3],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],wt1.generator.i[3],wt1.generator.psi_s[1],wt1.generator.psi_s[2],wt1.generator.psi_rd[1],wt1.generator.psi_rq[1],wt1.generator.phiRotor,wt1.inertia.phi,wt1.inertia.w,wt1.meterDC.pav,wt1.inverter2.vDC1,wt2.generator.i[3],wt2.generator.psi_s[1],wt2.generator.psi_s[2],wt2.generator.psi_rd[1],wt2.generator.psi_rq[1],wt2.generator.phiRotor,wt2.inertia.phi,wt2.inertia.w,wt2.meterDC.pav,wt2.inverter2.vDC1,wt3.generator.i[3],wt3.generator.psi_s[1],wt3.generator.psi_s[2],wt3.generator.psi_rd[1],wt3.generator.psi_rq[1],wt3.generator.phiRotor,wt3.inertia.phi,wt3.inertia.w,wt3.meterDC.pav,wt3.inverter2.vDC1,line1.v[3,1],line1.i[1,1],line1.i[2,1],line1.i[3,1],line2.v[3,1],line2.i[1,1],line2.i[2,1],line2.i[3,1],line3.v[3,1],line3.i[1,1],line3.i[2,1],line3.i[3,1],wt4.generator.i[3],wt4.generator.psi_s[1],wt4.generator.psi_s[2],wt4.generator.psi_rd[1],wt4.generator.psi_rq[1],wt4.generator.phiRotor,wt4.inertia.phi,wt4.inertia.w,wt4.meterDC.pav,wt4.inverter2.vDC1,line4.v[3,1],line4.i[1,1],line4.i[2,1],line4.i[3,1],wt5.generator.i[3],wt5.generator.psi_s[1],wt5.generator.psi_s[2],wt5.generator.psi_rd[1],wt5.generator.psi_rq[1],wt5.generator.phiRotor,wt5.inertia.phi,wt5.inertia.w,wt5.meterDC.pav,wt5.inverter2.vDC1,line5.v[1,2],line5.v[2,2],line5.v[3,1],line5.v[3,2],line5.i[1,1],line5.i[2,1],line5.i[3,1]) * Number of discrete variables: 6 (system.initime,wt1.system.initime,wt2.system.initime,wt3.system.initime,wt4.system.initime,wt5.system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (535): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 23 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%), (1,10,100.0%), (1,10,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,11,100.0%), (1,11,100.0%), (1,11,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.005224/0.976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01448/0.9904, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0005425/0.991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.01293/1.004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/1.015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08753/1.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008178/1.11, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.005015/1.115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005537/1.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.00043/1.121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.05445/1.176, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 898] [Calling sys.exit(0), Time elapsed: 2.3095944540109485]