Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.001163/0.001163, allocations: 180.9 kB / 17.2 MB, free: 5.914 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.592/1.592, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3068/0.3068, allocations: 38.06 MB / 309.7 MB, free: 8.848 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.0005099/0.0005101, allocations: 12 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 56.35 MB / 432.8 MB, free: 6.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009212/0.1342, allocations: 7.403 MB / 440.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.1396, allocations: 3.185 MB / 443.4 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008851/0.1405, allocations: 47.69 kB / 443.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007664/0.1413, allocations: 210.8 kB / 443.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002/0.1433, allocations: 0.5685 MB / 444.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1444, allocations: 355.2 kB / 444.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.1457, allocations: 0.706 MB / 445.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.1474, allocations: 0.9441 MB / 446.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006709/0.148, allocations: 390.6 kB / 446.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007717/0.1488, allocations: 398.6 kB / 447 MB, free: 8.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.149, allocations: 36 kB / 447 MB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008725/0.1499, allocations: 355.3 kB / 447.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.1503, allocations: 379.1 kB / 447.8 MB, free: 7.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.1505, allocations: 205.2 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1517, allocations: 1.068 MB / 449 MB, free: 6.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1517, allocations: 0 / 449 MB, free: 6.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1517, allocations: 0 / 449 MB, free: 6.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.1517, allocations: 0 / 449 MB, free: 6.426 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001747/0.1535, allocations: 1.082 MB / 450.1 MB, free: 5.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1535, allocations: 15.97 kB / 450.1 MB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.1547, allocations: 214.6 kB / 450.3 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.156, allocations: 0.6776 MB / 451 MB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.1561, allocations: 65.94 kB / 451.1 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/0.1563, allocations: 91.98 kB / 451.2 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1579, allocations: 1.1 MB / 452.3 MB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.1579, allocations: 3.906 kB / 452.3 MB, free: 3.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.158, allocations: 32 kB / 452.3 MB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.1582, allocations: 73.95 kB / 452.4 MB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.1594, allocations: 0.8782 MB / 453.3 MB, free: 2.062 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.2194/0.3788, allocations: 4.087 MB / 457.3 MB, free: 48.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.3793, allocations: 425 kB / 457.8 MB, free: 48.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.3794, allocations: 6.828 kB / 457.8 MB, free: 48.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3794, allocations: 37.62 kB / 457.8 MB, free: 48.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.3794, allocations: 0 / 457.8 MB, free: 48.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.003766/0.3832, allocations: 1.99 MB / 459.8 MB, free: 48.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3833, allocations: 80.86 kB / 459.9 MB, free: 48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.3839, allocations: 0.5647 MB / 460.4 MB, free: 47.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.384, allocations: 35.61 kB / 460.5 MB, free: 47.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.3843, allocations: 471.3 kB / 460.9 MB, free: 47.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.3845, allocations: 192.5 kB / 461.1 MB, free: 47.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.3845, allocations: 16.25 kB / 461.1 MB, free: 47.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3847, allocations: 380.9 kB / 461.5 MB, free: 47.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.385, allocations: 269.2 kB / 461.8 MB, free: 47.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.3856, allocations: 0.4932 MB / 462.3 MB, free: 46.88 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.002564/0.3882, allocations: 1.04 MB / 463.3 MB, free: 46.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.3882, allocations: 3.188 kB / 463.3 MB, free: 46.77 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