Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009607/0.0009607, allocations: 178.2 kB / 16.07 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 222.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007567/0.0007568, allocations: 91.47 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1633/0.1633, allocations: 38.07 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003518, allocations: 8 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2687, allocations: 56.33 MB / 479.7 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008454/0.2772, allocations: 8.284 MB / 488 MB, free: 3.543 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004676/0.2819, allocations: 2.721 MB / 490.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007093/0.2827, allocations: 56.62 kB / 490.8 MB, free: 1.586 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000711/0.2834, allocations: 263.2 kB / 491.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001356/0.2848, allocations: 0.5863 MB / 491.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.2861, allocations: 480.9 kB / 492.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.2878, allocations: 1.564 MB / 493.7 MB, free: 360 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.2895, allocations: 1.099 MB / 494.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008529/0.2903, allocations: 474.4 kB / 495.2 MB, free: 15.56 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009919/0.2913, allocations: 0.669 MB / 495.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.2914, allocations: 42.31 kB / 495.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005971/0.292, allocations: 234.1 kB / 496.2 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005363/0.2926, allocations: 466.3 kB / 496.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005381/0.2931, allocations: 0.4933 MB / 497.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2943, allocations: 0.9787 MB / 498.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2943, allocations: 1.156 kB / 498.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2943, allocations: 0 / 498.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2943, allocations: 0 / 498.1 MB, free: 14.67 MB / 330.7 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.002073/0.2964, allocations: 1.157 MB / 499.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.2964, allocations: 13.83 kB / 499.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/0.2966, allocations: 141.1 kB / 499.4 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.2977, allocations: 178.7 kB / 499.6 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.2988, allocations: 0.7086 MB / 0.4886 GB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.904e-05/0.2988, allocations: 64.52 kB / 0.4886 GB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.2991, allocations: 119.2 kB / 0.4887 GB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.3009, allocations: 1.215 MB / 0.4899 GB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.301, allocations: 6.312 kB / 0.4899 GB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.667e-05/0.3011, allocations: 33.5 kB / 0.49 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002554/0.3013, allocations: 61.03 kB / 0.49 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.3029, allocations: 1.011 MB / 0.491 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/0.3086, allocations: 4.726 MB / 0.4956 GB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.3097, allocations: 0.6614 MB / 0.4963 GB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/0.3103, allocations: 465.8 kB / 0.4967 GB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-05/0.3104, allocations: 8.031 kB / 0.4967 GB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007445/0.3111, allocations: 0.5302 MB / 0.4972 GB, free: 6.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.095e-06/0.3112, allocations: 0 / 0.4972 GB, free: 6.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.004727/0.3159, allocations: 3.032 MB / 0.5002 GB, free: 4.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.316, allocations: 229 kB / 0.5004 GB, free: 4.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.3167, allocations: 0.586 MB / 0.501 GB, free: 4.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.959e-05/0.3167, allocations: 43.17 kB / 0.501 GB, free: 4.289 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.3171, allocations: 470.8 kB / 0.5015 GB, free: 3.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/0.3173, allocations: 267.3 kB / 0.5017 GB, free: 3.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.3173, allocations: 16.16 kB / 0.5018 GB, free: 3.637 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3175, allocations: 391.5 kB / 0.5021 GB, free: 3.266 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.3181, allocations: 388 kB / 0.5025 GB, free: 2.906 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006755/0.3188, allocations: 0.6339 MB / 0.5031 GB, free: 2.16 MB / 330.7 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.004869/0.3236, allocations: 2.221 MB / 0.5053 GB, free: 15.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3237, allocations: 4 kB / 0.5053 GB, free: 15.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002867/0.3265, allocations: 1.634 MB / 0.5069 GB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/0.3266, allocations: 37.69 kB / 0.5069 GB, free: 14.12 MB / 346.7 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.0006033/0.3272, allocations: 394.1 kB / 0.5073 GB, free: 13.74 MB / 346.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated