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.00117/0.00117, allocations: 112 kB / 17.06 MB, free: 5.992 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.001113/0.001113, allocations: 194.9 kB / 18.01 MB, free: 5.074 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.307/1.307, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1777/0.1777, allocations: 38.03 MB / 329.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 457.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2777, allocations: 58.06 MB / 0.5036 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.006638/0.2844, allocations: 7.569 MB / 0.511 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003222/0.2876, allocations: 2.321 MB / 0.5133 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.288, allocations: 28.94 kB / 0.5133 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.2899, allocations: 0.86 MB / 0.5141 GB, free: 88 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.291, allocations: 0.5176 MB / 0.5147 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.2921, allocations: 447.1 kB / 0.5151 GB, free: 15.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2936, allocations: 1.32 MB / 0.5164 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008797/0.2945, allocations: 0.6874 MB / 0.517 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008862/0.2954, allocations: 0.5893 MB / 0.5176 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.2965, allocations: 0.6841 MB / 0.5183 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.2966, allocations: 82.25 kB / 0.5184 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005477/0.2972, allocations: 261.9 kB / 0.5186 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005181/0.2977, allocations: 0.503 MB / 0.5191 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005733/0.2983, allocations: 0.5401 MB / 0.5196 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.2998, allocations: 1.325 MB / 0.5209 GB, free: 13.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2998, allocations: 4 kB / 0.5209 GB, free: 13.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2998, allocations: 0.7969 kB / 0.5209 GB, free: 13.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.2998, allocations: 1.031 kB / 0.5209 GB, free: 13.15 MB / 398.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.002498/0.3023, allocations: 1.36 MB / 0.5223 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3024, allocations: 9.219 kB / 0.5223 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/0.3025, allocations: 143.7 kB / 0.5224 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3038, allocations: 187.8 kB / 0.5226 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.3052, allocations: 0.7485 MB / 0.5233 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.976e-05/0.3052, allocations: 60.75 kB / 0.5234 GB, free: 11.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002913/0.3055, allocations: 120.7 kB / 0.5235 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.3075, allocations: 1.217 MB / 0.5247 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.3075, allocations: 14.56 kB / 0.5247 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.3076, allocations: 39.39 kB / 0.5247 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002872/0.3079, allocations: 61.17 kB / 0.5248 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.3097, allocations: 1.018 MB / 0.5258 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006221/0.3159, allocations: 4.714 MB / 0.5304 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.317, allocations: 0.6701 MB / 0.531 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006498/0.3177, allocations: 465.9 kB / 0.5315 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.3178, allocations: 7.938 kB / 0.5315 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007703/0.3185, allocations: 0.5202 MB / 0.532 GB, free: 6.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.484e-06/0.3186, allocations: 0 / 0.532 GB, free: 6.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005182/0.3237, allocations: 3.096 MB / 0.535 GB, free: 4.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.3239, allocations: 216.7 kB / 0.5352 GB, free: 4.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.3245, allocations: 0.5959 MB / 0.5358 GB, free: 3.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.959e-05/0.3246, allocations: 38.89 kB / 0.5358 GB, free: 3.711 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.325, allocations: 495.3 kB / 0.5363 GB, free: 3.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.3252, allocations: 273.4 kB / 0.5366 GB, free: 3.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.3255, allocations: 175.1 kB / 0.5367 GB, free: 2.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.3257, allocations: 387.5 kB / 0.5371 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.3263, allocations: 390.1 kB / 0.5375 GB, free: 2.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000763/0.3271, allocations: 0.6376 MB / 0.5381 GB, free: 1.867 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.005388/0.3325, allocations: 2.22 MB / 0.5403 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3325, allocations: 6.75 kB / 0.5403 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003294/0.3358, allocations: 1.663 MB / 0.5419 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.3359, allocations: 39.06 kB / 0.5419 GB, free: 15.6 MB / 414.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.0006972/0.3366, allocations: 388.7 kB / 0.5423 GB, free: 15.41 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated