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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0008792/0.0008794, allocations: 87.62 kB / 16.65 MB, free: 6.535 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.0009863/0.0009864, allocations: 175 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1627/0.1627, allocations: 38.05 MB / 310.1 MB, free: 5.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005243, allocations: 20 kB / 377.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 56.33 MB / 433.6 MB, free: 18.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.005881/0.225, allocations: 8.755 MB / 442.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003676/0.2287, allocations: 2.852 MB / 445.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.2291, allocations: 55.62 kB / 445.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004906/0.2296, allocations: 222.5 kB / 445.5 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007595/0.2304, allocations: 481.9 kB / 445.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007573/0.2311, allocations: 399.3 kB / 446.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.2323, allocations: 1.98 MB / 448.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.2335, allocations: 1.126 MB / 449.4 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.234, allocations: 469.8 kB / 449.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.2346, allocations: 0.6774 MB / 450.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.2347, allocations: 44 kB / 450.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.2351, allocations: 227.6 kB / 450.8 MB, free: 1.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.2354, allocations: 466.7 kB / 451.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.2358, allocations: 0.5108 MB / 451.8 MB, free: 340 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.2368, allocations: 1.261 MB / 453.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2368, allocations: 0 / 453.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.2368, allocations: 0 / 453.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.2368, allocations: 3.938 kB / 453.1 MB, free: 15.05 MB / 334.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.001992/0.2388, allocations: 1.151 MB / 454.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2389, allocations: 12.03 kB / 454.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.239, allocations: 135.7 kB / 454.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.2401, allocations: 183.5 kB / 454.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.2412, allocations: 0.6999 MB / 455.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.609e-05/0.2413, allocations: 78.28 kB / 455.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.2416, allocations: 107.9 kB / 455.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.2432, allocations: 1.223 MB / 456.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.2433, allocations: 7.844 kB / 456.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.2434, allocations: 36 kB / 456.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002458/0.2436, allocations: 61.97 kB / 456.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.2451, allocations: 1.011 MB / 457.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005277/0.2504, allocations: 4.729 MB / 462.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.2515, allocations: 0.6649 MB / 463.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.2521, allocations: 463.2 kB / 463.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.2522, allocations: 12.55 kB / 463.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007085/0.2529, allocations: 0.5297 MB / 464.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.235e-06/0.2529, allocations: 4 kB / 464.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.004568/0.2575, allocations: 3.042 MB / 467.2 MB, free: 416 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.2576, allocations: 218.2 kB / 467.4 MB, free: 148 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.2582, allocations: 0.5938 MB / 468 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.2583, allocations: 41.7 kB / 468 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.2586, allocations: 479 kB / 468.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.2589, allocations: 260.4 kB / 468.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.259, allocations: 85.67 kB / 468.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.2591, allocations: 390.7 kB / 469.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/0.2597, allocations: 389.8 kB / 469.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.2605, allocations: 0.6417 MB / 470.3 MB, free: 13.14 MB / 350.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.004932/0.2654, allocations: 2.217 MB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2654, allocations: 4 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002988/0.2684, allocations: 1.665 MB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.2685, allocations: 37.7 kB / 474.2 MB, free: 9.078 MB / 350.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.0005907/0.2691, allocations: 401.4 kB / 474.6 MB, free: 8.688 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated