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.001076/0.001077, allocations: 175.9 kB / 15.78 MB, free: 6.352 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.406/1.406, allocations: 205.4 MB / 221.9 MB, free: 13.75 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.0007772/0.0007773, allocations: 94.23 kB / 270.3 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1789/0.1789, allocations: 38.05 MB / 356.6 MB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003711, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1084, allocations: 56.34 MB / 479.1 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007966/0.1164, allocations: 7.751 MB / 486.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004905/0.1213, allocations: 3.196 MB / 490 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.1218, allocations: 47.69 kB / 490.1 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.1224, allocations: 218.4 kB / 490.3 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.124, allocations: 0.7038 MB / 491 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009253/0.125, allocations: 355.4 kB / 491.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.1267, allocations: 1.586 MB / 492.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.1282, allocations: 0.9445 MB / 493.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.1288, allocations: 454 kB / 494.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007534/0.1295, allocations: 0.6035 MB / 494.9 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.213e-05/0.1296, allocations: 36 kB / 494.9 MB, free: 2.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006536/0.1303, allocations: 371.3 kB / 495.3 MB, free: 1.707 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003549/0.1307, allocations: 419 kB / 495.7 MB, free: 1.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1309, allocations: 201.2 kB / 495.9 MB, free: 1.094 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009204/0.1318, allocations: 1.068 MB / 497 MB, free: 24 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1318, allocations: 0 / 497 MB, free: 24 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1318, allocations: 4 kB / 497 MB, free: 20 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1318, allocations: 4 kB / 497 MB, free: 16 kB / 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.001822/0.1337, allocations: 1.086 MB / 498.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1337, allocations: 8.031 kB / 498.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.1349, allocations: 210.5 kB / 498.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.1361, allocations: 0.6698 MB / 498.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.301e-05/0.1362, allocations: 62 kB / 499 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.1364, allocations: 99.83 kB / 499.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.1381, allocations: 1.111 MB / 0.4885 GB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.1381, allocations: 3.938 kB / 0.4885 GB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.1382, allocations: 35.98 kB / 0.4885 GB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.1384, allocations: 65.97 kB / 0.4886 GB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.1398, allocations: 0.8899 MB / 0.4895 GB, free: 11.64 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.005073/0.1449, allocations: 4.086 MB / 0.4935 GB, free: 7.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.1455, allocations: 426.1 kB / 0.4939 GB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.1459, allocations: 265.6 kB / 0.4941 GB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.1459, allocations: 4 kB / 0.4941 GB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1459, allocations: 46.5 kB / 0.4942 GB, free: 6.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 2.304e-06/0.1459, allocations: 0 / 0.4942 GB, free: 6.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.004043/0.15, allocations: 1.986 MB / 0.4961 GB, free: 4.523 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.1501, allocations: 85.53 kB / 0.4962 GB, free: 4.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006418/0.1507, allocations: 0.5615 MB / 0.4967 GB, free: 3.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.1508, allocations: 33.7 kB / 0.4968 GB, free: 3.812 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.1511, allocations: 474.4 kB / 0.4972 GB, free: 3.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.1512, allocations: 189.3 kB / 0.4974 GB, free: 3.152 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1513, allocations: 12 kB / 0.4974 GB, free: 3.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1515, allocations: 386.8 kB / 0.4978 GB, free: 2.754 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.1519, allocations: 269.8 kB / 0.498 GB, free: 2.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.1524, allocations: 0.4964 MB / 0.4985 GB, free: 1.891 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.002769/0.1552, allocations: 1.041 MB / 0.4995 GB, free: 0.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.1552, allocations: 4 kB / 0.4995 GB, free: 0.8281 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