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.0009527/0.0009526, allocations: 89.16 kB / 16.31 MB, free: 6.457 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.001073/0.001073, allocations: 183.7 kB / 17.21 MB, free: 6.328 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.51/1.51, allocations: 223.2 MB / 241.2 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2063/0.2063, allocations: 38.09 MB / 330.4 MB, free: 8.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.000376, allocations: 8 kB / 400.2 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 59.17 MB / 459.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.00925/0.1547, allocations: 8.226 MB / 467.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006063/0.1608, allocations: 2.685 MB / 470.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009674/0.1618, allocations: 63.56 kB / 470.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000723/0.1626, allocations: 262.1 kB / 470.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.1641, allocations: 0.5869 MB / 471.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.1657, allocations: 467.1 kB / 471.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.1677, allocations: 1.554 MB / 473.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.1695, allocations: 1.009 MB / 474.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009884/0.1705, allocations: 469.9 kB / 474.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.1716, allocations: 0.6698 MB / 475.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.193e-05/0.1717, allocations: 44 kB / 475.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.1723, allocations: 203.6 kB / 475.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.1729, allocations: 466.8 kB / 476 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.1732, allocations: 205.2 kB / 476.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.1743, allocations: 0.9781 MB / 477.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1744, allocations: 0 / 477.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1744, allocations: 3.938 kB / 477.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.1744, allocations: 0 / 477.2 MB, free: 5.402 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.002355/0.1767, allocations: 1.167 MB / 478.3 MB, free: 4.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1768, allocations: 8.031 kB / 478.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001806/0.177, allocations: 143.5 kB / 478.5 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.1781, allocations: 186.5 kB / 478.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.1792, allocations: 0.6795 MB / 479.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.1793, allocations: 62 kB / 479.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.1796, allocations: 119.9 kB / 479.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.1815, allocations: 1.212 MB / 480.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.1816, allocations: 7.953 kB / 480.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/0.1817, allocations: 35.98 kB / 480.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002451/0.1819, allocations: 69.89 kB / 480.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.1836, allocations: 1.003 MB / 481.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006441/0.1901, allocations: 4.73 MB / 486.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.1912, allocations: 0.6721 MB / 487.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.1919, allocations: 459.8 kB / 487.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.02e-05/0.192, allocations: 12.56 kB / 487.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007862/0.1928, allocations: 0.5259 MB / 488.2 MB, free: 9.887 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 4.468e-06/0.1928, allocations: 3.984 kB / 488.3 MB, free: 9.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005368/0.1982, allocations: 3.053 MB / 491.3 MB, free: 6.746 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.1983, allocations: 218.2 kB / 491.5 MB, free: 6.484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.1991, allocations: 0.586 MB / 492.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.538e-05/0.1992, allocations: 41.7 kB / 492.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004308/0.1997, allocations: 479 kB / 492.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.2, allocations: 256.4 kB / 492.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.2, allocations: 23.98 kB / 492.9 MB, free: 5.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.2003, allocations: 394.7 kB / 493.3 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006031/0.2009, allocations: 381.8 kB / 493.6 MB, free: 4.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000822/0.2017, allocations: 0.6301 MB / 494.3 MB, free: 3.574 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.003716/0.2054, allocations: 1.254 MB / 495.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.2055, allocations: 4 kB / 495.5 MB, free: 2.316 MB / 366.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. Error: No system for the symbolic initialization was generated