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.001184/0.001184, allocations: 105.6 kB / 17.06 MB, free: 6.145 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.001181/0.001181, allocations: 195 kB / 18 MB, free: 5.219 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.182/1.182, allocations: 205.1 MB / 223.9 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.1628/0.1628, allocations: 37.98 MB / 309.2 MB, free: 5.961 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.001308/0.001308, allocations: 67.91 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07742/0.07874, allocations: 55.24 MB / 487.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007573/0.08634, allocations: 7.586 MB / 494.7 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003288/0.08965, allocations: 2.361 MB / 497.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.08997, allocations: 27.81 kB / 497.1 MB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.09188, allocations: 0.8557 MB / 497.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008698/0.09276, allocations: 0.513 MB / 498.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.09378, allocations: 447 kB / 498.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.09501, allocations: 1.321 MB / 0.4885 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.09582, allocations: 0.6855 MB / 0.4892 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.09655, allocations: 0.5836 MB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.09743, allocations: 0.6969 MB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.0976, allocations: 80 kB / 0.4905 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.09812, allocations: 263.7 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.09856, allocations: 0.4948 MB / 0.4912 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005716/0.09913, allocations: 0.5443 MB / 0.4917 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.1003, allocations: 1.316 MB / 0.493 GB, free: 6.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1003, allocations: 4 kB / 0.493 GB, free: 6.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1003, allocations: 0 / 0.493 GB, free: 6.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.816e-05/0.1003, allocations: 4 kB / 0.493 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.002154/0.1025, allocations: 1.335 MB / 0.4943 GB, free: 5.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.1025, allocations: 15.89 kB / 0.4944 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.1036, allocations: 179.5 kB / 0.4945 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1047, allocations: 0.7427 MB / 0.4953 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/0.1048, allocations: 66.36 kB / 0.4953 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002463/0.105, allocations: 120.1 kB / 0.4954 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.1067, allocations: 1.219 MB / 0.4966 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.1067, allocations: 7.906 kB / 0.4966 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/0.1068, allocations: 35.98 kB / 0.4967 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000243/0.107, allocations: 61.97 kB / 0.4967 GB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.1085, allocations: 1.007 MB / 0.4977 GB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004902/0.1134, allocations: 4.694 MB / 0.5023 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/0.1144, allocations: 0.672 MB / 0.5029 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.115, allocations: 471 kB / 0.5034 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.949e-05/0.1151, allocations: 12.55 kB / 0.5034 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006882/0.1158, allocations: 0.5336 MB / 0.5039 GB, free: 10.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.054e-06/0.1158, allocations: 0 / 0.5039 GB, free: 10.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004332/0.1201, allocations: 3.03 MB / 0.5069 GB, free: 7.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.1203, allocations: 234.2 kB / 0.5071 GB, free: 7.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005429/0.1208, allocations: 0.5899 MB / 0.5077 GB, free: 6.918 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.1209, allocations: 41.7 kB / 0.5077 GB, free: 6.871 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.1211, allocations: 479 kB / 0.5082 GB, free: 6.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.1213, allocations: 260.4 kB / 0.5084 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.1216, allocations: 170.5 kB / 0.5086 GB, free: 5.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1217, allocations: 386.8 kB / 0.509 GB, free: 5.578 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.1223, allocations: 389.8 kB / 0.5093 GB, free: 5.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.123, allocations: 0.634 MB / 0.51 GB, free: 4.453 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.004742/0.1277, allocations: 2.236 MB / 0.5121 GB, free: 2.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1277, allocations: 0 / 0.5121 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002839/0.1306, allocations: 1.65 MB / 0.5137 GB, free: 444 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.1306, allocations: 33.77 kB / 0.5138 GB, free: 404 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.0005813/0.1312, allocations: 403.8 kB / 0.5142 GB, free: 16 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated