Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.WindTurbine_PSGR,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.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,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.WindTurbine_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 90.28 kB / 16.3 MB, free: 5.996 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.0009778/0.0009778, allocations: 181 kB / 17.2 MB, free: 5.914 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.249/1.249, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2711/0.2711, allocations: 38.07 MB / 330.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 19.98 kB / 400 MB, free: 9.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2433, allocations: 59.15 MB / 459.1 MB, free: 30.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.009543/0.2529, allocations: 11.06 MB / 470.2 MB, free: 22.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01004/0.263, allocations: 7.133 MB / 477.3 MB, free: 17.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.2649, allocations: 80.47 kB / 477.4 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006883/0.2718, allocations: 2.829 MB / 480.2 MB, free: 16.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002838/0.2747, allocations: 0.8524 MB / 481.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.2764, allocations: 0.6325 MB / 481.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.2781, allocations: 1.283 MB / 483 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.2797, allocations: 1.184 MB / 484.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.2808, allocations: 0.7568 MB / 484.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.2821, allocations: 0.928 MB / 485.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.2822, allocations: 76.19 kB / 485.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008901/0.2831, allocations: 388.3 kB / 486.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007007/0.2839, allocations: 0.743 MB / 487.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.2842, allocations: 356.9 kB / 487.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2854, allocations: 1.855 MB / 489.3 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2854, allocations: 4 kB / 489.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2854, allocations: 0 / 489.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.2854, allocations: 4 kB / 489.3 MB, free: 9.801 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002939/0.2884, allocations: 1.842 MB / 491.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2884, allocations: 8.031 kB / 491.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.2899, allocations: 337.3 kB / 491.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/0.2919, allocations: 1.199 MB / 492.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.292, allocations: 98.66 kB / 492.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004404/0.2925, allocations: 243.6 kB / 493 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.2948, allocations: 2.135 MB / 495.1 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.2949, allocations: 7.938 kB / 495.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.295, allocations: 51.98 kB / 495.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005437/0.2955, allocations: 182.7 kB / 495.3 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.2978, allocations: 1.752 MB / 497.1 MB, free: 1.742 MB / 350.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.01117/0.309, allocations: 8.64 MB / 0.4939 GB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.3112, allocations: 1.807 MB / 0.4957 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-05/0.3113, allocations: 21.06 kB / 0.4957 GB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.3113, allocations: 47.5 kB / 0.4957 GB, free: 6.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.607e-06/0.3113, allocations: 0 / 0.4957 GB, free: 6.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=137): time 0.009808/0.3212, allocations: 5.451 MB / 0.501 GB, free: 1.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.3213, allocations: 94.42 kB / 0.5011 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.3225, allocations: 1.025 MB / 0.5021 GB, free: 15.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.3226, allocations: 49.7 kB / 0.5022 GB, free: 15.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004783/0.3231, allocations: 0.7599 MB / 0.5029 GB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.3235, allocations: 0.5007 MB / 0.5034 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.3236, allocations: 32 kB / 0.5034 GB, free: 14.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3238, allocations: 381.8 kB / 0.5038 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.3248, allocations: 0.7106 MB / 0.5045 GB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.3261, allocations: 1.165 MB / 0.5056 GB, free: 12.11 MB / 382.1 MB 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.007345/0.3335, allocations: 2.285 MB / 0.5079 GB, free: 9.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.3335, allocations: 4 kB / 0.5079 GB, free: 9.828 MB / 382.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated