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.001531/0.001531, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001731/0.001731, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.535/1.535, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.1859/0.1859, allocations: 38.53 MB / 344.5 MB, free: 2.613 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.002027/0.002027, allocations: 71.89 kB / 482.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3702, allocations: 61.25 MB / 0.5306 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0137/0.3839, allocations: 11.18 MB / 0.5415 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01345/0.3974, allocations: 7.142 MB / 0.5485 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.3989, allocations: 45.44 kB / 0.5485 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02448/0.4233, allocations: 13.51 MB / 0.5617 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004374/0.4277, allocations: 1.112 MB / 0.5628 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.4302, allocations: 0.6472 MB / 0.5634 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008221/0.4385, allocations: 3.992 MB / 0.5673 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.4404, allocations: 0.7035 MB / 0.568 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.4433, allocations: 1.09 MB / 0.5691 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003743/0.4471, allocations: 1.515 MB / 0.5705 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.4481, allocations: 148 kB / 0.5707 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/0.4505, allocations: 0.5305 MB / 0.5712 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001653/0.4522, allocations: 0.9077 MB / 0.5721 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.4549, allocations: 0.9523 MB / 0.573 GB, free: 1.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005894/0.4608, allocations: 2.518 MB / 0.5755 GB, free: 14.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4608, allocations: 4 kB / 0.5755 GB, free: 14.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.4608, allocations: 0 / 0.5755 GB, free: 14.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001781/0.461, allocations: 0 / 0.5755 GB, free: 14.72 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.00765/0.4686, allocations: 2.199 MB / 0.5776 GB, free: 12.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4687, allocations: 11.89 kB / 0.5776 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.4706, allocations: 331.4 kB / 0.578 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.4735, allocations: 1.3 MB / 0.5792 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.4736, allocations: 102.7 kB / 0.5793 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005925/0.4742, allocations: 231.8 kB / 0.5795 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003666/0.4778, allocations: 2.157 MB / 0.5816 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.876e-05/0.4779, allocations: 7.938 kB / 0.5817 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.478, allocations: 55.98 kB / 0.5817 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005953/0.4786, allocations: 182.7 kB / 0.5819 GB, free: 7.945 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.4817, allocations: 1.76 MB / 0.5836 GB, free: 6.18 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.01271/0.4944, allocations: 8.587 MB / 0.592 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.497, allocations: 1.748 MB / 0.5937 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.4983, allocations: 0.7255 MB / 0.5944 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.4984, allocations: 21.06 kB / 0.5944 GB, free: 10.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/0.4985, allocations: 55.5 kB / 0.5945 GB, free: 10.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.837e-06/0.4985, allocations: 0 / 0.5945 GB, free: 10.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01894/0.5174, allocations: 7.577 MB / 0.6019 GB, free: 2.742 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/0.5175, allocations: 90.42 kB / 0.602 GB, free: 2.637 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.519, allocations: 1.041 MB / 0.603 GB, free: 1.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.5191, allocations: 57.73 kB / 0.603 GB, free: 1.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006642/0.5198, allocations: 0.7778 MB / 0.6038 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005596/0.5203, allocations: 0.5655 MB / 0.6043 GB, free: 164 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005599/0.5209, allocations: 331.5 kB / 0.6047 GB, free: 15.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5211, allocations: 305.1 kB / 0.605 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.5224, allocations: 0.773 MB / 0.6057 GB, free: 14.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.5241, allocations: 1.255 MB / 0.6069 GB, free: 13.3 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.01601/0.5401, allocations: 5.685 MB / 0.6125 GB, free: 7.441 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/0.5401, allocations: 4 kB / 0.6125 GB, free: 7.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009388/0.5495, allocations: 3.86 MB / 0.6163 GB, free: 3.535 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.5495, allocations: 15.94 kB / 0.6163 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/0.5496, allocations: 12 kB / 0.6163 GB, free: 3.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005911/0.5555, allocations: 1.74 MB / 0.618 GB, free: 1.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5566, allocations: 267.6 kB / 0.6182 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02856/0.5852, allocations: 18.51 MB / 0.6363 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/0.5867, allocations: 83.94 kB / 0.6364 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.5869, allocations: 75.98 kB / 0.6365 GB, free: 14.25 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.001064/0.5879, allocations: 0.5211 MB / 0.637 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.5883, allocations: 159.1 kB / 0.6371 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/0.5937, allocations: 2.397 MB / 0.6395 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.5937, allocations: 19.94 kB / 0.6395 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/0.5937, allocations: 7.938 kB / 0.6395 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.5938, allocations: 7.969 kB / 0.6395 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009585/0.6033, allocations: 4.309 MB / 0.6437 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/0.6034, allocations: 4 kB / 0.6437 GB, free: 6.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0016/0.605, allocations: 303.9 kB / 0.644 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/0.6076, allocations: 0.5458 MB / 0.6445 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.6077, allocations: 51.97 kB / 0.6446 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.6192, allocations: 10.15 MB / 0.6545 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.6192, allocations: 3.938 kB / 0.6545 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006641/0.6259, allocations: 3.201 MB / 0.6576 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/0.6267, allocations: 359.9 kB / 0.658 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.6269, allocations: 47.92 kB / 0.658 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.6277, allocations: 63.94 kB / 0.6581 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.6281, allocations: 121.1 kB / 0.6582 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.6282, allocations: 47.97 kB / 0.6582 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00102/0.6292, allocations: 0.6931 MB / 0.6589 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6292, allocations: 0 / 0.6589 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002147/0.6313, allocations: 0.5702 MB / 0.6595 GB, free: 5.629 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.0003978/0.6317, allocations: 181.1 kB / 0.6596 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005665/0.6374, allocations: 3.008 MB / 0.6626 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.6374, allocations: 3.938 kB / 0.6626 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.64, allocations: 1.521 MB / 0.6641 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.6416, allocations: 335.3 kB / 0.6644 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008904/0.6505, allocations: 5.105 MB / 0.6694 GB, free: 11.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/0.652, allocations: 1.588 MB / 0.6709 GB, free: 9.684 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001281/0.6533, allocations: 400.5 kB / 0.6713 GB, free: 9.285 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.6536, allocations: 103.4 kB / 0.6714 GB, free: 9.184 MB / 0.5138 GB Notification: Performance of SimCode: time 1.573e-06/0.6536, allocations: 4 kB / 0.6714 GB, free: 9.18 MB / 0.5138 GB Notification: Performance of Templates: time 0.06071/0.7144, allocations: 33.02 MB / 0.7037 GB, free: 8.34 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.432994578965008]