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.000774/0.0007741, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.0007972/0.0007973, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.464/1.464, allocations: 223.3 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1899/0.1899, allocations: 38.09 MB / 331.5 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 8 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1412, allocations: 59.16 MB / 460.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.05057/0.1918, allocations: 46.35 MB / 0.495 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3602/0.552, allocations: 20.17 MB / 0.5147 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009701/0.5617, allocations: 392.4 kB / 0.5151 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03578/0.5975, allocations: 20.43 MB / 0.535 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.613, allocations: 4.753 MB / 0.5396 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009973/0.623, allocations: 2.98 MB / 0.5426 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03342/0.6565, allocations: 24.34 MB / 0.5663 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01523/0.6718, allocations: 6.85 MB / 0.573 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01188/0.6837, allocations: 4.261 MB / 0.5772 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0132/0.6969, allocations: 6.473 MB / 0.5835 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003482/0.7004, allocations: 368 kB / 0.5838 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007077/0.7075, allocations: 1.263 MB / 0.5851 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007884/0.7155, allocations: 3.72 MB / 0.5887 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01147/0.727, allocations: 4.122 MB / 0.5927 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01756/0.7445, allocations: 10.2 MB / 0.6027 GB, free: 5.754 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7446, allocations: 0 / 0.6027 GB, free: 5.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7446, allocations: 0 / 0.6027 GB, free: 5.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006135/0.7452, allocations: 0 / 0.6027 GB, free: 5.754 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.02425/0.7695, allocations: 7.136 MB / 0.6097 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.7696, allocations: 15.97 kB / 0.6097 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.7796, allocations: 1.354 MB / 0.611 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01508/0.7948, allocations: 5.821 MB / 0.6167 GB, free: 7.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005201/0.7953, allocations: 486.5 kB / 0.6172 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003384/0.7987, allocations: 0.9438 MB / 0.6181 GB, free: 6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0215/0.8202, allocations: 10.03 MB / 0.6279 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002289/0.8205, allocations: 39.67 kB / 0.6279 GB, free: 11.69 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008567/0.8214, allocations: 262.3 kB / 0.6282 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/0.8239, allocations: 0.8442 MB / 0.629 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.8439, allocations: 8.284 MB / 0.6371 GB, free: 2.312 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.076/0.92, allocations: 36.46 MB / 0.6727 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/0.9332, allocations: 8.07 MB / 0.6806 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007066/0.9403, allocations: 3.163 MB / 0.6837 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/0.9407, allocations: 70.47 kB / 0.6837 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.9408, allocations: 114.7 kB / 0.6838 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=559): time 7.474e-06/0.9409, allocations: 0 / 0.6838 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=617): time 0.5873/1.528, allocations: 33.41 MB / 0.7165 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003196/1.529, allocations: 402.5 kB / 0.7168 GB, free: 178.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/1.541, allocations: 4.165 MB / 0.7209 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001837/1.542, allocations: 136.6 kB / 0.721 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004128/1.547, allocations: 3.265 MB / 0.7242 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.004165/1.551, allocations: 2.186 MB / 0.7264 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002081/1.553, allocations: 0.5973 MB / 0.7269 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/1.553, allocations: 305.8 kB / 0.7272 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006581/1.56, allocations: 3.113 MB / 0.7303 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007021/1.567, allocations: 4.951 MB / 0.7351 GB, free: 167.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.05742/1.624, allocations: 27.14 MB / 0.7616 GB, free: 153.3 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