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.002088/0.002088, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.003321/0.003321, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.678/1.678, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.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.1854/0.1854, allocations: 38.55 MB / 352.5 MB, free: 12.34 MB / 286.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.002204/0.002204, allocations: 79.89 kB / 493 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.41, allocations: 62.46 MB / 0.5424 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01853/0.4285, allocations: 10.23 MB / 0.5524 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.446, allocations: 6.482 MB / 0.5587 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.4482, allocations: 67.5 kB / 0.5588 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03851/0.4867, allocations: 14.24 MB / 0.5727 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004419/0.4911, allocations: 1.128 MB / 0.5738 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.4936, allocations: 0.6589 MB / 0.5745 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007494/0.5011, allocations: 4.074 MB / 0.5784 GB, free: 15.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.503, allocations: 0.8397 MB / 0.5793 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.5054, allocations: 1.113 MB / 0.5803 GB, free: 13.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003073/0.5085, allocations: 1.468 MB / 0.5818 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007128/0.5092, allocations: 144 kB / 0.5819 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.5111, allocations: 0.55 MB / 0.5824 GB, free: 11.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.5125, allocations: 0.8999 MB / 0.5833 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001932/0.5145, allocations: 0.7933 MB / 0.5841 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004512/0.519, allocations: 2.53 MB / 0.5866 GB, free: 6.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.519, allocations: 8 kB / 0.5866 GB, free: 6.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.519, allocations: 0 / 0.5866 GB, free: 6.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000124/0.5191, allocations: 0 / 0.5866 GB, free: 6.879 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.00619/0.5253, allocations: 2.131 MB / 0.5887 GB, free: 4.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.5254, allocations: 15.98 kB / 0.5887 GB, free: 4.688 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.5275, allocations: 379.4 kB / 0.589 GB, free: 4.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.5306, allocations: 1.197 MB / 0.5902 GB, free: 3.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.5307, allocations: 98.66 kB / 0.5903 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006097/0.5313, allocations: 231.8 kB / 0.5905 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003796/0.5351, allocations: 2.153 MB / 0.5926 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.883e-05/0.5352, allocations: 7.953 kB / 0.5926 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.5353, allocations: 59.97 kB / 0.5927 GB, free: 436 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006668/0.536, allocations: 178.7 kB / 0.5929 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/0.5395, allocations: 1.752 MB / 0.5946 GB, free: 14.49 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.01302/0.5525, allocations: 7.443 MB / 0.6018 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.555, allocations: 1.292 MB / 0.6031 GB, free: 5.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001435/0.5564, allocations: 0.7299 MB / 0.6038 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.5565, allocations: 13 kB / 0.6038 GB, free: 4.715 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.813e-05/0.5566, allocations: 51.56 kB / 0.6039 GB, free: 4.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.218e-06/0.5566, allocations: 0 / 0.6039 GB, free: 4.656 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02001/0.5766, allocations: 7.144 MB / 0.6109 GB, free: 13.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5767, allocations: 98.36 kB / 0.6109 GB, free: 13.34 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/0.5787, allocations: 0.9707 MB / 0.6119 GB, free: 12.35 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002054/0.5789, allocations: 53.7 kB / 0.6119 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000871/0.5798, allocations: 0.7933 MB / 0.6127 GB, free: 11.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007406/0.5805, allocations: 0.5656 MB / 0.6133 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007371/0.5812, allocations: 327.5 kB / 0.6136 GB, free: 10.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5814, allocations: 305.1 kB / 0.6139 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.5834, allocations: 0.773 MB / 0.6146 GB, free: 9.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.5858, allocations: 1.247 MB / 0.6158 GB, free: 8.074 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.02365/0.6094, allocations: 5.61 MB / 0.6213 GB, free: 2.305 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/0.6094, allocations: 4 kB / 0.6213 GB, free: 2.301 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01403/0.6235, allocations: 3.776 MB / 0.625 GB, free: 14.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.6235, allocations: 16.77 kB / 0.625 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.843e-05/0.6236, allocations: 19.94 kB / 0.6251 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006965/0.6305, allocations: 1.713 MB / 0.6267 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.6317, allocations: 267.6 kB / 0.627 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02932/0.661, allocations: 17.73 MB / 0.6443 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.6625, allocations: 75.94 kB / 0.6444 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.6627, allocations: 79.98 kB / 0.6444 GB, free: 10.19 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.001033/0.6637, allocations: 0.5406 MB / 0.645 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.664, allocations: 151 kB / 0.6451 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005357/0.6693, allocations: 2.234 MB / 0.6473 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.6694, allocations: 16 kB / 0.6473 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.6694, allocations: 4 kB / 0.6473 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.6694, allocations: 7.969 kB / 0.6473 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008911/0.6783, allocations: 3.789 MB / 0.651 GB, free: 3.332 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6783, allocations: 11.88 kB / 0.651 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.6799, allocations: 303.6 kB / 0.6513 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002666/0.6826, allocations: 0.5465 MB / 0.6519 GB, free: 2.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.6828, allocations: 51.97 kB / 0.6519 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/0.6945, allocations: 9.453 MB / 0.6611 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.6945, allocations: 4 kB / 0.6611 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006726/0.7012, allocations: 3.057 MB / 0.6641 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008976/0.7021, allocations: 262.9 kB / 0.6644 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.7024, allocations: 51.97 kB / 0.6644 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.7032, allocations: 67.88 kB / 0.6645 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.7035, allocations: 117 kB / 0.6646 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.7036, allocations: 43.98 kB / 0.6646 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001022/0.7046, allocations: 0.6405 MB / 0.6653 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7046, allocations: 0 / 0.6653 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002333/0.707, allocations: 0.5663 MB / 0.6658 GB, free: 3.578 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.0004828/0.7075, allocations: 195 kB / 0.666 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006151/0.7136, allocations: 3.007 MB / 0.6689 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7136, allocations: 0 / 0.6689 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002551/0.7162, allocations: 1.525 MB / 0.6704 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.7178, allocations: 288.2 kB / 0.6707 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008949/0.7267, allocations: 5.101 MB / 0.6757 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.7282, allocations: 1.012 MB / 0.6767 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001188/0.7294, allocations: 392 kB / 0.6771 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.7297, allocations: 103.4 kB / 0.6772 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.7297, allocations: 0 / 0.6772 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of Templates: time 0.05477/0.7845, allocations: 31.84 MB / 0.7082 GB, free: 8.238 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 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.069806722924113] Failed to read output from testmodel.py, exit status != 0: 0.7950640190392733 0.809673399 0.287152336 Calling exit ...