Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_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.001034/0.001034, allocations: 106.9 kB / 16.92 MB, free: 6.199 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.00106/0.00106, allocations: 191.4 kB / 17.85 MB, free: 5.301 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.268/1.268, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1744/0.1744, allocations: 38.02 MB / 329.7 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 65.12 kB / 398.9 MB, free: 33.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09844/0.09981, allocations: 58.06 MB / 457 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009285/0.1091, allocations: 7.574 MB / 464.5 MB, free: 368 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.1131, allocations: 2.325 MB / 466.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006638/0.1138, allocations: 31.88 kB / 466.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.116, allocations: 0.8478 MB / 467.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1172, allocations: 0.513 MB / 468.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1183, allocations: 447 kB / 468.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.1198, allocations: 1.321 MB / 470 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008736/0.1207, allocations: 0.6855 MB / 470.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007454/0.1215, allocations: 0.5758 MB / 471.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008302/0.1223, allocations: 0.6814 MB / 471.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.1225, allocations: 87.94 kB / 472 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.123, allocations: 267.6 kB / 472.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.1234, allocations: 0.4948 MB / 472.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004829/0.1239, allocations: 0.5443 MB / 473.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.125, allocations: 1.3 MB / 474.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.125, allocations: 0 / 474.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.125, allocations: 0 / 474.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1251, allocations: 0 / 474.6 MB, free: 6.219 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.00219/0.1273, allocations: 1.335 MB / 476 MB, free: 4.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1273, allocations: 11.89 kB / 476 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.1275, allocations: 143.7 kB / 476.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.1286, allocations: 183.5 kB / 476.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.1296, allocations: 0.7076 MB / 477 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.1297, allocations: 62.38 kB / 477.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.1299, allocations: 115.9 kB / 477.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.1315, allocations: 1.219 MB / 478.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.1315, allocations: 11.91 kB / 478.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.1316, allocations: 39.97 kB / 478.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/0.1319, allocations: 61.97 kB / 478.5 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.1334, allocations: 1.019 MB / 479.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005367/0.1387, allocations: 4.714 MB / 484.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1398, allocations: 0.6826 MB / 484.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.1404, allocations: 461.7 kB / 485.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-05/0.1404, allocations: 16.55 kB / 485.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007045/0.1412, allocations: 0.5221 MB / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.324e-06/0.1412, allocations: 0 / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004521/0.1457, allocations: 3.034 MB / 488.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.1458, allocations: 230.1 kB / 489.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.1464, allocations: 0.5898 MB / 489.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.1465, allocations: 45.7 kB / 489.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.1468, allocations: 467 kB / 490.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.147, allocations: 260.3 kB / 490.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.1473, allocations: 174.5 kB / 490.7 MB, free: 5.555 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1474, allocations: 398.7 kB / 491.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.148, allocations: 385.8 kB / 491.5 MB, free: 4.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007136/0.1487, allocations: 0.6418 MB / 492.1 MB, free: 4.023 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.005213/0.1539, allocations: 2.233 MB / 494.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.154, allocations: 4 kB / 494.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002965/0.1569, allocations: 1.661 MB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.157, allocations: 33.7 kB / 496 MB, free: 15.95 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.0005963/0.1576, allocations: 401.4 kB / 496.4 MB, free: 15.56 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated