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.001049/0.001049, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001051/0.001051, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.341/1.341, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1841/0.1841, allocations: 38.04 MB / 330.5 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 60.95 kB / 400.2 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1156, allocations: 58.07 MB / 458.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03923/0.1549, allocations: 39.09 MB / 497.4 MB, free: 112 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.243/0.398, allocations: 17.31 MB / 0.5026 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005378/0.4034, allocations: 242.5 kB / 0.5029 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03862/0.442, allocations: 23.18 MB / 0.5255 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00999/0.452, allocations: 4.946 MB / 0.5303 GB, free: 6.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006719/0.4588, allocations: 3.276 MB / 0.5335 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02177/0.4806, allocations: 16.96 MB / 0.5501 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007844/0.4884, allocations: 5.724 MB / 0.5557 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00935/0.4978, allocations: 5.532 MB / 0.5611 GB, free: 13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01026/0.5081, allocations: 6.524 MB / 0.5675 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003044/0.5112, allocations: 0.8789 MB / 0.5683 GB, free: 6.086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005755/0.517, allocations: 1.723 MB / 0.57 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00663/0.5236, allocations: 4.274 MB / 0.5742 GB, free: 200 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01069/0.5343, allocations: 4.773 MB / 0.5788 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01641/0.5508, allocations: 13.05 MB / 0.5916 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.5508, allocations: 0 / 0.5916 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5508, allocations: 0 / 0.5916 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004311/0.5513, allocations: 0 / 0.5916 GB, free: 14.62 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.02033/0.5716, allocations: 8.835 MB / 0.6002 GB, free: 5.773 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5717, allocations: 15.89 kB / 0.6002 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007014/0.5787, allocations: 1.349 MB / 0.6016 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0152/0.5939, allocations: 6.088 MB / 0.6075 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/0.5944, allocations: 480.4 kB / 0.608 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003493/0.5979, allocations: 0.9555 MB / 0.6089 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02178/0.6197, allocations: 10.03 MB / 0.6187 GB, free: 2.695 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003131/0.62, allocations: 35.67 kB / 0.6187 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001424/0.6215, allocations: 264.6 kB / 0.619 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002408/0.6239, allocations: 0.8404 MB / 0.6198 GB, free: 1.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.6415, allocations: 8.271 MB / 0.6279 GB, free: 9.297 MB / 478.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.06672/0.7082, allocations: 36.11 MB / 0.6631 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/0.7205, allocations: 8.064 MB / 0.671 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006206/0.7268, allocations: 3.144 MB / 0.6741 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004396/0.7272, allocations: 80.41 kB / 0.6742 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.612e-05/0.7273, allocations: 102.7 kB / 0.6743 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=559): time 7.664e-06/0.7273, allocations: 0 / 0.6743 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=617): time 0.4285/1.156, allocations: 33.33 MB / 0.7068 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/1.156, allocations: 406.9 kB / 0.7072 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007309/1.163, allocations: 4.165 MB / 0.7113 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001101/1.165, allocations: 136.7 kB / 0.7114 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/1.167, allocations: 3.261 MB / 0.7146 GB, free: 178 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002396/1.169, allocations: 2.185 MB / 0.7167 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/1.171, allocations: 1.246 MB / 0.7179 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.25e-05/1.171, allocations: 302.4 kB / 0.7182 GB, free: 175.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004676/1.176, allocations: 3.111 MB / 0.7212 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004924/1.181, allocations: 4.942 MB / 0.7261 GB, free: 171.1 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.04605/1.227, allocations: 27.09 MB / 0.7525 GB, free: 160.1 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