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: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009315/0.0009319, allocations: 106.3 kB / 17.16 MB, free: 6.324 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.0008804/0.0008804, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.195/1.195, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1577/0.1577, allocations: 37.99 MB / 309.3 MB, free: 6.23 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.001188/0.001188, allocations: 71.17 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1995, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.006391/0.206, allocations: 9.229 MB / 439.7 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.2091, allocations: 2.891 MB / 442.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004003/0.2095, allocations: 63.56 kB / 442.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001484/0.211, allocations: 0.7996 MB / 443.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00064/0.2117, allocations: 485.9 kB / 444 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.2124, allocations: 399.3 kB / 444.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009712/0.2134, allocations: 1.984 MB / 446.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.214, allocations: 0.6734 MB / 447 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003854/0.2144, allocations: 0.49 MB / 447.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.215, allocations: 0.7321 MB / 448.2 MB, free: 2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.226e-05/0.2151, allocations: 56 kB / 448.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.2155, allocations: 251.6 kB / 448.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.2157, allocations: 486.7 kB / 449 MB, free: 1.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.2161, allocations: 0.5091 MB / 449.5 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.2167, allocations: 1.006 MB / 450.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2167, allocations: 0 / 450.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.2168, allocations: 0 / 450.5 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2168, allocations: 0 / 450.5 MB, free: 15.7 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.002067/0.2188, allocations: 1.331 MB / 451.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.2189, allocations: 8.031 kB / 451.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.2199, allocations: 187.5 kB / 452 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.2209, allocations: 0.696 MB / 452.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.221, allocations: 66.36 kB / 452.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.2212, allocations: 127.9 kB / 452.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.2228, allocations: 1.216 MB / 454.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.2229, allocations: 3.938 kB / 454.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.223, allocations: 36 kB / 454.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000241/0.2232, allocations: 65.95 kB / 454.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.2247, allocations: 1.011 MB / 455.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004984/0.2297, allocations: 4.725 MB / 460 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009817/0.2306, allocations: 0.6687 MB / 460.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.2312, allocations: 467.2 kB / 461.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.2313, allocations: 12.55 kB / 461.1 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006841/0.232, allocations: 0.526 MB / 461.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.214e-06/0.232, allocations: 0 / 461.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.004345/0.2364, allocations: 3.037 MB / 464.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.2365, allocations: 230.2 kB / 464.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.237, allocations: 0.59 MB / 465.5 MB, free: 156 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.2371, allocations: 45.69 kB / 465.5 MB, free: 104 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.2374, allocations: 475 kB / 466 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.2376, allocations: 264.3 kB / 466.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.2378, allocations: 170.5 kB / 466.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.238, allocations: 386.8 kB / 466.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.2386, allocations: 389.8 kB / 467.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.2393, allocations: 0.6417 MB / 467.8 MB, free: 13.67 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.004721/0.244, allocations: 2.217 MB / 470 MB, free: 11.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.244, allocations: 4 kB / 470.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002827/0.2468, allocations: 1.665 MB / 471.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.2469, allocations: 34.39 kB / 471.8 MB, free: 9.605 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.0005703/0.2475, allocations: 397.4 kB / 472.1 MB, free: 9.223 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated