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.0004099/0.0004099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007575/0.001167, 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.0002816/0.0002816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0005561/0.0008377, 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.1646/0.1646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.05241/0.217, 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.01516/0.01516, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.00654/0.0217, 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 2.164e-06/2.164e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.403e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03237/0.03239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.03564/0.06804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.007214/0.07525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.04208/0.1173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.02033/0.1377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.01058/0.1482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.02872/0.177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.01189/0.1888, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.02908/0.2179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.01346/0.2314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.00339/0.2348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.006285/0.2411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.007685/0.2488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.00645/0.2552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01662/0.2718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0028/0.2746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.068e-06/0.2746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0003114/0.2749, 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.0201/0.295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0007448/0.2958, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005671/0.3015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0087/0.3102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006103/0.3108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001887/0.3126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0002056/0.3232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007721/0.324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002119/0.3261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005472/0.3316, 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.03758/0.3692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.005072/0.3742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.3758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.3761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=559): time 3.183e-05/0.3762, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=617): time 0.02595/0.4021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.4023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.4061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0009964/0.4071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.4089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.002184/0.4111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/0.4133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 4.008e-05/0.4133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.415, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.4173, 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.01139/0.4287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/0.4288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=921) (initialization): time 0.01183/0.4407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.4408, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-05/0.4409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/0.4529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/0.4638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05735/0.5211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/0.5244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005436/0.525, 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.003128/0.5281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008278/0.5289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006931/0.5359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.706e-05/0.5359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-05/0.536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.772e-05/0.536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.5506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.433e-05/0.5507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004432/0.5551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.001607/0.5567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.002416/0.5591, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004657/0.5596, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/0.5733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.304e-05/0.5733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008086/0.5814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/0.5831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.5853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/0.5866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004321/0.587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.001556/0.5886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0001589/0.5887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.009044/0.5978, 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.002213/0.6, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.009619/0.6096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.0001929/0.6098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.006202/0.616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007696/0.6237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0524/0.6761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003328/0.6794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.002483/0.6819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002884/0.6848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0002091/0.685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.01898/0.704, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] [Calling sys.exit(0), Time elapsed: 1.466690064407885]