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: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002886/0.002885, allocations: 177.6 kB / 16.74 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0008914/0.0008913, allocations: 86.41 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2432/0.2432, allocations: 38.08 MB / 357.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006053/0.0006057, allocations: 12 kB / 424 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5449, allocations: 56.32 MB / 480.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01281/0.5578, allocations: 8.28 MB / 488.6 MB, free: 3.547 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008154/0.5661, allocations: 2.73 MB / 491.3 MB, free: 1.605 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.5683, allocations: 55.59 kB / 491.4 MB, free: 1.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.5696, allocations: 263.3 kB / 491.6 MB, free: 1.445 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002512/0.5721, allocations: 0.5894 MB / 492.2 MB, free: 1.117 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.5745, allocations: 481.8 kB / 492.7 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003222/0.5777, allocations: 1.565 MB / 494.2 MB, free: 352 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.5805, allocations: 1.087 MB / 495.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001818/0.5823, allocations: 474.5 kB / 495.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.5844, allocations: 0.6772 MB / 496.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.5846, allocations: 41.88 kB / 496.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.5856, allocations: 230.4 kB / 496.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009535/0.5866, allocations: 468.9 kB / 497.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009137/0.5875, allocations: 499 kB / 497.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.5897, allocations: 0.9817 MB / 498.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.5897, allocations: 5.125 kB / 498.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5897, allocations: 0 / 498.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.5897, allocations: 0 / 498.7 MB, free: 14.66 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.003436/0.5932, allocations: 1.153 MB / 499.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.489e-05/0.5933, allocations: 8.75 kB / 499.8 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.5946, allocations: 186.3 kB / 0.4883 GB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.5962, allocations: 0.7079 MB / 0.489 GB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.5963, allocations: 65.08 kB / 0.489 GB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003559/0.5967, allocations: 119.9 kB / 0.4892 GB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.5993, allocations: 1.206 MB / 0.4903 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/0.5994, allocations: 6.469 kB / 0.4903 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.5995, allocations: 37.41 kB / 0.4904 GB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003003/0.5998, allocations: 64.55 kB / 0.4904 GB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.602, allocations: 0.9998 MB / 0.4914 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008409/0.6104, allocations: 4.726 MB / 0.496 GB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.6121, allocations: 0.6646 MB / 0.4967 GB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009252/0.6131, allocations: 466.8 kB / 0.4971 GB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.318e-05/0.6131, allocations: 12.17 kB / 0.4971 GB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.6142, allocations: 0.5269 MB / 0.4976 GB, free: 6.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 5.36e-06/0.6142, allocations: 0 / 0.4976 GB, free: 6.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.006665/0.6209, allocations: 3.028 MB / 0.5006 GB, free: 5.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.6211, allocations: 226.9 kB / 0.5008 GB, free: 4.805 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.6221, allocations: 0.5836 MB / 0.5014 GB, free: 4.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.89e-05/0.6222, allocations: 45.94 kB / 0.5014 GB, free: 4.414 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.6228, allocations: 474.3 kB / 0.5019 GB, free: 4 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.6231, allocations: 260.9 kB / 0.5021 GB, free: 3.777 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.6231, allocations: 24.16 kB / 0.5022 GB, free: 3.758 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002931/0.6234, allocations: 387.8 kB / 0.5025 GB, free: 3.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.6242, allocations: 385.1 kB / 0.5029 GB, free: 3.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.625, allocations: 0.6339 MB / 0.5035 GB, free: 2.324 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.005558/0.6306, allocations: 2.225 MB / 0.5057 GB, free: 15.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.6306, allocations: 0 / 0.5057 GB, free: 15.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003518/0.6341, allocations: 1.638 MB / 0.5073 GB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.6342, allocations: 40.05 kB / 0.5073 GB, free: 14.28 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.0006934/0.6349, allocations: 393.5 kB / 0.5077 GB, free: 13.9 MB / 346.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated