Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindFarm.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.WindFarm,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.WindFarm") translateModel(PowerSystems.Examples.Wind.WindFarm,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.WindFarm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001106, allocations: 103.7 kB / 16.62 MB, free: 6.812 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.001208/0.001208, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1708/0.1708, allocations: 38.04 MB / 329.4 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 68.92 kB / 398.3 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1278, allocations: 58.06 MB / 456.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.04836/0.1762, allocations: 47.62 MB / 0.4922 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2717/0.448, allocations: 20.11 MB / 0.5118 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01068/0.4587, allocations: 415.8 kB / 0.5122 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03944/0.4981, allocations: 23.79 MB / 0.5354 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.51, allocations: 4.629 MB / 0.5399 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009286/0.5193, allocations: 3.018 MB / 0.5429 GB, free: 13.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02823/0.5476, allocations: 17.2 MB / 0.5597 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009355/0.557, allocations: 6.049 MB / 0.5656 GB, free: 7.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/0.5671, allocations: 5.581 MB / 0.5711 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01102/0.5782, allocations: 7.03 MB / 0.5779 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002205/0.5804, allocations: 0.8789 MB / 0.5788 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.5849, allocations: 1.719 MB / 0.5805 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005673/0.5906, allocations: 4.297 MB / 0.5847 GB, free: 5.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01294/0.6035, allocations: 4.78 MB / 0.5893 GB, free: 292 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02152/0.6251, allocations: 12.93 MB / 0.6019 GB, free: 3.609 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.6252, allocations: 4 kB / 0.602 GB, free: 3.605 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6252, allocations: 0 / 0.602 GB, free: 3.605 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005181/0.6257, allocations: 0 / 0.602 GB, free: 3.605 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1835 * Number of variables: 1835 Notification: Performance of Generate backend data structure: time 0.02386/0.6496, allocations: 8.829 MB / 0.6106 GB, free: 10.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6496, allocations: 15.89 kB / 0.6106 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008417/0.6581, allocations: 1.36 MB / 0.6119 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01458/0.6727, allocations: 5.808 MB / 0.6176 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005538/0.6733, allocations: 490 kB / 0.6181 GB, free: 3.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004674/0.678, allocations: 0.9549 MB / 0.619 GB, free: 2.195 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02511/0.7031, allocations: 10.02 MB / 0.6288 GB, free: 7.938 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003592/0.7035, allocations: 39.67 kB / 0.6288 GB, free: 7.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001908/0.7054, allocations: 266.5 kB / 0.6291 GB, free: 7.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002676/0.7081, allocations: 0.8509 MB / 0.6299 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01888/0.727, allocations: 8.259 MB / 0.638 GB, free: 14.54 MB / 494.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.07072/0.7978, allocations: 36.38 MB / 0.6735 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.8098, allocations: 8.059 MB / 0.6814 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006315/0.8162, allocations: 3.156 MB / 0.6844 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006856/0.8169, allocations: 81.61 kB / 0.6845 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.817, allocations: 98.8 kB / 0.6846 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=559): time 1.375e-05/0.8171, allocations: 0 / 0.6846 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=617): time 0.4572/1.274, allocations: 33.33 MB / 0.7172 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001545/1.274, allocations: 409.8 kB / 0.7176 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006601/1.281, allocations: 4.164 MB / 0.7216 GB, free: 174 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/1.282, allocations: 133.3 kB / 0.7218 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002297/1.285, allocations: 3.258 MB / 0.7249 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.004402/1.289, allocations: 2.182 MB / 0.7271 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002286/1.291, allocations: 1.246 MB / 0.7283 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/1.291, allocations: 302 kB / 0.7286 GB, free: 168.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004526/1.296, allocations: 3.113 MB / 0.7316 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004479/1.301, allocations: 4.942 MB / 0.7364 GB, free: 164.5 MB / 0.5294 GB 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.04408/1.345, allocations: 27.12 MB / 0.7629 GB, free: 149.6 MB / 0.5294 GB Warning: It was not possible to solve the under-determined initial system (646 equations and 676 variables) Error: No system for the symbolic initialization was generated