Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.Introductory.SimulationSteadyInitial.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002484/0.002483, allocations: 357.2 kB / 16.56 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.575/3.575, allocations: 388.9 MB / 406.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003488/0.003488, allocations: 231.6 kB / 451.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6649/0.6649, allocations: 76 MB / 0.5594 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.000437, allocations: 11.98 kB / 0.6216 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06874/0.0692, allocations: 53.23 MB / 0.6736 GB, free: 60.95 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.00762/0.07686, allocations: 8.236 MB / 0.6816 GB, free: 52.68 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004139/0.08103, allocations: 2.713 MB / 0.6843 GB, free: 49.96 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/0.08153, allocations: 55.62 kB / 0.6843 GB, free: 49.9 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005578/0.0821, allocations: 246.3 kB / 0.6846 GB, free: 49.66 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.08324, allocations: 0.5905 MB / 0.6852 GB, free: 49.07 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.08438, allocations: 466.9 kB / 0.6856 GB, free: 48.61 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.08565, allocations: 1.55 MB / 0.6871 GB, free: 47.05 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.08728, allocations: 1.009 MB / 0.6881 GB, free: 46.01 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005086/0.08781, allocations: 461.8 kB / 0.6885 GB, free: 45.56 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.08867, allocations: 0.6659 MB / 0.6892 GB, free: 44.89 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.08879, allocations: 44 kB / 0.6892 GB, free: 44.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.08925, allocations: 195.6 kB / 0.6894 GB, free: 44.66 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004051/0.08967, allocations: 466.8 kB / 0.6899 GB, free: 44.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.08989, allocations: 209.2 kB / 0.6901 GB, free: 43.99 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.0908, allocations: 0.9819 MB / 0.691 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.011e-06/0.09082, allocations: 3.938 kB / 0.691 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.665e-06/0.09083, allocations: 0 / 0.691 GB, free: 43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.09086, allocations: 0 / 0.691 GB, free: 43 MB / 442.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.001973/0.09284, allocations: 1.159 MB / 0.6922 GB, free: 41.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.09288, allocations: 12.03 kB / 0.6922 GB, free: 41.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.09421, allocations: 190.5 kB / 0.6923 GB, free: 41.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.09545, allocations: 0.6834 MB / 0.693 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.09552, allocations: 61.98 kB / 0.6931 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.09585, allocations: 123.9 kB / 0.6932 GB, free: 40.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.09775, allocations: 1.216 MB / 0.6944 GB, free: 39.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.0978, allocations: 4 kB / 0.6944 GB, free: 39.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.09791, allocations: 36 kB / 0.6944 GB, free: 39.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002733/0.0982, allocations: 61.91 kB / 0.6945 GB, free: 39.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.1001, allocations: 1.003 MB / 0.6955 GB, free: 38.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005865/0.106, allocations: 4.722 MB / 0.7001 GB, free: 33.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.1072, allocations: 0.6682 MB / 0.7007 GB, free: 32.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007634/0.108, allocations: 467.5 kB / 0.7012 GB, free: 32.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.391e-05/0.1081, allocations: 12.55 kB / 0.7012 GB, free: 32.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008187/0.1089, allocations: 0.5298 MB / 0.7017 GB, free: 31.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 3.947e-06/0.1089, allocations: 0 / 0.7017 GB, free: 31.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.005574/0.1145, allocations: 3.026 MB / 0.7047 GB, free: 28.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.1146, allocations: 222.3 kB / 0.7049 GB, free: 28.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006719/0.1153, allocations: 0.5937 MB / 0.7054 GB, free: 27.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/0.1154, allocations: 45.69 kB / 0.7055 GB, free: 27.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.1157, allocations: 467 kB / 0.7059 GB, free: 27.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.1159, allocations: 264.3 kB / 0.7062 GB, free: 26.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.1159, allocations: 16 kB / 0.7062 GB, free: 26.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1161, allocations: 394.7 kB / 0.7066 GB, free: 26.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007159/0.1168, allocations: 377.8 kB / 0.7069 GB, free: 26.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008277/0.1176, allocations: 0.6301 MB / 0.7076 GB, free: 25.36 MB / 442.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.004542/0.1222, allocations: 1.247 MB / 0.7088 GB, free: 24.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.482e-06/0.1222, allocations: 0 / 0.7088 GB, free: 24.11 MB / 442.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. Error: No system for the symbolic initialization was generated