Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.001632/0.001632, allocations: 81.27 kB / 20.49 MB, free: 1.211 MB / 14.72 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.001663/0.001663, allocations: 163.5 kB / 23.75 MB, free: 4.234 MB / 14.72 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.452/1.452, allocations: 177.2 MB / 204.1 MB, free: 9.289 MB / 190.1 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.192/0.192, allocations: 29.44 MB / 289.9 MB, free: 3.395 MB / 270.1 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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 430.4 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3493, allocations: 62.45 MB / 492.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01535/0.3646, allocations: 10.18 MB / 0.4913 GB, free: 7.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.3791, allocations: 6.487 MB / 0.4976 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001765/0.3809, allocations: 59.5 kB / 0.4977 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02953/0.4104, allocations: 14.33 MB / 0.5117 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.4142, allocations: 1.128 MB / 0.5128 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.4162, allocations: 0.6628 MB / 0.5134 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007255/0.4235, allocations: 4.09 MB / 0.5174 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.4251, allocations: 0.828 MB / 0.5182 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.4277, allocations: 1.476 MB / 0.5196 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.4302, allocations: 1.464 MB / 0.5211 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.4305, allocations: 144 kB / 0.5212 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.4318, allocations: 0.5422 MB / 0.5217 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.4328, allocations: 0.9037 MB / 0.5226 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.4339, allocations: 0.7933 MB / 0.5234 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.4374, allocations: 2.534 MB / 0.5259 GB, free: 4.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4374, allocations: 0 / 0.5259 GB, free: 4.199 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4374, allocations: 0 / 0.5259 GB, free: 4.199 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.428e-05/0.4375, allocations: 7.938 kB / 0.5259 GB, free: 4.191 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004716/0.4422, allocations: 2.135 MB / 0.528 GB, free: 2.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.4422, allocations: 11.98 kB / 0.528 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.4443, allocations: 383.4 kB / 0.5283 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003523/0.4478, allocations: 1.205 MB / 0.5295 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.56e-05/0.4479, allocations: 106.6 kB / 0.5296 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005708/0.4485, allocations: 231.8 kB / 0.5298 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.4521, allocations: 2.149 MB / 0.5319 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/0.4522, allocations: 7.953 kB / 0.5319 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.4523, allocations: 63.97 kB / 0.532 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006032/0.453, allocations: 174.7 kB / 0.5322 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.4562, allocations: 1.756 MB / 0.5339 GB, free: 11.79 MB / 446.1 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.0124/0.4686, allocations: 7.444 MB / 0.5412 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.4711, allocations: 1.299 MB / 0.5424 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.4725, allocations: 0.7266 MB / 0.5431 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.024e-05/0.4726, allocations: 13 kB / 0.5432 GB, free: 2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.4726, allocations: 43.56 kB / 0.5432 GB, free: 1.949 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.077e-06/0.4726, allocations: 0 / 0.5432 GB, free: 1.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.0203/0.4929, allocations: 7.145 MB / 0.5502 GB, free: 10.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.493, allocations: 102.4 kB / 0.5503 GB, free: 10.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.4944, allocations: 0.9746 MB / 0.5512 GB, free: 9.641 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.4946, allocations: 61.72 kB / 0.5513 GB, free: 9.574 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/0.4953, allocations: 0.7894 MB / 0.552 GB, free: 8.773 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005469/0.4958, allocations: 0.5655 MB / 0.5526 GB, free: 8.203 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005582/0.4964, allocations: 327.5 kB / 0.5529 GB, free: 7.879 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4965, allocations: 305.1 kB / 0.5532 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.4979, allocations: 0.7691 MB / 0.554 GB, free: 6.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.4998, allocations: 1.248 MB / 0.5552 GB, free: 5.367 MB / 462.1 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.01836/0.5181, allocations: 5.614 MB / 0.5607 GB, free: 15.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/0.5181, allocations: 8 kB / 0.5607 GB, free: 15.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009906/0.5281, allocations: 3.785 MB / 0.5644 GB, free: 11.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.5281, allocations: 12 kB / 0.5644 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.149e-05/0.5281, allocations: 16.06 kB / 0.5644 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006227/0.5344, allocations: 1.718 MB / 0.5661 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.5356, allocations: 263.5 kB / 0.5663 GB, free: 9.758 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02987/0.5655, allocations: 17.75 MB / 0.5836 GB, free: 7.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.5673, allocations: 79.94 kB / 0.5837 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004088/0.5677, allocations: 79.98 kB / 0.5838 GB, free: 7.445 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.generator.psi_rq[1] = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 63 * 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 (130): * Single equations (assignments): 126 * 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 {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001222/0.5689, allocations: 0.5368 MB / 0.5843 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.5693, allocations: 147 kB / 0.5845 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005549/0.5748, allocations: 2.241 MB / 0.5867 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.5748, allocations: 19.97 kB / 0.5867 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.5748, allocations: 4 kB / 0.5867 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.5749, allocations: 7.984 kB / 0.5867 GB, free: 4.457 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009442/0.5843, allocations: 3.777 MB / 0.5904 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.5843, allocations: 7.938 kB / 0.5904 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.586, allocations: 307.6 kB / 0.5907 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/0.5889, allocations: 0.5428 MB / 0.5912 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/0.5891, allocations: 51.95 kB / 0.5913 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/0.6013, allocations: 9.453 MB / 0.6005 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.6013, allocations: 8 kB / 0.6005 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007494/0.6088, allocations: 3.058 MB / 0.6035 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009747/0.6098, allocations: 274.9 kB / 0.6037 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003856/0.6101, allocations: 47.98 kB / 0.6038 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.6113, allocations: 63.88 kB / 0.6038 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000401/0.6117, allocations: 117 kB / 0.604 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.6118, allocations: 51.98 kB / 0.604 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001279/0.6131, allocations: 0.6405 MB / 0.6046 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6131, allocations: 0 / 0.6046 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00293/0.616, allocations: 0.5702 MB / 0.6052 GB, free: 0.8164 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],meterDC.pav,inverter2.vDC1,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]) * 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 (119): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000579/0.6166, allocations: 174.8 kB / 0.6054 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006683/0.6233, allocations: 3.004 MB / 0.6083 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.6233, allocations: 0 / 0.6083 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.6263, allocations: 1.524 MB / 0.6098 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.6287, allocations: 309.6 kB / 0.6101 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.6399, allocations: 5.067 MB / 0.615 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.6418, allocations: 1.001 MB / 0.616 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001486/0.6433, allocations: 396 kB / 0.6164 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005638/0.6439, allocations: 104.4 kB / 0.6165 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of SimCode: time 1.102e-06/0.6439, allocations: 0 / 0.6165 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of Templates: time 0.3172/0.961, allocations: 29.52 MB / 0.6453 GB, free: 142.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.672799747437239] Failed to read output from testmodel.py, exit status != 0: 0.9707666393369436 0.98012269 0.540225931 Calling exit ...