Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.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.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 103 kB / 17.74 MB, free: 5.316 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.001329/0.001329, allocations: 198.5 kB / 18.67 MB, free: 4.395 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.303/1.303, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1757/0.1757, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001373/0.001373, allocations: 67.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08705/0.08844, allocations: 55.24 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008427/0.09691, allocations: 7.567 MB / 495.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003934/0.1009, allocations: 2.38 MB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.1012, allocations: 27.81 kB / 497.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.1033, allocations: 0.8557 MB / 498.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009759/0.1043, allocations: 0.5052 MB / 499.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1053, allocations: 451 kB / 499.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.1066, allocations: 1.317 MB / 0.4891 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008471/0.1075, allocations: 0.6933 MB / 0.4898 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006618/0.1082, allocations: 0.5797 MB / 0.4904 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008396/0.109, allocations: 0.6891 MB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001297/0.1092, allocations: 84 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005523/0.1097, allocations: 259.7 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.1102, allocations: 0.4987 MB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.1107, allocations: 0.5404 MB / 0.4924 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.1119, allocations: 1.32 MB / 0.4937 GB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1119, allocations: 0 / 0.4937 GB, free: 6.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.112, allocations: 0 / 0.4937 GB, free: 6.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.112, allocations: 0 / 0.4937 GB, free: 6.504 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002228/0.1142, allocations: 1.339 MB / 0.495 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1143, allocations: 11.89 kB / 0.495 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.1154, allocations: 195.5 kB / 0.4952 GB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.1167, allocations: 0.7388 MB / 0.4959 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.1167, allocations: 62.38 kB / 0.496 GB, free: 4.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.117, allocations: 116.1 kB / 0.4961 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.1187, allocations: 1.216 MB / 0.4973 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.1187, allocations: 11.84 kB / 0.4973 GB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/0.1188, allocations: 36 kB / 0.4973 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/0.1191, allocations: 61.97 kB / 0.4974 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.1206, allocations: 1.019 MB / 0.4984 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005485/0.1261, allocations: 4.694 MB / 0.503 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1272, allocations: 0.6759 MB / 0.5036 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006223/0.1278, allocations: 459 kB / 0.5041 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.956e-05/0.1279, allocations: 12.55 kB / 0.5041 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007553/0.1286, allocations: 0.5337 MB / 0.5046 GB, free: 10.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.955e-06/0.1286, allocations: 0 / 0.5046 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004751/0.1334, allocations: 3.034 MB / 0.5075 GB, free: 7.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1335, allocations: 234.2 kB / 0.5078 GB, free: 7.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.1341, allocations: 0.5938 MB / 0.5084 GB, free: 6.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.1342, allocations: 41.7 kB / 0.5084 GB, free: 6.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.1345, allocations: 471 kB / 0.5088 GB, free: 6.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.1347, allocations: 260.4 kB / 0.5091 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.135, allocations: 174.5 kB / 0.5093 GB, free: 5.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1352, allocations: 394.8 kB / 0.5096 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.1358, allocations: 381.8 kB / 0.51 GB, free: 5.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/0.1365, allocations: 0.6418 MB / 0.5106 GB, free: 4.434 MB / 398.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.005063/0.1416, allocations: 2.229 MB / 0.5128 GB, free: 2.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1416, allocations: 4 kB / 0.5128 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00314/0.1448, allocations: 1.645 MB / 0.5144 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.1448, allocations: 42.38 kB / 0.5145 GB, free: 384 kB / 398.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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006404/0.1455, allocations: 403.8 kB / 0.5148 GB, free: 15.97 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.Introductory.SimulationSteadyInitial could not be translated