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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 188.7 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1856/0.1856, allocations: 38.54 MB / 346.3 MB, free: 2.102 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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 72.12 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3629, allocations: 61.29 MB / 0.533 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0118/0.3747, allocations: 11.2 MB / 0.544 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.3873, allocations: 7.147 MB / 0.551 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.3889, allocations: 65.31 kB / 0.551 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02878/0.4177, allocations: 14.46 MB / 0.5651 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.4224, allocations: 1.116 MB / 0.5662 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.4254, allocations: 0.6706 MB / 0.5669 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007312/0.4327, allocations: 4.082 MB / 0.5709 GB, free: 5.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.4342, allocations: 0.7001 MB / 0.5716 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.4364, allocations: 1.113 MB / 0.5726 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002508/0.4389, allocations: 1.519 MB / 0.5741 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003274/0.4392, allocations: 148 kB / 0.5743 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.4406, allocations: 0.5734 MB / 0.5748 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009757/0.4415, allocations: 0.9076 MB / 0.5757 GB, free: 308 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.4428, allocations: 0.9524 MB / 0.5766 GB, free: 15.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00336/0.4462, allocations: 2.514 MB / 0.5791 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4462, allocations: 3.984 kB / 0.5791 GB, free: 12.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4462, allocations: 0 / 0.5791 GB, free: 12.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.4462, allocations: 0 / 0.5791 GB, free: 12.82 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.004749/0.451, allocations: 2.131 MB / 0.5812 GB, free: 10.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.451, allocations: 12.03 kB / 0.5812 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.4529, allocations: 331.4 kB / 0.5815 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.456, allocations: 1.185 MB / 0.5827 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.43e-05/0.456, allocations: 98.66 kB / 0.5828 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005976/0.4566, allocations: 235.8 kB / 0.583 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003839/0.4605, allocations: 2.161 MB / 0.5851 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.897e-05/0.4605, allocations: 11.92 kB / 0.5851 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.4607, allocations: 55.98 kB / 0.5852 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006976/0.4614, allocations: 182.7 kB / 0.5853 GB, free: 6.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/0.4647, allocations: 1.756 MB / 0.587 GB, free: 4.473 MB / 430.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.0138/0.4785, allocations: 8.464 MB / 0.5953 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.4811, allocations: 1.308 MB / 0.5966 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.4825, allocations: 0.7256 MB / 0.5973 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/0.4826, allocations: 17 kB / 0.5973 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.4826, allocations: 51.5 kB / 0.5974 GB, free: 9.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.647e-06/0.4826, allocations: 4 kB / 0.5974 GB, free: 9.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.02012/0.5027, allocations: 7.137 MB / 0.6043 GB, free: 2.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.5028, allocations: 90.42 kB / 0.6044 GB, free: 2.172 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.5044, allocations: 1.037 MB / 0.6054 GB, free: 1.121 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.5046, allocations: 57.69 kB / 0.6055 GB, free: 1.059 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/0.5052, allocations: 0.7856 MB / 0.6063 GB, free: 268 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/0.5058, allocations: 0.5578 MB / 0.6068 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005123/0.5063, allocations: 331.5 kB / 0.6071 GB, free: 15.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.5065, allocations: 301.1 kB / 0.6074 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.5079, allocations: 0.7769 MB / 0.6082 GB, free: 14.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.5097, allocations: 1.247 MB / 0.6094 GB, free: 12.85 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.01676/0.5264, allocations: 5.61 MB / 0.6149 GB, free: 7.078 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/0.5264, allocations: 4 kB / 0.6149 GB, free: 7.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01051/0.5369, allocations: 3.781 MB / 0.6186 GB, free: 3.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.537, allocations: 15.94 kB / 0.6186 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/0.537, allocations: 12 kB / 0.6186 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006233/0.5433, allocations: 1.746 MB / 0.6203 GB, free: 1.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.5445, allocations: 267.5 kB / 0.6205 GB, free: 1.223 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03071/0.5753, allocations: 18.1 MB / 0.6382 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.5768, allocations: 84 kB / 0.6383 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.577, allocations: 91.91 kB / 0.6384 GB, free: 14.48 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.001069/0.5781, allocations: 0.5211 MB / 0.6389 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.5784, allocations: 151 kB / 0.639 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005383/0.5837, allocations: 2.243 MB / 0.6412 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.5838, allocations: 12 kB / 0.6412 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.5838, allocations: 11.94 kB / 0.6413 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.5838, allocations: 7.969 kB / 0.6413 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00924/0.593, allocations: 4.133 MB / 0.6453 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.593, allocations: 4 kB / 0.6453 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.5947, allocations: 315.9 kB / 0.6456 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.5973, allocations: 0.5348 MB / 0.6461 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.5974, allocations: 55.97 kB / 0.6462 GB, free: 6.352 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01128/0.6087, allocations: 9.634 MB / 0.6556 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.6087, allocations: 7.969 kB / 0.6556 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006653/0.6154, allocations: 3.051 MB / 0.6586 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009345/0.6163, allocations: 274.9 kB / 0.6588 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.6165, allocations: 51.92 kB / 0.6589 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008312/0.6174, allocations: 63.94 kB / 0.659 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003042/0.6177, allocations: 117 kB / 0.6591 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/0.6178, allocations: 47.98 kB / 0.6591 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001066/0.6188, allocations: 0.6931 MB / 0.6598 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6188, allocations: 0 / 0.6598 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002072/0.6209, allocations: 0.5663 MB / 0.6603 GB, free: 7.215 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.0004047/0.6213, allocations: 188.7 kB / 0.6605 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005749/0.6271, allocations: 3.004 MB / 0.6635 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6271, allocations: 0 / 0.6635 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002654/0.6297, allocations: 1.524 MB / 0.6649 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00166/0.6314, allocations: 325.3 kB / 0.6652 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008694/0.6401, allocations: 5.123 MB / 0.6703 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.6417, allocations: 1.585 MB / 0.6718 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001294/0.643, allocations: 408.5 kB / 0.6722 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.6433, allocations: 103.4 kB / 0.6723 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.6433, allocations: 0 / 0.6723 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.05908/0.7024, allocations: 33.71 MB / 0.7052 GB, free: 9.215 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: 6.429379032924771] Failed to read output from testmodel.py, exit status != 0: 0.7121010385453701 0.7269208309999999 0.27751071899999996 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fab029dd7b0>