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.00238/0.002384, allocations: 357.2 kB / 16.57 MB, free: 5.566 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.309/3.309, allocations: 388.9 MB / 406.2 MB, free: 11.93 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.003045/0.003044, allocations: 223.8 kB / 451.6 MB, free: 14.53 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.6179/0.6179, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005234/0.0005236, allocations: 15.98 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06628/0.06683, allocations: 53.23 MB / 0.6736 GB, free: 60.84 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.0105/0.07737, allocations: 11.66 MB / 0.685 GB, free: 49.13 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.08804, allocations: 7.224 MB / 0.692 GB, free: 41.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.08964, allocations: 79.44 kB / 0.6921 GB, free: 41.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01832/0.108, allocations: 11.94 MB / 0.7038 GB, free: 29.86 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.111, allocations: 1.127 MB / 0.7049 GB, free: 28.72 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.1128, allocations: 0.6354 MB / 0.7055 GB, free: 28.09 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004573/0.1174, allocations: 4.554 MB / 0.7099 GB, free: 23.52 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001901/0.1193, allocations: 1.191 MB / 0.7111 GB, free: 22.28 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.1206, allocations: 0.8829 MB / 0.712 GB, free: 21.39 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.1222, allocations: 1.394 MB / 0.7133 GB, free: 19.99 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001822/0.1224, allocations: 76 kB / 0.7134 GB, free: 19.92 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008636/0.1233, allocations: 407.2 kB / 0.7138 GB, free: 19.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.124, allocations: 0.8221 MB / 0.7146 GB, free: 18.7 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.1244, allocations: 360.7 kB / 0.7149 GB, free: 18.34 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.126, allocations: 1.855 MB / 0.7167 GB, free: 16.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.021e-06/0.126, allocations: 0 / 0.7167 GB, free: 16.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.098e-06/0.126, allocations: 0 / 0.7167 GB, free: 16.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.126, allocations: 0 / 0.7167 GB, free: 16.48 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.003338/0.1294, allocations: 1.85 MB / 0.7186 GB, free: 14.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1294, allocations: 12.83 kB / 0.7186 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.1311, allocations: 329.3 kB / 0.7189 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.1335, allocations: 1.206 MB / 0.7201 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-05/0.1336, allocations: 98.66 kB / 0.7201 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005551/0.1341, allocations: 231.8 kB / 0.7204 GB, free: 12.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003154/0.1373, allocations: 2.142 MB / 0.7225 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.1374, allocations: 11.84 kB / 0.7225 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.1375, allocations: 59.97 kB / 0.7225 GB, free: 10.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005857/0.1381, allocations: 186.7 kB / 0.7227 GB, free: 10.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.1414, allocations: 1.744 MB / 0.7244 GB, free: 8.402 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.2338/0.3752, allocations: 8.613 MB / 0.7328 GB, free: 126.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.3782, allocations: 1.809 MB / 0.7346 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.3799, allocations: 0.7688 MB / 0.7353 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.755e-05/0.38, allocations: 17.17 kB / 0.7354 GB, free: 126 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.38, allocations: 48.91 kB / 0.7354 GB, free: 125.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 4.697e-06/0.38, allocations: 3.75 kB / 0.7354 GB, free: 125.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.01452/0.3946, allocations: 6.611 MB / 0.7419 GB, free: 124.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.3947, allocations: 95.45 kB / 0.742 GB, free: 124.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.3963, allocations: 1.028 MB / 0.743 GB, free: 123.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.3964, allocations: 50.95 kB / 0.743 GB, free: 123.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000513/0.3969, allocations: 0.7682 MB / 0.7438 GB, free: 123 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.3973, allocations: 0.4932 MB / 0.7442 GB, free: 122.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.3975, allocations: 38.34 kB / 0.7443 GB, free: 122.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3976, allocations: 380.5 kB / 0.7446 GB, free: 122.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.4003, allocations: 0.7152 MB / 0.7453 GB, free: 122.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004343/0.4047, allocations: 1.182 MB / 0.7465 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.022/0.4267, allocations: 2.316 MB / 0.7488 GB, free: 120.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.4268, allocations: 3.906 kB / 0.7488 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