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.001406/0.001406, allocations: 185 kB / 16.38 MB, free: 5.723 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 1.668/1.668, allocations: 194.5 MB / 211.6 MB, free: 2.965 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001847/0.001847, allocations: 113.6 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2474/0.2474, allocations: 38 MB / 340.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004903, allocations: 11.98 kB / 403.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06886/0.06938, allocations: 53.22 MB / 457 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01044/0.07987, allocations: 11.04 MB / 468 MB, free: 4.414 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.0906, allocations: 7.167 MB / 475.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008407/0.09147, allocations: 83.44 kB / 475.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006959/0.09844, allocations: 2.829 MB / 478.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.1006, allocations: 0.8567 MB / 479 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.1025, allocations: 0.6316 MB / 479.6 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.1042, allocations: 1.281 MB / 480.9 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.1065, allocations: 1.183 MB / 482.1 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.1076, allocations: 0.759 MB / 482.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.109, allocations: 0.9307 MB / 483.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.1093, allocations: 76 kB / 483.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008338/0.1101, allocations: 383.5 kB / 484.2 MB, free: 4.168 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.111, allocations: 0.7482 MB / 485 MB, free: 3.418 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004294/0.1115, allocations: 348.8 kB / 485.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.1138, allocations: 1.867 MB / 487.2 MB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.449e-06/0.1138, allocations: 0 / 487.2 MB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.283e-06/0.1138, allocations: 0 / 487.2 MB, free: 1.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.1138, allocations: 0 / 487.2 MB, free: 1.199 MB / 330.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.00414/0.118, allocations: 1.858 MB / 489 MB, free: 15.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.118, allocations: 12.02 kB / 489 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.12, allocations: 333.4 kB / 489.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002838/0.1229, allocations: 1.199 MB / 490.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.123, allocations: 94.66 kB / 490.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006831/0.1237, allocations: 239.7 kB / 490.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.1279, allocations: 2.129 MB / 493 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.409e-05/0.1279, allocations: 7.938 kB / 493 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.1281, allocations: 59.94 kB / 493.1 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007092/0.1289, allocations: 178.7 kB / 493.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/0.1328, allocations: 1.756 MB / 495 MB, free: 9.129 MB / 346.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.01468/0.1475, allocations: 8.621 MB / 0.4918 GB, free: 88 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2298/0.3773, allocations: 1.803 MB / 0.4936 GB, free: 49.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3774, allocations: 17.61 kB / 0.4936 GB, free: 49.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3775, allocations: 50.83 kB / 0.4937 GB, free: 49.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 4.744e-06/0.3775, allocations: 0 / 0.4937 GB, free: 49.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=138): time 0.01496/0.3925, allocations: 6.554 MB / 0.5001 GB, free: 46.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.3926, allocations: 96.88 kB / 0.5002 GB, free: 46.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.394, allocations: 1.038 MB / 0.5012 GB, free: 46.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/0.3941, allocations: 45.64 kB / 0.5012 GB, free: 46.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/0.3946, allocations: 0.767 MB / 0.502 GB, free: 45.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.3949, allocations: 0.4951 MB / 0.5024 GB, free: 45.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3951, allocations: 40.3 kB / 0.5025 GB, free: 45.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3952, allocations: 375 kB / 0.5028 GB, free: 44.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.3966, allocations: 0.7154 MB / 0.5035 GB, free: 44.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.3983, allocations: 1.162 MB / 0.5047 GB, free: 43.96 MB / 346.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.00925/0.4076, allocations: 2.288 MB / 0.5069 GB, free: 43.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.4076, allocations: 8.125 kB / 0.5069 GB, free: 43.5 MB / 346.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