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.001165/0.001166, allocations: 111.2 kB / 16.51 MB, free: 6.707 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.001166/0.001166, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.237/1.237, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1648/0.1648, allocations: 38.04 MB / 329.3 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 60.17 kB / 398.2 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08712, allocations: 58.06 MB / 456.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.00904/0.09619, allocations: 9.23 MB / 465.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004515/0.1007, allocations: 2.859 MB / 468.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006365/0.1014, allocations: 59.62 kB / 468.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.1033, allocations: 0.8017 MB / 469.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009015/0.1042, allocations: 489.9 kB / 469.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009463/0.1051, allocations: 391.3 kB / 470.1 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001595/0.1067, allocations: 1.984 MB / 472 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008258/0.1076, allocations: 0.6734 MB / 472.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.1082, allocations: 0.49 MB / 473.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008645/0.109, allocations: 0.7242 MB / 473.9 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.1092, allocations: 56 kB / 474 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.1097, allocations: 255.6 kB / 474.2 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.1101, allocations: 482.8 kB / 474.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.1106, allocations: 0.513 MB / 475.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1116, allocations: 1.289 MB / 476.5 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1116, allocations: 3.938 kB / 476.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1117, allocations: 0 / 476.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1117, allocations: 0 / 476.5 MB, free: 4.082 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.002221/0.1139, allocations: 1.331 MB / 477.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1139, allocations: 8.031 kB / 477.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.1141, allocations: 147.6 kB / 478 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.1152, allocations: 179.5 kB / 478.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1162, allocations: 0.6999 MB / 478.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.1163, allocations: 70.36 kB / 478.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/0.1165, allocations: 119.8 kB / 479.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.1182, allocations: 1.216 MB / 480.3 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.1182, allocations: 7.938 kB / 480.3 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.1183, allocations: 35.98 kB / 480.3 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002466/0.1186, allocations: 69.95 kB / 480.4 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.1201, allocations: 1.015 MB / 481.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005654/0.1257, allocations: 4.706 MB / 486.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.1269, allocations: 0.6838 MB / 486.8 MB, free: 9.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.1275, allocations: 463.2 kB / 487.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.1276, allocations: 8.562 kB / 487.2 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000781/0.1284, allocations: 0.526 MB / 487.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.846e-06/0.1284, allocations: 4 kB / 487.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004836/0.1332, allocations: 3.034 MB / 490.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.1334, allocations: 234.2 kB / 491 MB, free: 4.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.134, allocations: 0.586 MB / 491.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.134, allocations: 41.7 kB / 491.7 MB, free: 4.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.1344, allocations: 475 kB / 492.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.1346, allocations: 264.4 kB / 492.4 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.1348, allocations: 170.5 kB / 492.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.135, allocations: 390.8 kB / 492.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.1356, allocations: 385.8 kB / 493.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007107/0.1363, allocations: 0.634 MB / 493.9 MB, free: 1.91 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.005022/0.1413, allocations: 2.225 MB / 496.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.1413, allocations: 4 kB / 496.2 MB, free: 15.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003034/0.1444, allocations: 1.654 MB / 497.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.1444, allocations: 37.8 kB / 497.9 MB, free: 13.84 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.0006265/0.1451, allocations: 401.4 kB / 498.3 MB, free: 13.46 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated