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.001149/0.001149, allocations: 106 kB / 17.06 MB, free: 6.125 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.001129/0.00113, allocations: 200 kB / 18 MB, free: 5.199 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1829/0.1829, allocations: 38.03 MB / 329.9 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 457.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3082, allocations: 58.06 MB / 0.5036 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007735/0.316, allocations: 7.576 MB / 0.511 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.3197, allocations: 2.323 MB / 0.5133 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006471/0.3204, allocations: 25.06 kB / 0.5133 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002199/0.3226, allocations: 0.8559 MB / 0.5141 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.3243, allocations: 0.5078 MB / 0.5146 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.3258, allocations: 443 kB / 0.5151 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.3278, allocations: 1.326 MB / 0.5164 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.329, allocations: 0.6946 MB / 0.517 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.3304, allocations: 0.5803 MB / 0.5176 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.3322, allocations: 0.6881 MB / 0.5183 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004052/0.3326, allocations: 82.28 kB / 0.5184 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.3337, allocations: 266.5 kB / 0.5186 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009429/0.3346, allocations: 0.4991 MB / 0.5191 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.3359, allocations: 0.5423 MB / 0.5196 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.3384, allocations: 1.315 MB / 0.5209 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3384, allocations: 1.438 kB / 0.5209 GB, free: 13.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.3384, allocations: 0 / 0.5209 GB, free: 13.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.566e-05/0.3385, allocations: 7.938 kB / 0.5209 GB, free: 13.05 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.003689/0.3422, allocations: 1.326 MB / 0.5222 GB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3422, allocations: 17.98 kB / 0.5222 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002892/0.3425, allocations: 146.3 kB / 0.5224 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.3438, allocations: 185.7 kB / 0.5225 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.3454, allocations: 0.7392 MB / 0.5233 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.986e-05/0.3455, allocations: 60.56 kB / 0.5233 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.3458, allocations: 119.8 kB / 0.5234 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.3478, allocations: 1.218 MB / 0.5246 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.3478, allocations: 10.12 kB / 0.5246 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.923e-05/0.3479, allocations: 38.08 kB / 0.5247 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002618/0.3482, allocations: 61.98 kB / 0.5247 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.35, allocations: 1.02 MB / 0.5257 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006846/0.3569, allocations: 4.702 MB / 0.5303 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.3581, allocations: 0.6751 MB / 0.531 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.3587, allocations: 457.9 kB / 0.5314 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.3588, allocations: 15.11 kB / 0.5314 GB, free: 6.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007587/0.3595, allocations: 0.5201 MB / 0.5319 GB, free: 6.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 4.769e-06/0.3596, allocations: 1.156 kB / 0.5319 GB, free: 6.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005366/0.3649, allocations: 3.043 MB / 0.5349 GB, free: 4.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.3651, allocations: 228.4 kB / 0.5351 GB, free: 4.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006956/0.3658, allocations: 0.5883 MB / 0.5357 GB, free: 3.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/0.3658, allocations: 38.02 kB / 0.5357 GB, free: 3.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.3662, allocations: 478.7 kB / 0.5362 GB, free: 3.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.3665, allocations: 260.2 kB / 0.5364 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/0.3667, allocations: 171.5 kB / 0.5366 GB, free: 3.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3669, allocations: 391.7 kB / 0.537 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/0.3675, allocations: 388.4 kB / 0.5374 GB, free: 2.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007955/0.3683, allocations: 0.6346 MB / 0.538 GB, free: 1.965 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.005364/0.3737, allocations: 2.228 MB / 0.5402 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3737, allocations: 1.5 kB / 0.5402 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003224/0.377, allocations: 1.657 MB / 0.5418 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.377, allocations: 41.98 kB / 0.5418 GB, free: 15.7 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.0006114/0.3776, allocations: 389.4 kB / 0.5422 GB, free: 15.51 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated