Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009666/0.0009667, allocations: 87.16 kB / 16.31 MB, free: 6.449 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.001084/0.001084, allocations: 180.4 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 223.4 MB, free: 5.289 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3095/0.3095, allocations: 38.05 MB / 309.7 MB, free: 9.062 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005055, allocations: 12 kB / 376.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.0965, allocations: 56.33 MB / 432.8 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01132/0.1079, allocations: 11.67 MB / 444.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1188, allocations: 7.243 MB / 451.8 MB, free: 3.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.1207, allocations: 83.44 kB / 451.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2008/0.3215, allocations: 12 MB / 463.8 MB, free: 35.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.3246, allocations: 1.15 MB / 465 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.3261, allocations: 0.6289 MB / 465.6 MB, free: 35.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004614/0.3308, allocations: 4.568 MB / 470.2 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.3324, allocations: 1.186 MB / 471.4 MB, free: 35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.334, allocations: 0.9185 MB / 472.3 MB, free: 34.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.3355, allocations: 1.389 MB / 473.7 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.3357, allocations: 75.16 kB / 473.8 MB, free: 34.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008224/0.3366, allocations: 412.7 kB / 474.2 MB, free: 34.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005709/0.3371, allocations: 0.8299 MB / 475 MB, free: 34.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.3375, allocations: 347.8 kB / 475.3 MB, free: 34.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.3389, allocations: 1.865 MB / 477.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3389, allocations: 0 / 477.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3389, allocations: 0 / 477.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.886e-05/0.3389, allocations: 0 / 477.2 MB, free: 34.32 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.003027/0.3419, allocations: 1.853 MB / 479 MB, free: 33.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.342, allocations: 6.719 kB / 479.1 MB, free: 33.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.3434, allocations: 319.3 kB / 479.4 MB, free: 33.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002271/0.3457, allocations: 1.199 MB / 480.6 MB, free: 32.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-05/0.3458, allocations: 100.2 kB / 480.7 MB, free: 32.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/0.3463, allocations: 233.4 kB / 480.9 MB, free: 32.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003458/0.3498, allocations: 2.142 MB / 483 MB, free: 32.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-05/0.3499, allocations: 10.94 kB / 483 MB, free: 32.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.3501, allocations: 56.7 kB / 483.1 MB, free: 32.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005591/0.3506, allocations: 180.1 kB / 483.3 MB, free: 32.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003067/0.3537, allocations: 1.761 MB / 485 MB, free: 32.46 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.01127/0.365, allocations: 8.63 MB / 493.7 MB, free: 28.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.3674, allocations: 1.822 MB / 495.5 MB, free: 27.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.3686, allocations: 0.7705 MB / 496.3 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/0.3688, allocations: 20.88 kB / 496.3 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.3688, allocations: 46.7 kB / 496.3 MB, free: 27.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.276e-06/0.3688, allocations: 0 / 496.3 MB, free: 27.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01007/0.3789, allocations: 5.491 MB / 0.4901 GB, free: 25.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.3789, allocations: 92.86 kB / 0.4901 GB, free: 25.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.3803, allocations: 1.023 MB / 0.4911 GB, free: 24.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.3804, allocations: 52.41 kB / 0.4912 GB, free: 24.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/0.3808, allocations: 0.765 MB / 0.4919 GB, free: 24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/0.3812, allocations: 0.505 MB / 0.4924 GB, free: 23.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.3813, allocations: 37.3 kB / 0.4925 GB, free: 23.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.3814, allocations: 375.8 kB / 0.4928 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.3825, allocations: 0.7169 MB / 0.4935 GB, free: 23.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.3838, allocations: 1.181 MB / 0.4947 GB, free: 22.23 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.007424/0.3912, allocations: 2.342 MB / 0.497 GB, free: 21.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.3912, allocations: 6.828 kB / 0.497 GB, free: 21.54 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