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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007658/0.0007656, allocations: 89.75 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009895/0.0009896, allocations: 182.1 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.3 MB / 241.6 MB, free: 96 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1616/0.1616, allocations: 38.09 MB / 330.8 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 11.98 kB / 400.7 MB, free: 34.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1077, allocations: 59.17 MB / 459.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01375/0.1215, allocations: 12.5 MB / 472.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.135, allocations: 7.77 MB / 480.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.1371, allocations: 91.31 kB / 480.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01893/0.156, allocations: 12.51 MB / 492.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0036/0.1597, allocations: 1.066 MB / 493.8 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001889/0.1616, allocations: 0.6162 MB / 494.4 MB, free: 4.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006526/0.1681, allocations: 5.662 MB / 0.4884 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.1702, allocations: 1.258 MB / 0.4896 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.1719, allocations: 0.9177 MB / 0.4905 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.1737, allocations: 1.456 MB / 0.4919 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001743/0.1739, allocations: 79.94 kB / 0.492 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008916/0.1748, allocations: 467.2 kB / 0.4924 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006874/0.1755, allocations: 0.8336 MB / 0.4933 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008368/0.1763, allocations: 0.9032 MB / 0.4941 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.1784, allocations: 2.406 MB / 0.4965 GB, free: 6.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1784, allocations: 4 kB / 0.4965 GB, free: 6.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1785, allocations: 3.984 kB / 0.4965 GB, free: 6.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.1785, allocations: 0 / 0.4965 GB, free: 6.355 MB / 382.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.003732/0.1822, allocations: 1.897 MB / 0.4983 GB, free: 4.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1823, allocations: 11.97 kB / 0.4984 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.184, allocations: 334.3 kB / 0.4987 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.1863, allocations: 1.28 MB / 0.4999 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.577e-05/0.1863, allocations: 106.7 kB / 0.5 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005231/0.1869, allocations: 235.8 kB / 0.5003 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/0.1899, allocations: 2.196 MB / 0.5024 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.519e-05/0.1899, allocations: 11.84 kB / 0.5024 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.1901, allocations: 59.98 kB / 0.5025 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2102/0.4003, allocations: 184.2 kB / 0.5026 GB, free: 57.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004307/0.4046, allocations: 1.838 MB / 0.5044 GB, free: 57.4 MB / 382.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.01162/0.4163, allocations: 8.598 MB / 0.5128 GB, free: 52.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.4187, allocations: 1.902 MB / 0.5147 GB, free: 51.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.4203, allocations: 0.7997 MB / 0.5155 GB, free: 50.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.263e-05/0.4204, allocations: 25.59 kB / 0.5155 GB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.4204, allocations: 45.98 kB / 0.5155 GB, free: 50.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.136e-06/0.4204, allocations: 0 / 0.5155 GB, free: 50.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01258/0.433, allocations: 6.002 MB / 0.5214 GB, free: 48.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.4331, allocations: 96.8 kB / 0.5215 GB, free: 47.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.4348, allocations: 1.069 MB / 0.5225 GB, free: 47.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.4349, allocations: 51.19 kB / 0.5226 GB, free: 47.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.4355, allocations: 0.7828 MB / 0.5233 GB, free: 46.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000462/0.436, allocations: 0.5264 MB / 0.5239 GB, free: 46.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.4362, allocations: 158.8 kB / 0.524 GB, free: 46.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.4363, allocations: 301.1 kB / 0.5243 GB, free: 45.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.4375, allocations: 0.7461 MB / 0.525 GB, free: 45.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.4389, allocations: 1.237 MB / 0.5262 GB, free: 44.56 MB / 382.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.009573/0.4485, allocations: 4.344 MB / 0.5305 GB, free: 41.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.961e-05/0.4485, allocations: 8 kB / 0.5305 GB, free: 41.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.00754/0.4561, allocations: 3.989 MB / 0.5344 GB, free: 37.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/0.4561, allocations: 12 kB / 0.5344 GB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.4562, allocations: 20.03 kB / 0.5344 GB, free: 37.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003691/0.4599, allocations: 1.448 MB / 0.5358 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.4609, allocations: 295.5 kB / 0.5361 GB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.479, allocations: 19.17 MB / 0.5548 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.4804, allocations: 88.02 kB / 0.5549 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.4806, allocations: 82.61 kB / 0.555 GB, free: 15.47 MB / 382.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 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 (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009195/0.4815, allocations: 0.5266 MB / 0.5555 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.4818, allocations: 150.2 kB / 0.5556 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/0.4849, allocations: 2.224 MB / 0.5578 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/0.4849, allocations: 12 kB / 0.5578 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4849, allocations: 4 kB / 0.5578 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.485, allocations: 7.969 kB / 0.5578 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00597/0.4909, allocations: 4.007 MB / 0.5618 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.491, allocations: 7.938 kB / 0.5618 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.4925, allocations: 339.8 kB / 0.5621 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/0.4931, allocations: 211.9 kB / 0.5623 GB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.4932, allocations: 51.97 kB / 0.5623 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/0.4976, allocations: 7.309 MB / 0.5695 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.4976, allocations: 11.88 kB / 0.5695 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004721/0.5023, allocations: 2.94 MB / 0.5724 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009112/0.5032, allocations: 343.1 kB / 0.5727 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/0.5036, allocations: 43.98 kB / 0.5727 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.5046, allocations: 63.94 kB / 0.5728 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/0.5049, allocations: 105 kB / 0.5729 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.505, allocations: 39.98 kB / 0.5729 GB, free: 12.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00112/0.5061, allocations: 0.7178 MB / 0.5736 GB, free: 11.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5061, allocations: 0 / 0.5736 GB, free: 11.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002205/0.5083, allocations: 0.5464 MB / 0.5742 GB, free: 10.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],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 (137): * Single equations (assignments): 131 * 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): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004209/0.5087, allocations: 190.4 kB / 0.5743 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005501/0.5143, allocations: 3.214 MB / 0.5775 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.5143, allocations: 0 / 0.5775 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.5165, allocations: 1.421 MB / 0.5789 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.5185, allocations: 324.2 kB / 0.5792 GB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008624/0.5271, allocations: 6.254 MB / 0.5853 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00147/0.5286, allocations: 1.588 MB / 0.5868 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001426/0.5301, allocations: 436.7 kB / 0.5873 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.5305, allocations: 115.4 kB / 0.5874 GB, free: 13.01 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5305, allocations: 0 / 0.5874 GB, free: 13.01 MB / 414.1 MB Notification: Performance of Templates: time 0.04274/0.5732, allocations: 26.63 MB / 0.6134 GB, free: 2.578 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: