Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_latest_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_latest_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.001202/0.001202, allocations: 106.6 kB / 17.06 MB, free: 6.098 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.001381/0.001381, allocations: 194.9 kB / 18 MB, free: 5.172 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.35/1.35, 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-master/package.mo): time 0.2067/0.2067, allocations: 38.04 MB / 329.9 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002047, allocations: 67.89 kB / 457.7 MB, free: 7.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.359, allocations: 58.06 MB / 0.5036 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007061/0.3661, allocations: 7.576 MB / 0.511 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.3699, allocations: 2.318 MB / 0.5133 GB, free: 492 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.3706, allocations: 24.91 kB / 0.5133 GB, free: 484 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.3729, allocations: 0.8584 MB / 0.5142 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.3745, allocations: 0.5109 MB / 0.5147 GB, free: 15.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.3763, allocations: 454.7 kB / 0.5151 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002021/0.3783, allocations: 1.324 MB / 0.5164 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.3794, allocations: 0.6812 MB / 0.517 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.3809, allocations: 0.5883 MB / 0.5176 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.3822, allocations: 0.6915 MB / 0.5183 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.3825, allocations: 82.41 kB / 0.5184 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008236/0.3833, allocations: 262.2 kB / 0.5186 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006874/0.384, allocations: 0.4987 MB / 0.5191 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007885/0.3848, allocations: 0.5416 MB / 0.5196 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.3869, allocations: 1.324 MB / 0.5209 GB, free: 13.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3869, allocations: 5.781 kB / 0.5209 GB, free: 13.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.387, allocations: 3.938 kB / 0.5209 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.931e-05/0.387, allocations: 0 / 0.5209 GB, free: 13.01 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.003213/0.3902, allocations: 1.359 MB / 0.5223 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.3903, allocations: 13.58 kB / 0.5223 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002433/0.3905, allocations: 139.6 kB / 0.5224 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.3919, allocations: 192.9 kB / 0.5226 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.3936, allocations: 0.7482 MB / 0.5233 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-05/0.3936, allocations: 61.55 kB / 0.5234 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000325/0.394, allocations: 118.8 kB / 0.5235 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.3963, allocations: 1.218 MB / 0.5247 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.3964, allocations: 15.56 kB / 0.5247 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/0.3965, allocations: 33.64 kB / 0.5247 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002839/0.3968, allocations: 61.91 kB / 0.5248 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.3986, allocations: 1.011 MB / 0.5258 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007368/0.406, allocations: 4.71 MB / 0.5304 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.4072, allocations: 0.6711 MB / 0.531 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000732/0.4079, allocations: 470.5 kB / 0.5315 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-05/0.408, allocations: 18.86 kB / 0.5315 GB, free: 6.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008763/0.4089, allocations: 0.5165 MB / 0.532 GB, free: 6.172 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 3.106e-06/0.4089, allocations: 0 / 0.532 GB, free: 6.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.006218/0.4151, allocations: 3.089 MB / 0.535 GB, free: 4.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001725/0.4154, allocations: 227.9 kB / 0.5352 GB, free: 3.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007955/0.4162, allocations: 0.5885 MB / 0.5358 GB, free: 3.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.21e-05/0.4163, allocations: 41.89 kB / 0.5359 GB, free: 3.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.4167, allocations: 484.4 kB / 0.5363 GB, free: 3.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.417, allocations: 278.2 kB / 0.5366 GB, free: 2.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.4173, allocations: 178.5 kB / 0.5368 GB, free: 2.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.4175, allocations: 392 kB / 0.5371 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006696/0.4182, allocations: 388.5 kB / 0.5375 GB, free: 2.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009323/0.4191, allocations: 0.6339 MB / 0.5381 GB, free: 1.738 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.005693/0.4248, allocations: 2.22 MB / 0.5403 GB, free: 432 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.4248, allocations: 2.156 kB / 0.5403 GB, free: 432 kB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003585/0.4284, allocations: 1.673 MB / 0.5419 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.4285, allocations: 35.33 kB / 0.542 GB, free: 15.47 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.0006629/0.4292, allocations: 388 kB / 0.5423 GB, free: 15.29 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated