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.001198/0.001198, allocations: 101.2 kB / 16.5 MB, free: 6.688 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.001098/0.001098, allocations: 194.1 kB / 17.42 MB, free: 6.09 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.345/1.345, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1694/0.1694, allocations: 37.99 MB / 308.6 MB, free: 6.242 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.001377/0.001377, allocations: 67.03 kB / 374.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2546, allocations: 55.24 MB / 430 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008925/0.2636, allocations: 9.241 MB / 439.2 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004801/0.2684, allocations: 2.887 MB / 442.1 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.2697, allocations: 67.56 kB / 442.2 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.2715, allocations: 0.797 MB / 443 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001013/0.2725, allocations: 485.9 kB / 443.4 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.2736, allocations: 403.3 kB / 443.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.2747, allocations: 1.988 MB / 445.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006808/0.2754, allocations: 0.6617 MB / 446.5 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004933/0.2759, allocations: 0.4978 MB / 447 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.2765, allocations: 0.7204 MB / 447.7 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/0.2766, allocations: 56 kB / 447.7 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004531/0.2771, allocations: 259.6 kB / 448 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.2774, allocations: 490.7 kB / 448.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.2778, allocations: 0.5091 MB / 449 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009291/0.2787, allocations: 1.285 MB / 450.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2788, allocations: 0 / 450.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2788, allocations: 0 / 450.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2788, allocations: 0 / 450.3 MB, free: 15.39 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.002277/0.2811, allocations: 1.335 MB / 451.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.2811, allocations: 8.031 kB / 451.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.2813, allocations: 139.7 kB / 451.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.2824, allocations: 191.4 kB / 451.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2835, allocations: 0.7 MB / 452.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.2836, allocations: 66.3 kB / 452.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/0.2838, allocations: 119.8 kB / 452.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.2855, allocations: 1.212 MB / 454 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.2855, allocations: 11.94 kB / 454 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.2856, allocations: 32 kB / 454.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/0.2859, allocations: 65.95 kB / 454.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.2875, allocations: 1.011 MB / 455.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.2928, allocations: 4.725 MB / 459.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.294, allocations: 0.6649 MB / 460.5 MB, free: 4.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006322/0.2946, allocations: 463.2 kB / 461 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-05/0.2947, allocations: 20.55 kB / 461 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007969/0.2955, allocations: 0.5182 MB / 461.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.015e-06/0.2955, allocations: 0 / 461.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.004839/0.3004, allocations: 3.053 MB / 464.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.3005, allocations: 222.2 kB / 464.8 MB, free: 292 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/0.3012, allocations: 0.5862 MB / 465.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.3013, allocations: 41.7 kB / 465.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.3016, allocations: 482.8 kB / 465.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.3019, allocations: 256.4 kB / 466.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.3021, allocations: 174.6 kB / 466.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3023, allocations: 390.8 kB / 466.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.3029, allocations: 385.8 kB / 467.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007265/0.3036, allocations: 0.6378 MB / 467.7 MB, free: 13.21 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.005059/0.3087, allocations: 2.221 MB / 469.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.3087, allocations: 4 kB / 469.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00319/0.3119, allocations: 1.665 MB / 471.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.312, allocations: 33.7 kB / 471.6 MB, free: 9.145 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.000623/0.3126, allocations: 397.4 kB / 472 MB, free: 8.762 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated