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.001072/0.001072, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001153/0.001153, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.174/0.174, allocations: 38.04 MB / 329.3 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.31 kB / 398.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1167, allocations: 58.06 MB / 456.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.04307/0.1598, allocations: 47.61 MB / 0.492 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3059/0.4657, allocations: 20.4 MB / 0.5119 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01065/0.4764, allocations: 417.3 kB / 0.5123 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04148/0.5179, allocations: 23.29 MB / 0.535 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01496/0.5329, allocations: 4.749 MB / 0.5397 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01142/0.5443, allocations: 2.991 MB / 0.5426 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0325/0.5768, allocations: 24.33 MB / 0.5663 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01414/0.5911, allocations: 5.03 MB / 0.5712 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01226/0.6034, allocations: 4.522 MB / 0.5757 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01311/0.6165, allocations: 6.809 MB / 0.5823 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002997/0.6195, allocations: 480 kB / 0.5828 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005632/0.6252, allocations: 1.368 MB / 0.5841 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00622/0.6314, allocations: 3.889 MB / 0.5879 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009228/0.6407, allocations: 4.309 MB / 0.5921 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01583/0.6565, allocations: 12.61 MB / 0.6044 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6566, allocations: 4 kB / 0.6044 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6566, allocations: 0 / 0.6044 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005117/0.6571, allocations: 0 / 0.6044 GB, free: 0.8398 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.02538/0.6825, allocations: 8.828 MB / 0.6131 GB, free: 7.992 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.6826, allocations: 8.031 kB / 0.6131 GB, free: 7.984 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008663/0.6912, allocations: 1.365 MB / 0.6144 GB, free: 6.617 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01428/0.7056, allocations: 5.799 MB / 0.6201 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.706, allocations: 489.2 kB / 0.6205 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003359/0.7094, allocations: 0.949 MB / 0.6214 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.7332, allocations: 10.03 MB / 0.6312 GB, free: 5.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004188/0.7337, allocations: 39.67 kB / 0.6313 GB, free: 5.148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001938/0.7357, allocations: 266.4 kB / 0.6315 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003035/0.7387, allocations: 0.8443 MB / 0.6324 GB, free: 4.062 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01991/0.7586, allocations: 8.261 MB / 0.6404 GB, free: 11.79 MB / 494.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.06378/0.8225, allocations: 36.38 MB / 0.676 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01227/0.8348, allocations: 8.069 MB / 0.6838 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005828/0.8406, allocations: 3.152 MB / 0.6869 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/0.8412, allocations: 79.33 kB / 0.687 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.8413, allocations: 102.7 kB / 0.6871 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=559): time 8.646e-06/0.8413, allocations: 0 / 0.6871 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=617): time 0.4674/1.309, allocations: 33.33 MB / 0.7196 GB, free: 176.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/1.309, allocations: 406.8 kB / 0.72 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009079/1.318, allocations: 4.164 MB / 0.7241 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001604/1.32, allocations: 139.4 kB / 0.7242 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002841/1.322, allocations: 3.254 MB / 0.7274 GB, free: 171.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003257/1.326, allocations: 2.184 MB / 0.7295 GB, free: 170 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002326/1.328, allocations: 1.255 MB / 0.7308 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.839e-05/1.328, allocations: 301.1 kB / 0.7311 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004386/1.333, allocations: 3.099 MB / 0.7341 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006551/1.339, allocations: 4.952 MB / 0.7389 GB, free: 164.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.05305/1.392, allocations: 27.08 MB / 0.7654 GB, free: 147.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