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.0013/0.001299, allocations: 109.7 kB / 16.92 MB, free: 6.145 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.001386/0.001386, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.36/1.36, allocations: 222.9 MB / 241.5 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.172/0.172, allocations: 38.04 MB / 329.7 MB, free: 8.828 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 61.39 kB / 398.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.11, allocations: 58.06 MB / 456.9 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03858/0.1486, allocations: 39.07 MB / 495.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2948/0.4435, allocations: 17.32 MB / 0.5012 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006065/0.4496, allocations: 244.7 kB / 0.5015 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03895/0.4885, allocations: 23.18 MB / 0.5241 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.4997, allocations: 4.946 MB / 0.5289 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007309/0.507, allocations: 3.271 MB / 0.5321 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0206/0.5276, allocations: 16.98 MB / 0.5487 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01422/0.5419, allocations: 5.738 MB / 0.5543 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/0.5538, allocations: 5.5 MB / 0.5597 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01147/0.5653, allocations: 6.536 MB / 0.5661 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002358/0.5677, allocations: 0.8789 MB / 0.5669 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004764/0.5725, allocations: 1.714 MB / 0.5686 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005079/0.5776, allocations: 4.273 MB / 0.5728 GB, free: 452 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007917/0.5855, allocations: 4.774 MB / 0.5774 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.5994, allocations: 12.9 MB / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.5995, allocations: 3.938 kB / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.5995, allocations: 0 / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005027/0.6, allocations: 3.938 kB / 0.59 GB, free: 15.02 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.02356/0.6236, allocations: 8.828 MB / 0.5986 GB, free: 6.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.6236, allocations: 15.89 kB / 0.5987 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007495/0.6311, allocations: 1.348 MB / 0.6 GB, free: 4.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/0.6446, allocations: 5.818 MB / 0.6057 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005166/0.6452, allocations: 480.8 kB / 0.6061 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003714/0.6489, allocations: 0.9587 MB / 0.6071 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01975/0.6686, allocations: 10.03 MB / 0.6169 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/0.6689, allocations: 35.69 kB / 0.6169 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006996/0.6696, allocations: 266.7 kB / 0.6171 GB, free: 3.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.6721, allocations: 0.8482 MB / 0.618 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.689, allocations: 8.261 MB / 0.626 GB, free: 9.957 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.06791/0.7569, allocations: 36.39 MB / 0.6616 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.7673, allocations: 8.059 MB / 0.6694 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00465/0.772, allocations: 3.152 MB / 0.6725 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.7723, allocations: 74.84 kB / 0.6726 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.221e-05/0.7723, allocations: 108.5 kB / 0.6727 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=559): time 8.496e-06/0.7724, allocations: 3.938 kB / 0.6727 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=617): time 0.395/1.167, allocations: 33.33 MB / 0.7052 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.167, allocations: 412.1 kB / 0.7056 GB, free: 182 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005857/1.173, allocations: 4.165 MB / 0.7097 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009909/1.174, allocations: 132.2 kB / 0.7098 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002047/1.176, allocations: 3.264 MB / 0.713 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/1.179, allocations: 2.177 MB / 0.7151 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002078/1.181, allocations: 1.25 MB / 0.7164 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/1.181, allocations: 306.3 kB / 0.7167 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004822/1.186, allocations: 3.109 MB / 0.7197 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005025/1.191, allocations: 4.948 MB / 0.7245 GB, free: 171.3 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.04525/1.236, allocations: 27.11 MB / 0.751 GB, free: 160.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