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.001254/0.001254, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001354/0.001354, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.347/1.347, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1892/0.1892, allocations: 38.04 MB / 330.4 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 57.3 kB / 399.5 MB, free: 34.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1073, allocations: 58.06 MB / 457.5 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03691/0.1443, allocations: 39.08 MB / 496.6 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2738/0.4181, allocations: 17.32 MB / 0.5019 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005739/0.4239, allocations: 244.9 kB / 0.5021 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03831/0.4622, allocations: 23.18 MB / 0.5247 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.4731, allocations: 4.954 MB / 0.5296 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007614/0.4808, allocations: 3.268 MB / 0.5328 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02225/0.5031, allocations: 16.97 MB / 0.5494 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.5131, allocations: 5.735 MB / 0.555 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01049/0.5236, allocations: 5.507 MB / 0.5603 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.5342, allocations: 6.523 MB / 0.5667 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003653/0.5379, allocations: 0.8789 MB / 0.5676 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006805/0.5447, allocations: 1.722 MB / 0.5692 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006989/0.5517, allocations: 4.27 MB / 0.5734 GB, free: 464 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.5619, allocations: 4.776 MB / 0.5781 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01752/0.5795, allocations: 12.9 MB / 0.5907 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.5795, allocations: 0 / 0.5907 GB, free: 15.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5795, allocations: 0 / 0.5907 GB, free: 15.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004556/0.58, allocations: 0 / 0.5907 GB, free: 15.03 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.02415/0.6042, allocations: 8.833 MB / 0.5993 GB, free: 6.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.6042, allocations: 15.89 kB / 0.5993 GB, free: 6.168 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009016/0.6132, allocations: 1.351 MB / 0.6006 GB, free: 4.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/0.6276, allocations: 5.818 MB / 0.6063 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005913/0.6282, allocations: 485.4 kB / 0.6068 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003696/0.6319, allocations: 0.9498 MB / 0.6077 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02255/0.6545, allocations: 10.03 MB / 0.6175 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003539/0.6548, allocations: 39.67 kB / 0.6175 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001769/0.6566, allocations: 264 kB / 0.6178 GB, free: 3.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002832/0.6595, allocations: 0.8404 MB / 0.6186 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0185/0.678, allocations: 8.272 MB / 0.6267 GB, free: 9.969 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.07165/0.7497, allocations: 36.4 MB / 0.6622 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.7624, allocations: 8.058 MB / 0.6701 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005771/0.7682, allocations: 3.148 MB / 0.6732 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004807/0.7687, allocations: 77.83 kB / 0.6732 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.74e-05/0.7689, allocations: 102.7 kB / 0.6733 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=559): time 1.022e-05/0.7689, allocations: 4 kB / 0.6733 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=617): time 0.251/1.02, allocations: 33.33 MB / 0.7059 GB, free: 184 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/1.02, allocations: 406.3 kB / 0.7063 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00652/1.027, allocations: 4.172 MB / 0.7104 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/1.028, allocations: 135.8 kB / 0.7105 GB, free: 182 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002089/1.03, allocations: 3.261 MB / 0.7137 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002129/1.032, allocations: 2.18 MB / 0.7158 GB, free: 178 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001915/1.034, allocations: 1.246 MB / 0.717 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/1.034, allocations: 301.7 kB / 0.7173 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004856/1.039, allocations: 3.104 MB / 0.7203 GB, free: 176.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005195/1.044, allocations: 4.955 MB / 0.7252 GB, free: 172.8 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.04667/1.091, allocations: 27.11 MB / 0.7516 GB, free: 162.5 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