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.001765/0.001766, allocations: 109.1 kB / 17.28 MB, free: 6.059 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.001983/0.001983, allocations: 193.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.474/2.474, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3514/0.3514, allocations: 38.04 MB / 330.1 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 57.47 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1554, allocations: 58.07 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.08357/0.239, allocations: 47.62 MB / 0.4928 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3729/0.612, allocations: 20.11 MB / 0.5124 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/0.6248, allocations: 416.4 kB / 0.5128 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.07115/0.696, allocations: 23.79 MB / 0.5361 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02312/0.7191, allocations: 4.627 MB / 0.5406 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01665/0.7358, allocations: 3.021 MB / 0.5435 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04588/0.7817, allocations: 17.2 MB / 0.5603 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02511/0.8069, allocations: 6.058 MB / 0.5662 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02016/0.8271, allocations: 5.575 MB / 0.5717 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01926/0.8464, allocations: 7.031 MB / 0.5786 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005075/0.8516, allocations: 0.8789 MB / 0.5794 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/0.8619, allocations: 1.723 MB / 0.5811 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01594/0.8779, allocations: 4.3 MB / 0.5853 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01673/0.8947, allocations: 4.764 MB / 0.59 GB, free: 144 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02307/0.9178, allocations: 10.55 MB / 0.6003 GB, free: 5.848 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-05/0.9179, allocations: 3.984 kB / 0.6003 GB, free: 5.844 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.9179, allocations: 0 / 0.6003 GB, free: 5.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006122/0.9186, allocations: 0 / 0.6003 GB, free: 5.844 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.0461/0.9647, allocations: 8.83 MB / 0.6089 GB, free: 12.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.899e-05/0.9648, allocations: 15.88 kB / 0.6089 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01749/0.9823, allocations: 1.355 MB / 0.6102 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02525/1.008, allocations: 5.811 MB / 0.6159 GB, free: 5.805 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008765/1.009, allocations: 483.5 kB / 0.6164 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006439/1.015, allocations: 0.9509 MB / 0.6173 GB, free: 4.441 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03901/1.054, allocations: 10.03 MB / 0.6271 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006312/1.055, allocations: 35.69 kB / 0.6271 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004371/1.059, allocations: 268 kB / 0.6274 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005533/1.065, allocations: 0.8404 MB / 0.6282 GB, free: 9.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0329/1.098, allocations: 8.268 MB / 0.6363 GB, free: 0.7812 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.1227/1.22, allocations: 36.39 MB / 0.6718 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02051/1.241, allocations: 8.062 MB / 0.6797 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01043/1.252, allocations: 3.16 MB / 0.6827 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008829/1.252, allocations: 75 kB / 0.6828 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/1.253, allocations: 106.7 kB / 0.6829 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=559): time 3.303e-05/1.253, allocations: 0 / 0.6829 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=617): time 0.7851/2.038, allocations: 33.33 MB / 0.7155 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002817/2.038, allocations: 405.9 kB / 0.7159 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01847/2.057, allocations: 4.167 MB / 0.7199 GB, free: 175.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.002062/2.059, allocations: 136.7 kB / 0.7201 GB, free: 175.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005284/2.064, allocations: 3.259 MB / 0.7232 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.004768/2.069, allocations: 2.183 MB / 0.7254 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007333/2.076, allocations: 1.254 MB / 0.7266 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/2.077, allocations: 301.1 kB / 0.7269 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/2.087, allocations: 3.105 MB / 0.7299 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01183/2.099, allocations: 4.947 MB / 0.7347 GB, free: 165.9 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.0946/2.194, allocations: 27.11 MB / 0.7612 GB, free: 151.8 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