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.000789/0.000789, allocations: 88.97 kB / 16.31 MB, free: 6.461 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.0008565/0.0008566, allocations: 181.7 kB / 17.21 MB, free: 6.328 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.303/1.303, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2945/0.2945, allocations: 38.05 MB / 309.7 MB, free: 8.828 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.0004938/0.0004939, allocations: 12 kB / 376.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.097, allocations: 56.34 MB / 432.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01248/0.1095, allocations: 11.73 MB / 444.6 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.1219, allocations: 7.24 MB / 451.8 MB, free: 3.684 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.1246, allocations: 87.38 kB / 451.9 MB, free: 3.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2038/0.3284, allocations: 11.98 MB / 463.9 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.3312, allocations: 1.175 MB / 465.1 MB, free: 35.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.3331, allocations: 0.6694 MB / 465.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005442/0.3385, allocations: 4.66 MB / 470.4 MB, free: 35.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.3408, allocations: 1.134 MB / 471.5 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.3428, allocations: 0.9478 MB / 472.5 MB, free: 34.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.3451, allocations: 1.438 MB / 473.9 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000492/0.3456, allocations: 77.5 kB / 474 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.3471, allocations: 405.9 kB / 474.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.3482, allocations: 0.8379 MB / 475.2 MB, free: 34.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.3489, allocations: 366.4 kB / 475.6 MB, free: 34.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.3509, allocations: 1.902 MB / 477.5 MB, free: 34.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.351, allocations: 0 / 477.5 MB, free: 34.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.351, allocations: 0 / 477.5 MB, free: 34.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.598e-05/0.3511, allocations: 2.188 kB / 477.5 MB, free: 34.23 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003858/0.3549, allocations: 1.912 MB / 479.4 MB, free: 33.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.355, allocations: 8.781 kB / 479.4 MB, free: 33.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.3567, allocations: 330.2 kB / 479.7 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.3591, allocations: 1.243 MB / 481 MB, free: 32.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.3592, allocations: 106 kB / 481.1 MB, free: 32.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005273/0.3597, allocations: 245.4 kB / 481.3 MB, free: 32.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.3629, allocations: 2.183 MB / 483.5 MB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.363, allocations: 10.94 kB / 483.5 MB, free: 32.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.3631, allocations: 56.52 kB / 483.6 MB, free: 32.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005277/0.3636, allocations: 182.5 kB / 483.7 MB, free: 32.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/0.3668, allocations: 1.832 MB / 485.6 MB, free: 32.36 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.01109/0.3779, allocations: 8.598 MB / 494.2 MB, free: 28.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.3802, allocations: 1.902 MB / 496.1 MB, free: 27.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.3815, allocations: 0.8028 MB / 496.9 MB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/0.3816, allocations: 21.47 kB / 496.9 MB, free: 27.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3816, allocations: 47.67 kB / 496.9 MB, free: 27.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.467e-06/0.3816, allocations: 0 / 496.9 MB, free: 27.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01093/0.3925, allocations: 6.013 MB / 0.4912 GB, free: 24.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3926, allocations: 97.86 kB / 0.4913 GB, free: 24.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.3939, allocations: 1.06 MB / 0.4923 GB, free: 24.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.394, allocations: 52.11 kB / 0.4923 GB, free: 24.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/0.3944, allocations: 0.7807 MB / 0.4931 GB, free: 23.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.3947, allocations: 0.5241 MB / 0.4936 GB, free: 23.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/0.3948, allocations: 34.78 kB / 0.4936 GB, free: 23.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.3949, allocations: 392.1 kB / 0.494 GB, free: 22.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.396, allocations: 0.7346 MB / 0.4947 GB, free: 22.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.3973, allocations: 1.228 MB / 0.4959 GB, free: 21.72 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.006878/0.4042, allocations: 2.436 MB / 0.4983 GB, free: 20.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/0.4042, allocations: 2.875 kB / 0.4983 GB, free: 20.81 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