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.001165/0.001165, allocations: 109.9 kB / 17.74 MB, free: 5.23 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.001176/0.001176, allocations: 185.5 kB / 18.66 MB, free: 4.312 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.193/1.193, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1713/0.1713, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001614/0.001614, allocations: 64.38 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.09038, allocations: 55.25 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008395/0.09881, allocations: 7.582 MB / 495.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004012/0.1029, allocations: 2.365 MB / 497.7 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006524/0.1035, allocations: 27.81 kB / 497.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.1057, allocations: 0.8634 MB / 498.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.107, allocations: 0.5013 MB / 499.1 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1081, allocations: 451 kB / 499.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.1097, allocations: 1.321 MB / 0.4891 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009547/0.1107, allocations: 0.6894 MB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000957/0.1116, allocations: 0.5797 MB / 0.4904 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.1128, allocations: 0.693 MB / 0.4911 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/0.113, allocations: 80 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006566/0.1137, allocations: 259.7 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.1142, allocations: 0.4987 MB / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.115, allocations: 0.5404 MB / 0.4924 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.1165, allocations: 1.324 MB / 0.4937 GB, free: 6.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1165, allocations: 0 / 0.4937 GB, free: 6.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1165, allocations: 0 / 0.4937 GB, free: 6.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.245e-05/0.1166, allocations: 0 / 0.4937 GB, free: 6.512 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.002658/0.1192, allocations: 1.339 MB / 0.495 GB, free: 5.109 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1193, allocations: 15.89 kB / 0.495 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.1205, allocations: 187.5 kB / 0.4952 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.122, allocations: 0.7388 MB / 0.4959 GB, free: 4.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.1221, allocations: 66.38 kB / 0.496 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.1224, allocations: 116.1 kB / 0.4961 GB, free: 3.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.1242, allocations: 1.219 MB / 0.4973 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.1243, allocations: 7.906 kB / 0.4973 GB, free: 2.652 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.05e-05/0.1243, allocations: 39.98 kB / 0.4973 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002585/0.1246, allocations: 61.97 kB / 0.4974 GB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.126, allocations: 1.007 MB / 0.4984 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005469/0.1315, allocations: 4.698 MB / 0.503 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.1326, allocations: 0.6759 MB / 0.5036 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.1332, allocations: 467 kB / 0.5041 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.1333, allocations: 4.562 kB / 0.5041 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006902/0.134, allocations: 0.5337 MB / 0.5046 GB, free: 10.92 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 3.016e-06/0.134, allocations: 0 / 0.5046 GB, free: 10.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004723/0.1387, allocations: 3.041 MB / 0.5076 GB, free: 7.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.1388, allocations: 226.1 kB / 0.5078 GB, free: 7.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/0.1395, allocations: 0.5939 MB / 0.5084 GB, free: 6.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/0.1396, allocations: 45.69 kB / 0.5084 GB, free: 6.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.1399, allocations: 475 kB / 0.5088 GB, free: 6.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.1401, allocations: 260.4 kB / 0.5091 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.1403, allocations: 170.5 kB / 0.5093 GB, free: 5.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1405, allocations: 390.8 kB / 0.5096 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/0.1411, allocations: 385.8 kB / 0.51 GB, free: 5.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.1418, allocations: 0.6418 MB / 0.5106 GB, free: 4.441 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.004837/0.1466, allocations: 2.229 MB / 0.5128 GB, free: 2.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1467, allocations: 0 / 0.5128 GB, free: 2.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003007/0.1497, allocations: 1.649 MB / 0.5144 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.1497, allocations: 34.39 kB / 0.5144 GB, free: 400 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.0006528/0.1504, allocations: 399.8 kB / 0.5148 GB, free: 16 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated