Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Wind.WindTurbine_PSGR.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Wind.WindTurbine_PSGR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002572/0.002577, allocations: 361.4 kB / 17.21 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.673/3.673, allocations: 388.9 MB / 406.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003523/0.003523, allocations: 235.9 kB / 452.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7235/0.7235, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000665/0.0006652, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09078/0.09147, allocations: 53.24 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0133/0.1048, allocations: 11.66 MB / 0.6856 GB, free: 49.12 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01356/0.1184, allocations: 7.224 MB / 0.6927 GB, free: 41.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.1202, allocations: 79.44 kB / 0.6927 GB, free: 41.81 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02829/0.1485, allocations: 11.95 MB / 0.7044 GB, free: 29.84 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.1534, allocations: 1.127 MB / 0.7055 GB, free: 28.71 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.1565, allocations: 0.6315 MB / 0.7061 GB, free: 28.08 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00938/0.1659, allocations: 4.557 MB / 0.7106 GB, free: 23.51 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003191/0.1691, allocations: 1.183 MB / 0.7117 GB, free: 22.27 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.1715, allocations: 0.8868 MB / 0.7126 GB, free: 21.38 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002937/0.1744, allocations: 1.394 MB / 0.714 GB, free: 19.98 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.1748, allocations: 76 kB / 0.714 GB, free: 19.91 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.1762, allocations: 403.3 kB / 0.7144 GB, free: 19.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001192/0.1775, allocations: 0.8221 MB / 0.7152 GB, free: 18.69 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.1781, allocations: 360.6 kB / 0.7156 GB, free: 18.33 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.1814, allocations: 1.859 MB / 0.7174 GB, free: 16.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1815, allocations: 0 / 0.7174 GB, free: 16.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1815, allocations: 0 / 0.7174 GB, free: 16.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.687e-05/0.1816, allocations: 4 kB / 0.7174 GB, free: 16.46 MB / 442.7 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.006773/0.1884, allocations: 1.85 MB / 0.7192 GB, free: 14.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1884, allocations: 8.031 kB / 0.7192 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003655/0.1921, allocations: 333.3 kB / 0.7195 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00485/0.197, allocations: 1.199 MB / 0.7207 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.1971, allocations: 102.7 kB / 0.7208 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/0.1984, allocations: 231.8 kB / 0.721 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.2047, allocations: 2.142 MB / 0.7231 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.608e-05/0.2049, allocations: 7.938 kB / 0.7231 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002978/0.2052, allocations: 55.98 kB / 0.7232 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001491/0.2067, allocations: 190.6 kB / 0.7233 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005993/0.2127, allocations: 1.752 MB / 0.725 GB, free: 8.391 MB / 442.7 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.3436/0.5564, allocations: 8.612 MB / 0.7335 GB, free: 126.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.5608, allocations: 1.811 MB / 0.7352 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.5633, allocations: 0.7707 MB / 0.736 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.5635, allocations: 21.78 kB / 0.736 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.5635, allocations: 46.92 kB / 0.736 GB, free: 126 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 4.659e-06/0.5635, allocations: 0 / 0.736 GB, free: 126 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.021/0.5845, allocations: 6.608 MB / 0.7425 GB, free: 124.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.5846, allocations: 96.94 kB / 0.7426 GB, free: 124.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.5866, allocations: 1.028 MB / 0.7436 GB, free: 123.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.5869, allocations: 51.14 kB / 0.7436 GB, free: 123.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000646/0.5875, allocations: 0.7634 MB / 0.7444 GB, free: 123.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005855/0.5881, allocations: 0.5002 MB / 0.7449 GB, free: 122.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.5883, allocations: 36.2 kB / 0.7449 GB, free: 122.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5884, allocations: 377.1 kB / 0.7453 GB, free: 122.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.5904, allocations: 0.7178 MB / 0.746 GB, free: 122.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.5927, allocations: 1.183 MB / 0.7471 GB, free: 121.3 MB / 442.7 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.01477/0.6074, allocations: 2.321 MB / 0.7494 GB, free: 120.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/0.6075, allocations: 3.375 kB / 0.7494 GB, free: 120.9 MB / 442.7 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