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.002751/0.002751, allocations: 359.5 kB / 17.21 MB, free: 4.93 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.502/3.502, allocations: 388.9 MB / 406.9 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003483/0.003482, allocations: 225.3 kB / 452.2 MB, free: 0.5898 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7345/0.7345, allocations: 76.02 MB / 0.56 GB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004664, allocations: 8 kB / 0.6222 GB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3346, allocations: 53.22 MB / 0.6742 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.00961/0.3443, allocations: 8.236 MB / 0.6823 GB, free: 54.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00703/0.3514, allocations: 2.71 MB / 0.6849 GB, free: 51.67 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.3527, allocations: 55.62 kB / 0.685 GB, free: 51.62 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3541, allocations: 246.2 kB / 0.6852 GB, free: 51.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.3565, allocations: 0.5867 MB / 0.6858 GB, free: 50.79 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.3585, allocations: 463 kB / 0.6862 GB, free: 50.33 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001945/0.3604, allocations: 1.554 MB / 0.6877 GB, free: 48.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.3625, allocations: 1.013 MB / 0.6887 GB, free: 47.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.3636, allocations: 469.8 kB / 0.6892 GB, free: 47.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.3648, allocations: 0.662 MB / 0.6898 GB, free: 46.6 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.365, allocations: 40 kB / 0.6898 GB, free: 46.56 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006874/0.3657, allocations: 195.6 kB / 0.69 GB, free: 46.37 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005042/0.3662, allocations: 466.8 kB / 0.6905 GB, free: 45.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.3665, allocations: 213.2 kB / 0.6907 GB, free: 45.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.3677, allocations: 0.9857 MB / 0.6916 GB, free: 44.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3678, allocations: 0 / 0.6916 GB, free: 44.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3678, allocations: 0 / 0.6916 GB, free: 44.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.3678, allocations: 0 / 0.6916 GB, free: 44.71 MB / 346.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.002946/0.3707, allocations: 1.163 MB / 0.6928 GB, free: 43.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3708, allocations: 12.02 kB / 0.6928 GB, free: 43.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.3726, allocations: 190.6 kB / 0.693 GB, free: 43.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.3743, allocations: 0.6796 MB / 0.6936 GB, free: 42.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.3743, allocations: 66 kB / 0.6937 GB, free: 42.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004266/0.3748, allocations: 115.9 kB / 0.6938 GB, free: 42.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.3773, allocations: 1.216 MB / 0.695 GB, free: 41.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.668e-05/0.3773, allocations: 3.938 kB / 0.695 GB, free: 41.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.3775, allocations: 36 kB / 0.695 GB, free: 41.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004265/0.3779, allocations: 61.95 kB / 0.6951 GB, free: 41.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.3802, allocations: 0.9991 MB / 0.6961 GB, free: 40.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007876/0.3881, allocations: 4.733 MB / 0.7007 GB, free: 35.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.3898, allocations: 0.6644 MB / 0.7013 GB, free: 34.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009863/0.3909, allocations: 468.4 kB / 0.7018 GB, free: 33.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.264e-05/0.391, allocations: 12.55 kB / 0.7018 GB, free: 33.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.3921, allocations: 0.522 MB / 0.7023 GB, free: 33.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.817e-06/0.3921, allocations: 4 kB / 0.7023 GB, free: 33.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.007155/0.3992, allocations: 3.042 MB / 0.7053 GB, free: 30.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.3994, allocations: 218.2 kB / 0.7055 GB, free: 29.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.4002, allocations: 0.5783 MB / 0.7061 GB, free: 29.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001299/0.4004, allocations: 45.7 kB / 0.7061 GB, free: 29.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.4008, allocations: 482.9 kB / 0.7066 GB, free: 28.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.4011, allocations: 260.4 kB / 0.7068 GB, free: 28.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.4011, allocations: 16 kB / 0.7068 GB, free: 28.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4013, allocations: 394.8 kB / 0.7072 GB, free: 28.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008998/0.4022, allocations: 377.8 kB / 0.7076 GB, free: 27.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.4032, allocations: 0.6349 MB / 0.7082 GB, free: 27.09 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.006713/0.41, allocations: 1.239 MB / 0.7094 GB, free: 25.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.41, allocations: 4 kB / 0.7094 GB, free: 25.84 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. Error: No system for the symbolic initialization was generated