Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.001572/0.001572, allocations: 113 kB / 19.04 MB, free: 3.254 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.001725/0.001725, allocations: 197.9 kB / 22.22 MB, free: 72 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.451/1.451, allocations: 225.6 MB / 250.8 MB, free: 13.33 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.1827/0.1827, allocations: 38.51 MB / 344.4 MB, free: 2.566 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_PSGI,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_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,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_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 482.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3955, allocations: 61.25 MB / 0.5306 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01268/0.4082, allocations: 11.24 MB / 0.5416 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.4212, allocations: 7.128 MB / 0.5485 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.4228, allocations: 53.53 kB / 0.5486 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02427/0.4471, allocations: 13.46 MB / 0.5617 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.4509, allocations: 1.132 MB / 0.5628 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.4531, allocations: 0.6939 MB / 0.5635 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006706/0.4598, allocations: 4.086 MB / 0.5675 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.4612, allocations: 0.7152 MB / 0.5682 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00231/0.4635, allocations: 1.133 MB / 0.5693 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.4664, allocations: 1.557 MB / 0.5708 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003812/0.4667, allocations: 152 kB / 0.571 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.4681, allocations: 0.5383 MB / 0.5715 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.4691, allocations: 0.931 MB / 0.5724 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.4704, allocations: 0.9795 MB / 0.5733 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003649/0.4741, allocations: 2.572 MB / 0.5759 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4741, allocations: 0 / 0.5759 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4741, allocations: 0 / 0.5759 GB, free: 14.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.561e-05/0.4741, allocations: 0 / 0.5759 GB, free: 14.12 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.005042/0.4792, allocations: 2.273 MB / 0.5781 GB, free: 11.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4792, allocations: 19.77 kB / 0.5781 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.4811, allocations: 343.4 kB / 0.5784 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002968/0.4841, allocations: 1.343 MB / 0.5797 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.965e-05/0.4842, allocations: 106.7 kB / 0.5798 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005932/0.4848, allocations: 239.8 kB / 0.5801 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.4885, allocations: 2.192 MB / 0.5822 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.4885, allocations: 7.953 kB / 0.5822 GB, free: 7.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.4887, allocations: 55.98 kB / 0.5823 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005949/0.4893, allocations: 190.8 kB / 0.5825 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.4926, allocations: 1.838 MB / 0.5842 GB, free: 5.309 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.013/0.5056, allocations: 8.53 MB / 0.5926 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.5083, allocations: 1.842 MB / 0.5944 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.5097, allocations: 0.7473 MB / 0.5951 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.752e-05/0.5098, allocations: 25.38 kB / 0.5951 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.5098, allocations: 43.88 kB / 0.5952 GB, free: 9.559 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 4.058e-06/0.5099, allocations: 0 / 0.5952 GB, free: 9.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=165): time 0.02405/0.5339, allocations: 9.259 MB / 0.6042 GB, free: 68 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.534, allocations: 94.47 kB / 0.6043 GB, free: 15.95 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.5355, allocations: 1.059 MB / 0.6053 GB, free: 14.88 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.5357, allocations: 57.7 kB / 0.6054 GB, free: 14.82 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.5364, allocations: 0.8093 MB / 0.6062 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/0.537, allocations: 0.612 MB / 0.6068 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005567/0.5376, allocations: 351.5 kB / 0.6071 GB, free: 13.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5377, allocations: 305.2 kB / 0.6074 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001625/0.5394, allocations: 0.8472 MB / 0.6082 GB, free: 11.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.5414, allocations: 1.348 MB / 0.6096 GB, free: 10.33 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.01403/0.5554, allocations: 5.191 MB / 0.6146 GB, free: 4.965 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.888e-05/0.5554, allocations: 4 kB / 0.6146 GB, free: 4.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009493/0.5649, allocations: 4.143 MB / 0.6187 GB, free: 0.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.565, allocations: 16.03 kB / 0.6187 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/0.565, allocations: 12 kB / 0.6187 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004899/0.5699, allocations: 1.605 MB / 0.6203 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.5713, allocations: 315.5 kB / 0.6206 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02948/0.6008, allocations: 20.89 MB / 0.641 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.6026, allocations: 95.86 kB / 0.6411 GB, free: 8.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/0.6029, allocations: 84.05 kB / 0.6411 GB, free: 8.852 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.PI.x = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.6041, allocations: 0.5498 MB / 0.6417 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003638/0.6044, allocations: 159 kB / 0.6418 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005493/0.6099, allocations: 2.793 MB / 0.6446 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.61, allocations: 16.14 kB / 0.6446 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.61, allocations: 4 kB / 0.6446 GB, free: 5.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.61, allocations: 11.95 kB / 0.6446 GB, free: 5.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009635/0.6196, allocations: 4.813 MB / 0.6493 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.6196, allocations: 4 kB / 0.6493 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/0.6214, allocations: 335.7 kB / 0.6496 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.6229, allocations: 0.4899 MB / 0.6501 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001593/0.6231, allocations: 59.97 kB / 0.6501 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.6362, allocations: 12.76 MB / 0.6626 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.6362, allocations: 7.938 kB / 0.6626 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007154/0.6434, allocations: 3.709 MB / 0.6662 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008345/0.6442, allocations: 371.9 kB / 0.6666 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.6444, allocations: 51.92 kB / 0.6666 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/0.6453, allocations: 75.92 kB / 0.6667 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.6457, allocations: 129.1 kB / 0.6668 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.6458, allocations: 47.98 kB / 0.6669 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001043/0.6469, allocations: 0.71 MB / 0.6676 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6469, allocations: 0 / 0.6676 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002104/0.649, allocations: 0.5898 MB / 0.6682 GB, free: 11.71 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 24 (inertia.w,meterDC.pav,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],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],PI.x) * 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 (138): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (2,6,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004071/0.6494, allocations: 194.9 kB / 0.6683 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006477/0.6559, allocations: 3.386 MB / 0.6716 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6559, allocations: 0 / 0.6716 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003089/0.6589, allocations: 1.826 MB / 0.6734 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.6606, allocations: 350.5 kB / 0.6738 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01262/0.6732, allocations: 5.374 MB / 0.679 GB, free: 364 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002353/0.6756, allocations: 1.637 MB / 0.6806 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002025/0.6776, allocations: 441.3 kB / 0.681 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005946/0.6782, allocations: 115.3 kB / 0.6811 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of SimCode: time 1.844e-06/0.6782, allocations: 0 / 0.6811 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.06676/0.745, allocations: 33.77 MB / 0.7141 GB, free: 12.55 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.763757793232799]