Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 94.59 kB / 16.95 MB, free: 5.676 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.001114/0.001114, allocations: 180 kB / 17.84 MB, free: 5.324 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.654/1.654, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.171/0.171, allocations: 38.04 MB / 310.3 MB, free: 6.113 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.0005194/0.0005195, allocations: 12 kB / 377.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.298, allocations: 56.34 MB / 433.5 MB, free: 18.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.009646/0.3077, allocations: 11.73 MB / 445.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009948/0.3177, allocations: 7.243 MB / 452.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.3197, allocations: 91.38 kB / 452.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0205/0.3402, allocations: 11.99 MB / 464.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.3445, allocations: 1.171 MB / 465.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002255/0.3468, allocations: 0.6705 MB / 466.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006993/0.3538, allocations: 4.663 MB / 471 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.3561, allocations: 1.129 MB / 472.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.3581, allocations: 0.9529 MB / 473.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.3606, allocations: 1.437 MB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.3608, allocations: 76 kB / 474.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.3621, allocations: 415.3 kB / 475 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009065/0.363, allocations: 0.8376 MB / 475.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005691/0.3636, allocations: 356.8 kB / 476.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.3657, allocations: 1.898 MB / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3657, allocations: 0 / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3657, allocations: 0 / 478.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.339e-05/0.3658, allocations: 0 / 478.1 MB, free: 6.047 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004035/0.3698, allocations: 1.921 MB / 480 MB, free: 4.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3699, allocations: 12.03 kB / 480 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.3715, allocations: 329.3 kB / 480.4 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.3741, allocations: 1.245 MB / 481.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3742, allocations: 102.7 kB / 481.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005346/0.3748, allocations: 239.7 kB / 481.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003437/0.3782, allocations: 2.184 MB / 484.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.3783, allocations: 4 kB / 484.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.3784, allocations: 59.97 kB / 484.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005511/0.379, allocations: 190.7 kB / 484.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.3822, allocations: 1.834 MB / 486.2 MB, free: 13.73 MB / 366.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.01257/0.3947, allocations: 8.583 MB / 494.8 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.3975, allocations: 1.908 MB / 496.7 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.3989, allocations: 0.8059 MB / 497.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.362e-05/0.399, allocations: 21.38 kB / 497.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.399, allocations: 43.88 kB / 497.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of pre-optimization done (n=130): time 4.088e-06/0.399, allocations: 0 / 497.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=145): time 0.01225/0.4113, allocations: 6.03 MB / 0.4918 GB, free: 11.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/0.4114, allocations: 94.42 kB / 0.4919 GB, free: 11.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.4129, allocations: 1.059 MB / 0.4929 GB, free: 10.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.475e-05/0.413, allocations: 49.7 kB / 0.493 GB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/0.4136, allocations: 0.7912 MB / 0.4937 GB, free: 9.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004693/0.4141, allocations: 0.5199 MB / 0.4942 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/0.4142, allocations: 32 kB / 0.4943 GB, free: 8.992 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4144, allocations: 385.9 kB / 0.4946 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.4156, allocations: 0.7379 MB / 0.4954 GB, free: 7.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.4173, allocations: 1.226 MB / 0.4966 GB, free: 6.445 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.007386/0.4247, allocations: 2.441 MB / 0.4989 GB, free: 4.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/0.4248, allocations: 4 kB / 0.499 GB, free: 4.023 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