Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001345/0.001345, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.00156/0.00156, allocations: 169.4 kB / 24.5 MB, free: 3.453 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.498/1.498, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] 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.1754/0.1754, allocations: 29.42 MB / 290.7 MB, free: 3.305 MB / 270.1 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_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.002925/0.002925, allocations: 71.89 kB / 431.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4009, allocations: 62.45 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01043/0.4114, allocations: 10.23 MB / 0.4921 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.4224, allocations: 6.491 MB / 0.4984 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.4241, allocations: 61.34 kB / 0.4985 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02336/0.4475, allocations: 14.31 MB / 0.5124 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.4514, allocations: 1.129 MB / 0.5135 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.4536, allocations: 0.6614 MB / 0.5142 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007539/0.4611, allocations: 4.09 MB / 0.5182 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.4628, allocations: 0.8328 MB / 0.519 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002549/0.4654, allocations: 1.117 MB / 0.5201 GB, free: 19.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.4686, allocations: 1.463 MB / 0.5215 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004977/0.4691, allocations: 145.9 kB / 0.5216 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001827/0.471, allocations: 0.5481 MB / 0.5222 GB, free: 19 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.4726, allocations: 0.9026 MB / 0.5231 GB, free: 18.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00247/0.4751, allocations: 0.7941 MB / 0.5238 GB, free: 18.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004759/0.4798, allocations: 2.529 MB / 0.5263 GB, free: 17.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.4798, allocations: 1.438 kB / 0.5263 GB, free: 17.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4798, allocations: 3.938 kB / 0.5263 GB, free: 17.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.43e-05/0.4799, allocations: 0.5156 kB / 0.5263 GB, free: 17.39 MB / 446.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.006038/0.486, allocations: 2.14 MB / 0.5284 GB, free: 16.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.486, allocations: 13.67 kB / 0.5284 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002826/0.4888, allocations: 384.8 kB / 0.5288 GB, free: 16.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00405/0.4929, allocations: 1.194 MB / 0.5299 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-05/0.493, allocations: 106 kB / 0.5301 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007434/0.4937, allocations: 233.4 kB / 0.5303 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004072/0.4978, allocations: 2.15 MB / 0.5324 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.4979, allocations: 7.516 kB / 0.5324 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.498, allocations: 58.33 kB / 0.5324 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007107/0.4987, allocations: 181.3 kB / 0.5326 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.5027, allocations: 1.753 MB / 0.5343 GB, free: 13.09 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.01364/0.5163, allocations: 7.452 MB / 0.5416 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002261/0.5186, allocations: 1.288 MB / 0.5429 GB, free: 6.773 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.52, allocations: 0.7207 MB / 0.5436 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-05/0.5201, allocations: 13 kB / 0.5436 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5201, allocations: 47.56 kB / 0.5436 GB, free: 6.234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.256e-06/0.5201, allocations: 0 / 0.5436 GB, free: 6.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01831/0.5384, allocations: 7.152 MB / 0.5506 GB, free: 15.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.5385, allocations: 98.36 kB / 0.5507 GB, free: 14.91 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.5399, allocations: 0.9708 MB / 0.5516 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001899/0.5401, allocations: 57.7 kB / 0.5517 GB, free: 13.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.5408, allocations: 0.7894 MB / 0.5525 GB, free: 13.06 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005729/0.5414, allocations: 0.5655 MB / 0.553 GB, free: 12.49 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006339/0.542, allocations: 331.5 kB / 0.5533 GB, free: 12.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5421, allocations: 301.1 kB / 0.5536 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.5435, allocations: 0.7769 MB / 0.5544 GB, free: 11.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.5452, allocations: 1.244 MB / 0.5556 GB, free: 9.652 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.01714/0.5624, allocations: 5.606 MB / 0.5611 GB, free: 3.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/0.5624, allocations: 4 kB / 0.5611 GB, free: 3.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009642/0.572, allocations: 3.785 MB / 0.5648 GB, free: 76 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.5721, allocations: 18.5 kB / 0.5648 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/0.5721, allocations: 16 kB / 0.5648 GB, free: 44 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005969/0.5781, allocations: 1.725 MB / 0.5665 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/0.5793, allocations: 263.6 kB / 0.5667 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02868/0.608, allocations: 17.75 MB / 0.5841 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.6096, allocations: 83.94 kB / 0.5842 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.6098, allocations: 75.98 kB / 0.5842 GB, free: 11.73 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.001149/0.6109, allocations: 0.532 MB / 0.5848 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.6112, allocations: 147 kB / 0.5849 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005758/0.617, allocations: 2.245 MB / 0.5871 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.617, allocations: 12 kB / 0.5871 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.617, allocations: 4 kB / 0.5871 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.617, allocations: 11.97 kB / 0.5871 GB, free: 8.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009824/0.6269, allocations: 3.777 MB / 0.5908 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.6269, allocations: 7.938 kB / 0.5908 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.6285, allocations: 303.6 kB / 0.5911 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002686/0.6312, allocations: 0.5584 MB / 0.5916 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.6313, allocations: 51.97 kB / 0.5917 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01218/0.6435, allocations: 9.448 MB / 0.6009 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.6435, allocations: 4 kB / 0.6009 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006704/0.6502, allocations: 3.054 MB / 0.6039 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009172/0.6511, allocations: 274.9 kB / 0.6042 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.6514, allocations: 43.98 kB / 0.6042 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.6522, allocations: 67.81 kB / 0.6043 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000302/0.6525, allocations: 125.1 kB / 0.6044 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.6526, allocations: 43.98 kB / 0.6044 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009899/0.6536, allocations: 0.6366 MB / 0.6051 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6536, allocations: 0 / 0.6051 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002237/0.6558, allocations: 0.5663 MB / 0.6056 GB, free: 5.113 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.0003848/0.6562, allocations: 187.2 kB / 0.6058 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005864/0.6621, allocations: 3 MB / 0.6087 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6621, allocations: 4 kB / 0.6087 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002621/0.6647, allocations: 1.524 MB / 0.6102 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.6664, allocations: 297.8 kB / 0.6105 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008657/0.675, allocations: 5.084 MB / 0.6155 GB, free: 10.84 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/0.6767, allocations: 1.005 MB / 0.6164 GB, free: 9.801 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001235/0.6779, allocations: 392 kB / 0.6168 GB, free: 9.414 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.6783, allocations: 96.48 kB / 0.6169 GB, free: 9.32 MB / 0.5138 GB Notification: Performance of SimCode: time 6.81e-07/0.6783, allocations: 4 kB / 0.6169 GB, free: 9.316 MB / 0.5138 GB Notification: Performance of Templates: time 0.05185/0.7301, allocations: 29.52 MB / 0.6457 GB, free: 12.12 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.39436090295203] Failed to read output from testmodel.py, exit status != 0: 0.7415076160104945 0.755676574 0.272278858 Calling exit ...