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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001071/0.001071, allocations: 115.1 kB / 16.63 MB, free: 6.812 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.001003/0.001003, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1678/0.1678, allocations: 38.02 MB / 329.4 MB, free: 8.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 66.36 kB / 398.4 MB, free: 34.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0816/0.0828, allocations: 58.07 MB / 456.4 MB, free: 8.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008768/0.09159, allocations: 9.229 MB / 465.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004522/0.09614, allocations: 2.816 MB / 468.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008554/0.09702, allocations: 59.62 kB / 468.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.09918, allocations: 0.8165 MB / 469.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.1004, allocations: 474 kB / 469.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1016, allocations: 411.3 kB / 470.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001712/0.1033, allocations: 1.317 MB / 471.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009796/0.1043, allocations: 0.7402 MB / 472.3 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009296/0.1052, allocations: 0.568 MB / 472.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.1064, allocations: 0.7437 MB / 473.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.1066, allocations: 80 kB / 473.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000605/0.1072, allocations: 271.6 kB / 473.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004952/0.1077, allocations: 0.491 MB / 474.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.1084, allocations: 0.5481 MB / 475 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.1097, allocations: 1.308 MB / 476.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1097, allocations: 4 kB / 476.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1097, allocations: 0 / 476.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.874e-05/0.1098, allocations: 0 / 476.3 MB, free: 4.387 MB / 350.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.002461/0.1122, allocations: 1.327 MB / 477.6 MB, free: 3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1123, allocations: 15.89 kB / 477.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001729/0.1125, allocations: 139.7 kB / 477.8 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.1136, allocations: 187.5 kB / 478 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.1147, allocations: 0.6999 MB / 478.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.1148, allocations: 70.31 kB / 478.7 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.115, allocations: 119.8 kB / 478.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.1168, allocations: 1.216 MB / 480.1 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.1168, allocations: 7.938 kB / 480.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.168e-05/0.1169, allocations: 32 kB / 480.1 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/0.1172, allocations: 65.97 kB / 480.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.1187, allocations: 1.011 MB / 481.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005492/0.1242, allocations: 4.725 MB / 485.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.1252, allocations: 0.6709 MB / 486.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.1258, allocations: 463.2 kB / 487 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.1259, allocations: 12.55 kB / 487 MB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006839/0.1266, allocations: 0.5221 MB / 487.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 3.166e-06/0.1266, allocations: 0 / 487.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004579/0.1312, allocations: 3.049 MB / 490.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.1313, allocations: 214.2 kB / 490.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.1319, allocations: 0.5976 MB / 491.4 MB, free: 4.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.984e-05/0.132, allocations: 45.69 kB / 491.5 MB, free: 4.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.1323, allocations: 471 kB / 491.9 MB, free: 4.164 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.1325, allocations: 260.4 kB / 492.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.1327, allocations: 174.5 kB / 492.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1329, allocations: 398.7 kB / 492.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.1334, allocations: 389.8 kB / 493.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007139/0.1342, allocations: 0.6379 MB / 493.7 MB, free: 2.203 MB / 366.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.004988/0.1392, allocations: 2.233 MB / 496 MB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.1392, allocations: 0 / 496 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002981/0.1422, allocations: 1.654 MB / 497.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.1422, allocations: 37.69 kB / 497.7 MB, free: 14.14 MB / 382.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.0005854/0.1428, allocations: 405.5 kB / 498.1 MB, free: 13.74 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated