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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 107 kB / 17.06 MB, free: 6.094 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.001116/0.001116, allocations: 195 kB / 18 MB, free: 5.172 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.28/1.28, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1651/0.1651, allocations: 38 MB / 309.2 MB, free: 5.941 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.001433/0.001433, allocations: 67.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 55.23 MB / 486.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008837/0.1123, allocations: 7.582 MB / 494.2 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00403/0.1164, allocations: 2.365 MB / 496.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005984/0.117, allocations: 27.81 kB / 496.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.1192, allocations: 0.8673 MB / 497.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00127/0.1205, allocations: 0.5014 MB / 497.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1217, allocations: 447 kB / 498.4 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.1232, allocations: 1.324 MB / 499.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009701/0.1242, allocations: 0.6854 MB / 0.4887 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009377/0.1252, allocations: 0.5836 MB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.1262, allocations: 0.693 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002347/0.1265, allocations: 80 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007319/0.1272, allocations: 263.6 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006032/0.1278, allocations: 0.5027 MB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009013/0.1287, allocations: 0.5403 MB / 0.4913 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.1303, allocations: 1.316 MB / 0.4925 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1304, allocations: 4 kB / 0.4925 GB, free: 7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1304, allocations: 4 kB / 0.4926 GB, free: 6.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.641e-05/0.1304, allocations: 0 / 0.4926 GB, free: 6.996 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.002635/0.1331, allocations: 1.331 MB / 0.4939 GB, free: 5.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1331, allocations: 15.89 kB / 0.4939 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000269/0.1334, allocations: 143.6 kB / 0.494 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.1347, allocations: 179.5 kB / 0.4942 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.1359, allocations: 0.7428 MB / 0.4949 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.136, allocations: 62.36 kB / 0.495 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/0.1363, allocations: 119.8 kB / 0.4951 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.138, allocations: 1.219 MB / 0.4963 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.138, allocations: 7.906 kB / 0.4963 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.1381, allocations: 36 kB / 0.4963 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002487/0.1383, allocations: 61.95 kB / 0.4964 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.1398, allocations: 1.015 MB / 0.4974 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.1454, allocations: 4.694 MB / 0.5019 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.1464, allocations: 0.6798 MB / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006162/0.1471, allocations: 467 kB / 0.503 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.1471, allocations: 16.5 kB / 0.5031 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000714/0.1478, allocations: 0.522 MB / 0.5036 GB, free: 11.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.295e-06/0.1478, allocations: 0 / 0.5036 GB, free: 11.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004956/0.1528, allocations: 3.045 MB / 0.5065 GB, free: 8.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.1529, allocations: 222.2 kB / 0.5068 GB, free: 7.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007044/0.1537, allocations: 0.5938 MB / 0.5073 GB, free: 7.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.1537, allocations: 37.7 kB / 0.5074 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.1541, allocations: 479 kB / 0.5078 GB, free: 6.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.1543, allocations: 260.3 kB / 0.5081 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/0.1546, allocations: 174.5 kB / 0.5082 GB, free: 6.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1548, allocations: 390.8 kB / 0.5086 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.1554, allocations: 385.8 kB / 0.509 GB, free: 5.535 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008437/0.1562, allocations: 0.6379 MB / 0.5096 GB, free: 4.789 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.004998/0.1612, allocations: 2.225 MB / 0.5118 GB, free: 2.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.1612, allocations: 4 kB / 0.5118 GB, free: 2.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003041/0.1643, allocations: 1.669 MB / 0.5134 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.1643, allocations: 33.7 kB / 0.5134 GB, free: 0.7188 MB / 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.0005959/0.165, allocations: 387.8 kB / 0.5138 GB, free: 344 kB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated