Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 170.6 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 221.9 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007163/0.0007164, allocations: 86.3 kB / 270.3 MB, free: 13.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1679/0.1679, allocations: 38.06 MB / 356.6 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003326/0.0003327, allocations: 15.98 kB / 422.7 MB, free: 26.4 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08472, allocations: 56.34 MB / 479.1 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0109/0.09566, allocations: 11.66 MB / 490.7 MB, free: 6.301 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.1059, allocations: 7.259 MB / 498 MB, free: 15.03 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.1072, allocations: 83.44 kB / 498.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01637/0.1236, allocations: 11.98 MB / 0.4981 GB, free: 2.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.1271, allocations: 1.159 MB / 0.4992 GB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.129, allocations: 0.6357 MB / 0.4998 GB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005606/0.1347, allocations: 4.569 MB / 0.5043 GB, free: 12.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.1369, allocations: 1.183 MB / 0.5055 GB, free: 11.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/0.1386, allocations: 0.9179 MB / 0.5064 GB, free: 10.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.1408, allocations: 1.394 MB / 0.5077 GB, free: 9.008 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004121/0.1412, allocations: 72 kB / 0.5078 GB, free: 8.938 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.1424, allocations: 407.3 kB / 0.5082 GB, free: 8.539 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001008/0.1434, allocations: 0.8299 MB / 0.509 GB, free: 7.707 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006614/0.1441, allocations: 348.8 kB / 0.5093 GB, free: 7.359 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.1462, allocations: 1.859 MB / 0.5111 GB, free: 5.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1462, allocations: 4 kB / 0.5111 GB, free: 5.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1462, allocations: 0 / 0.5111 GB, free: 5.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.247e-05/0.1463, allocations: 0 / 0.5111 GB, free: 5.492 MB / 362.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.004166/0.1505, allocations: 1.858 MB / 0.513 GB, free: 3.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1506, allocations: 8.031 kB / 0.513 GB, free: 3.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.1524, allocations: 317.5 kB / 0.5133 GB, free: 3.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.1551, allocations: 1.202 MB / 0.5144 GB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.1552, allocations: 102.7 kB / 0.5145 GB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008539/0.1561, allocations: 239.6 kB / 0.5148 GB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1726/0.3287, allocations: 2.131 MB / 0.5168 GB, free: 53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.3288, allocations: 7.312 kB / 0.5169 GB, free: 53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/0.329, allocations: 58.95 kB / 0.5169 GB, free: 53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006805/0.3297, allocations: 181.3 kB / 0.5171 GB, free: 53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.3328, allocations: 1.763 MB / 0.5188 GB, free: 52.79 MB / 362.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.01104/0.3439, allocations: 8.63 MB / 0.5272 GB, free: 47.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.3462, allocations: 1.818 MB / 0.529 GB, free: 46.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.3477, allocations: 0.7691 MB / 0.5298 GB, free: 46.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.799e-05/0.3478, allocations: 17.77 kB / 0.5298 GB, free: 46.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3478, allocations: 47.25 kB / 0.5298 GB, free: 45.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 4.439e-06/0.3478, allocations: 5.469 kB / 0.5298 GB, free: 45.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=137): time 0.009789/0.3576, allocations: 5.486 MB / 0.5352 GB, free: 43.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.3577, allocations: 98.69 kB / 0.5353 GB, free: 43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3588, allocations: 1.027 MB / 0.5363 GB, free: 42.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.397e-05/0.3589, allocations: 50.83 kB / 0.5363 GB, free: 42.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.3592, allocations: 0.7635 MB / 0.5371 GB, free: 41.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.3595, allocations: 0.4991 MB / 0.5376 GB, free: 41.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.3596, allocations: 27.94 kB / 0.5376 GB, free: 41.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/0.3597, allocations: 385.2 kB / 0.538 GB, free: 40.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.3606, allocations: 0.7184 MB / 0.5387 GB, free: 40.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3617, allocations: 1.182 MB / 0.5398 GB, free: 39.64 MB / 362.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.007259/0.3689, allocations: 2.336 MB / 0.5421 GB, free: 38.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.369, allocations: 7.344 kB / 0.5421 GB, free: 38.59 MB / 362.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