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.001468/0.001468, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001647/0.001647, allocations: 196 kB / 18 MB, free: 5.105 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.479/1.479, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1962/0.1962, allocations: 38.04 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.89 kB / 457.7 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3592, allocations: 58.05 MB / 0.5036 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009259/0.3685, allocations: 7.586 MB / 0.511 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004633/0.3732, allocations: 2.331 MB / 0.5133 GB, free: 464 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009536/0.3741, allocations: 25.31 kB / 0.5133 GB, free: 456 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002615/0.3769, allocations: 0.8546 MB / 0.5142 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.3788, allocations: 0.5039 MB / 0.5147 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.3802, allocations: 450.5 kB / 0.5151 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00197/0.3822, allocations: 1.318 MB / 0.5164 GB, free: 14.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009317/0.3831, allocations: 0.6902 MB / 0.517 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009935/0.3841, allocations: 0.5858 MB / 0.5176 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.3853, allocations: 0.6838 MB / 0.5183 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.3855, allocations: 86.44 kB / 0.5184 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007914/0.3863, allocations: 266 kB / 0.5186 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006826/0.387, allocations: 0.492 MB / 0.5191 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008101/0.3878, allocations: 0.5467 MB / 0.5196 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.3896, allocations: 1.326 MB / 0.5209 GB, free: 13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3896, allocations: 1.062 kB / 0.5209 GB, free: 13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3897, allocations: 0 / 0.5209 GB, free: 13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.3897, allocations: 0 / 0.5209 GB, free: 13 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.002393/0.3921, allocations: 1.33 MB / 0.5222 GB, free: 12.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3921, allocations: 10.38 kB / 0.5222 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.3923, allocations: 139.6 kB / 0.5224 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.3935, allocations: 183.8 kB / 0.5225 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.3948, allocations: 0.7404 MB / 0.5233 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/0.3949, allocations: 68.33 kB / 0.5233 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.3952, allocations: 119.6 kB / 0.5235 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.3972, allocations: 1.218 MB / 0.5246 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.3972, allocations: 8.672 kB / 0.5246 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/0.3973, allocations: 32.81 kB / 0.5247 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000271/0.3976, allocations: 66.12 kB / 0.5247 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.3993, allocations: 1.01 MB / 0.5257 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006173/0.4055, allocations: 4.709 MB / 0.5303 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.4065, allocations: 0.6758 MB / 0.531 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.4072, allocations: 460.7 kB / 0.5314 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.4073, allocations: 12.42 kB / 0.5314 GB, free: 6.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007318/0.408, allocations: 0.5275 MB / 0.532 GB, free: 6.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 3.727e-06/0.408, allocations: 0 / 0.532 GB, free: 6.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005661/0.4137, allocations: 3.041 MB / 0.5349 GB, free: 4.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.4138, allocations: 215.5 kB / 0.5351 GB, free: 4.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.4146, allocations: 0.5855 MB / 0.5357 GB, free: 3.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.4146, allocations: 45.64 kB / 0.5357 GB, free: 3.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.415, allocations: 482.3 kB / 0.5362 GB, free: 3.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.4153, allocations: 261.2 kB / 0.5365 GB, free: 3.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.4155, allocations: 165.6 kB / 0.5366 GB, free: 2.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4157, allocations: 392.8 kB / 0.537 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006445/0.4164, allocations: 384.4 kB / 0.5374 GB, free: 2.426 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/0.4172, allocations: 0.6425 MB / 0.538 GB, free: 1.902 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.005349/0.4225, allocations: 2.231 MB / 0.5402 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.4226, allocations: 2.75 kB / 0.5402 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003265/0.4258, allocations: 1.656 MB / 0.5418 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.4259, allocations: 33.95 kB / 0.5418 GB, free: 15.64 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.000619/0.4265, allocations: 398.6 kB / 0.5422 GB, free: 15.45 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated