Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001723/0.001727, allocations: 189.3 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001136/0.001136, allocations: 98.81 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.272/0.272, allocations: 38.06 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004631, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.0125/0.1239, allocations: 7.413 MB / 486.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00799/0.1319, allocations: 3.177 MB / 489.6 MB, free: 7.41 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009973/0.133, allocations: 51.62 kB / 489.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008662/0.1339, allocations: 210.8 kB / 489.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.1366, allocations: 0.5685 MB / 490.4 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.1383, allocations: 363.2 kB / 490.8 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.1403, allocations: 0.6982 MB / 491.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.1425, allocations: 0.9443 MB / 492.4 MB, free: 4.547 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1436, allocations: 386.6 kB / 492.8 MB, free: 4.168 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009097/0.1445, allocations: 394.6 kB / 493.2 MB, free: 3.781 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.1447, allocations: 40 kB / 493.2 MB, free: 3.742 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.1458, allocations: 355.4 kB / 493.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000563/0.1464, allocations: 379.1 kB / 494 MB, free: 3.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.1467, allocations: 197.2 kB / 494.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.1489, allocations: 1.072 MB / 495.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1489, allocations: 0 / 495.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1489, allocations: 0 / 495.2 MB, free: 1.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.078e-05/0.149, allocations: 0 / 495.2 MB, free: 1.75 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003342/0.1523, allocations: 1.09 MB / 496.3 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1524, allocations: 8.031 kB / 496.3 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.1545, allocations: 222.5 kB / 496.5 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.157, allocations: 0.6815 MB / 497.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/0.1572, allocations: 61.98 kB / 497.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000389/0.1576, allocations: 99.84 kB / 497.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.1604, allocations: 1.1 MB / 498.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.868e-05/0.1605, allocations: 4 kB / 498.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.1606, allocations: 35.98 kB / 498.5 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000298/0.1609, allocations: 73.89 kB / 498.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.1634, allocations: 0.8782 MB / 499.5 MB, free: 13.36 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.009099/0.1725, allocations: 4.082 MB / 0.4917 GB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/0.1736, allocations: 426.1 kB / 0.4922 GB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.1736, allocations: 8.062 kB / 0.4922 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.1737, allocations: 42.52 kB / 0.4922 GB, free: 8.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.497e-06/0.1737, allocations: 0 / 0.4922 GB, free: 8.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.007163/0.1809, allocations: 1.981 MB / 0.4941 GB, free: 6.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.443e-05/0.181, allocations: 81.55 kB / 0.4942 GB, free: 6.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.1821, allocations: 0.5615 MB / 0.4948 GB, free: 5.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.1822, allocations: 37.7 kB / 0.4948 GB, free: 5.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.1827, allocations: 0.4891 MB / 0.4953 GB, free: 5.312 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.183, allocations: 189.3 kB / 0.4955 GB, free: 5.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.965e-05/0.1831, allocations: 16.03 kB / 0.4955 GB, free: 5.109 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1833, allocations: 346.8 kB / 0.4958 GB, free: 4.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007301/0.184, allocations: 273.8 kB / 0.4961 GB, free: 4.496 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009237/0.1849, allocations: 0.4925 MB / 0.4965 GB, free: 3.898 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.004974/0.1899, allocations: 1.021 MB / 0.4975 GB, free: 2.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.19, allocations: 4 kB / 0.4975 GB, free: 2.855 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