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.002179/0.002179, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.002881/0.002881, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.707/2.707, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4177/0.4177, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002799, allocations: 59.91 kB / 457.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6345/0.6373, allocations: 58.05 MB / 0.5036 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.0209/0.6583, allocations: 7.579 MB / 0.511 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008363/0.6667, allocations: 2.317 MB / 0.5133 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.6682, allocations: 28.97 kB / 0.5133 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.6724, allocations: 0.859 MB / 0.5141 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.676, allocations: 0.5143 MB / 0.5146 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.679, allocations: 442.2 kB / 0.5151 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004097/0.6831, allocations: 1.326 MB / 0.5164 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.6854, allocations: 0.6903 MB / 0.517 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.688, allocations: 0.585 MB / 0.5176 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003016/0.691, allocations: 0.6923 MB / 0.5183 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007775/0.6918, allocations: 82.06 kB / 0.5184 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.6938, allocations: 261.9 kB / 0.5186 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001729/0.6956, allocations: 0.495 MB / 0.5191 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.6986, allocations: 0.5437 MB / 0.5196 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005051/0.7037, allocations: 1.325 MB / 0.5209 GB, free: 13.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.488e-05/0.7037, allocations: 5.125 kB / 0.5209 GB, free: 13.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.142e-06/0.7038, allocations: 0 / 0.5209 GB, free: 13.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.991e-05/0.7039, allocations: 7.938 kB / 0.5209 GB, free: 13.07 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.007726/0.7116, allocations: 1.357 MB / 0.5223 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.858e-05/0.7117, allocations: 17.48 kB / 0.5223 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000741/0.7125, allocations: 139.4 kB / 0.5224 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.7153, allocations: 189.2 kB / 0.5226 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003395/0.7187, allocations: 0.7444 MB / 0.5233 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.7188, allocations: 64.83 kB / 0.5234 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007318/0.7196, allocations: 123.4 kB / 0.5235 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004735/0.7243, allocations: 1.218 MB / 0.5247 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.382e-05/0.7244, allocations: 7.469 kB / 0.5247 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002216/0.7247, allocations: 33.42 kB / 0.5247 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005282/0.7252, allocations: 67.11 kB / 0.5248 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/0.7294, allocations: 1.009 MB / 0.5258 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.7431, allocations: 4.712 MB / 0.5304 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.7455, allocations: 0.6759 MB / 0.531 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.7469, allocations: 460.5 kB / 0.5315 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.611e-05/0.747, allocations: 16.17 kB / 0.5315 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001585/0.7486, allocations: 0.5241 MB / 0.532 GB, free: 6.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 7.233e-06/0.7487, allocations: 0 / 0.532 GB, free: 6.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.0118/0.7605, allocations: 3.089 MB / 0.535 GB, free: 4.324 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002243/0.7608, allocations: 220.2 kB / 0.5352 GB, free: 4.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/0.7625, allocations: 0.5962 MB / 0.5358 GB, free: 3.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.7627, allocations: 38.27 kB / 0.5358 GB, free: 3.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007743/0.7635, allocations: 487.6 kB / 0.5363 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005328/0.764, allocations: 274 kB / 0.5366 GB, free: 3.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000592/0.7647, allocations: 174.9 kB / 0.5367 GB, free: 2.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003183/0.765, allocations: 392.2 kB / 0.5371 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.7663, allocations: 388.1 kB / 0.5375 GB, free: 2.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.768, allocations: 0.6338 MB / 0.5381 GB, free: 1.844 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.01132/0.7794, allocations: 2.228 MB / 0.5403 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-05/0.7794, allocations: 2.25 kB / 0.5403 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.007447/0.7869, allocations: 1.664 MB / 0.5419 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.834e-05/0.787, allocations: 42.66 kB / 0.5419 GB, free: 15.57 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.001367/0.7884, allocations: 389.1 kB / 0.5423 GB, free: 15.39 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated