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.0008808/0.0008809, allocations: 95.39 kB / 16.95 MB, free: 5.953 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.0008711/0.0008711, allocations: 176.3 kB / 17.84 MB, free: 5.617 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.328/1.328, allocations: 223.2 MB / 241.8 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1642/0.1642, allocations: 38.1 MB / 331.1 MB, free: 8.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003158, allocations: 9.281 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1301, allocations: 59.17 MB / 459.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01411/0.1442, allocations: 11.69 MB / 471.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.1582, allocations: 7.194 MB / 478.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.1604, allocations: 79.44 kB / 478.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02122/0.1817, allocations: 12 MB / 490.8 MB, free: 8.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.1858, allocations: 1.155 MB / 492 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.1882, allocations: 0.6357 MB / 492.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006988/0.1952, allocations: 4.565 MB / 497.2 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.1978, allocations: 1.187 MB / 498.4 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.1999, allocations: 0.9141 MB / 499.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/0.2024, allocations: 1.394 MB / 0.4889 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.2029, allocations: 76 kB / 0.489 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.2043, allocations: 411.3 kB / 0.4894 GB, free: 14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.2054, allocations: 0.826 MB / 0.4902 GB, free: 13.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007262/0.2061, allocations: 352.8 kB / 0.4905 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.2084, allocations: 1.866 MB / 0.4924 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2084, allocations: 0 / 0.4924 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2084, allocations: 0 / 0.4924 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.692e-05/0.2085, allocations: 0 / 0.4924 GB, free: 10.95 MB / 382.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.004392/0.2129, allocations: 1.842 MB / 0.4942 GB, free: 9.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.213, allocations: 19.91 kB / 0.4942 GB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.2147, allocations: 321.4 kB / 0.4945 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/0.2173, allocations: 1.199 MB / 0.4957 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/0.2174, allocations: 94.66 kB / 0.4958 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005685/0.218, allocations: 243.7 kB / 0.496 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/0.2215, allocations: 2.141 MB / 0.4981 GB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.2216, allocations: 7.984 kB / 0.4981 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.2218, allocations: 55.97 kB / 0.4981 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005704/0.2224, allocations: 182.7 kB / 0.4983 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.2257, allocations: 1.756 MB / 0.5 GB, free: 2.883 MB / 382.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.2833/0.5091, allocations: 8.627 MB / 0.5084 GB, free: 52.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.5119, allocations: 1.811 MB / 0.5102 GB, free: 51.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.5134, allocations: 0.773 MB / 0.511 GB, free: 51.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.5135, allocations: 20.48 kB / 0.511 GB, free: 51.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.5136, allocations: 49.22 kB / 0.511 GB, free: 51.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.948e-06/0.5136, allocations: 0 / 0.511 GB, free: 51.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01192/0.5255, allocations: 5.497 MB / 0.5164 GB, free: 48.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.5256, allocations: 91.67 kB / 0.5165 GB, free: 48.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.527, allocations: 1.028 MB / 0.5175 GB, free: 48.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/0.5271, allocations: 47.16 kB / 0.5175 GB, free: 48.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004814/0.5276, allocations: 0.7667 MB / 0.5183 GB, free: 47.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.528, allocations: 0.4973 MB / 0.5188 GB, free: 47.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/0.5281, allocations: 34.84 kB / 0.5188 GB, free: 47.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.5282, allocations: 382.4 kB / 0.5192 GB, free: 46.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.5295, allocations: 0.7154 MB / 0.5199 GB, free: 46.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.5311, allocations: 1.185 MB / 0.521 GB, free: 45.84 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.007229/0.5383, allocations: 2.331 MB / 0.5233 GB, free: 45.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.5383, allocations: 3.938 kB / 0.5233 GB, free: 45.34 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