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.001601/0.001602, allocations: 105.1 kB / 16.62 MB, free: 6.812 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.001471/0.001471, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.288/1.288, allocations: 222.9 MB / 241.2 MB, free: 15.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1704/0.1704, allocations: 38.04 MB / 329.4 MB, free: 9.047 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.17 kB / 398.4 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09349, allocations: 58.06 MB / 456.4 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01189/0.1054, allocations: 9.238 MB / 465.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.1107, allocations: 2.82 MB / 468.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.1118, allocations: 59.62 kB / 468.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.1142, allocations: 0.816 MB / 469.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.1156, allocations: 474 kB / 469.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1168, allocations: 403.3 kB / 470.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.1185, allocations: 1.313 MB / 471.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.1197, allocations: 0.748 MB / 472.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.1207, allocations: 0.568 MB / 472.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.1219, allocations: 0.7476 MB / 473.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.1221, allocations: 80 kB / 473.7 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006058/0.1227, allocations: 267.6 kB / 474 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005304/0.1232, allocations: 0.4988 MB / 474.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006705/0.1239, allocations: 0.5403 MB / 475 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.1252, allocations: 1.304 MB / 476.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.1252, allocations: 0 / 476.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1253, allocations: 4 kB / 476.3 MB, free: 4.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.483e-05/0.1253, allocations: 0 / 476.3 MB, free: 4.418 MB / 350.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.002635/0.1279, allocations: 1.331 MB / 477.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.128, allocations: 19.89 kB / 477.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.1282, allocations: 143.7 kB / 477.8 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.1293, allocations: 179.5 kB / 478 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.1305, allocations: 0.6999 MB / 478.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.1306, allocations: 62.38 kB / 478.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.1309, allocations: 127.7 kB / 478.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.1328, allocations: 1.216 MB / 480.1 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.1328, allocations: 11.94 kB / 480.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.658e-05/0.1329, allocations: 39.97 kB / 480.1 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002816/0.1332, allocations: 61.97 kB / 480.2 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.1349, allocations: 1.019 MB / 481.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00624/0.1412, allocations: 4.714 MB / 485.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.1423, allocations: 0.6759 MB / 486.6 MB, free: 9.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006709/0.143, allocations: 463.2 kB / 487 MB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.143, allocations: 12.56 kB / 487 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/0.1438, allocations: 0.5182 MB / 487.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.735e-06/0.1438, allocations: 3.938 kB / 487.6 MB, free: 8.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005238/0.1491, allocations: 3.038 MB / 490.6 MB, free: 5.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.1492, allocations: 226.2 kB / 490.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.1499, allocations: 0.5938 MB / 491.4 MB, free: 4.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.15, allocations: 37.7 kB / 491.5 MB, free: 4.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.1504, allocations: 479 kB / 491.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003076/0.1507, allocations: 260.4 kB / 492.2 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.1511, allocations: 174.5 kB / 492.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1513, allocations: 386.8 kB / 492.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007064/0.1521, allocations: 393.7 kB / 493.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000818/0.1529, allocations: 0.6418 MB / 493.8 MB, free: 2.227 MB / 366.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.005656/0.1585, allocations: 2.236 MB / 496 MB, free: 15.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.1586, allocations: 0 / 496 MB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00367/0.1623, allocations: 1.649 MB / 497.6 MB, free: 14.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.455e-05/0.1624, allocations: 40.73 kB / 497.7 MB, free: 14.16 MB / 382.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.0006743/0.163, allocations: 405.4 kB / 498.1 MB, free: 13.77 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated