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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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_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/Complex 3.2.2+maint.om/package.mo): time 0.001107/0.001107, allocations: 189.5 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.212/1.212, allocations: 194.2 MB / 212.2 MB, free: 2.375 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001711/0.001711, allocations: 134.7 kB / 256.6 MB, free: 4.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1766/0.1766, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.19 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08816/0.08949, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.00698/0.09652, allocations: 9.241 MB / 463.2 MB, free: 7.285 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.1002, allocations: 2.879 MB / 466.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004879/0.1007, allocations: 59.62 kB / 466.2 MB, free: 4.336 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.1023, allocations: 0.8124 MB / 467 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007482/0.1031, allocations: 481.9 kB / 467.4 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009149/0.104, allocations: 399.3 kB / 467.8 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.1052, allocations: 1.995 MB / 469.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.106, allocations: 0.6658 MB / 470.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006244/0.1066, allocations: 0.4938 MB / 471 MB, free: 15.49 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008142/0.1074, allocations: 0.732 MB / 471.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1075, allocations: 60 kB / 471.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.1081, allocations: 247.6 kB / 472 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.1085, allocations: 490.8 kB / 472.5 MB, free: 13.97 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000473/0.1089, allocations: 0.513 MB / 473 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1101, allocations: 1.285 MB / 474.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1101, allocations: 0 / 474.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1101, allocations: 0 / 474.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1101, allocations: 4 kB / 474.3 MB, free: 12.16 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.002341/0.1124, allocations: 1.331 MB / 475.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1125, allocations: 12.03 kB / 475.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.1136, allocations: 183.4 kB / 475.8 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.1148, allocations: 0.6999 MB / 476.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.1148, allocations: 70.34 kB / 476.6 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.1151, allocations: 119.8 kB / 476.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.1167, allocations: 1.219 MB / 477.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.1167, allocations: 7.938 kB / 477.9 MB, free: 8.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.1168, allocations: 32 kB / 478 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002407/0.117, allocations: 61.97 kB / 478 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.1186, allocations: 1.019 MB / 479.1 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005942/0.1245, allocations: 4.718 MB / 483.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.1257, allocations: 0.676 MB / 484.4 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006425/0.1264, allocations: 459.2 kB / 484.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.273e-05/0.1264, allocations: 16.53 kB / 484.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008078/0.1272, allocations: 0.5221 MB / 485.4 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.377e-06/0.1273, allocations: 7.938 kB / 485.4 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.004527/0.1318, allocations: 3.034 MB / 488.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/0.1319, allocations: 226.1 kB / 488.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.1325, allocations: 0.5899 MB / 489.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.1325, allocations: 45.69 kB / 489.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.1328, allocations: 474.9 kB / 489.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.133, allocations: 264.4 kB / 490.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.1333, allocations: 170.5 kB / 490.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1335, allocations: 394.7 kB / 490.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.134, allocations: 385.8 kB / 491 MB, free: 10.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.1347, allocations: 0.634 MB / 491.6 MB, free: 10.13 MB / 346.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.004906/0.1396, allocations: 2.229 MB / 493.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.1396, allocations: 4 kB / 493.8 MB, free: 7.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003012/0.1427, allocations: 1.661 MB / 495.5 MB, free: 6.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.1427, allocations: 37.7 kB / 495.5 MB, free: 6.051 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.0005794/0.1433, allocations: 393.4 kB / 495.9 MB, free: 5.672 MB / 346.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated