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.002482/0.002486, allocations: 183 kB / 15.77 MB, free: 5.988 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.115/2.115, allocations: 205.4 MB / 221.9 MB, free: 13.7 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.001122/0.001122, allocations: 98.84 kB / 270.3 MB, free: 13.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2759/0.2759, allocations: 38.06 MB / 356.6 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.0006611, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.112, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01252/0.1246, allocations: 7.842 MB / 486.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007112/0.1318, allocations: 2.753 MB / 489.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1329, allocations: 59.56 kB / 489.7 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.1339, allocations: 254.5 kB / 489.9 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.1359, allocations: 490.4 kB / 490.4 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.138, allocations: 459 kB / 490.9 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.1394, allocations: 0.6748 MB / 491.5 MB, free: 5.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/0.1419, allocations: 1.002 MB / 492.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1429, allocations: 418.4 kB / 492.9 MB, free: 4.031 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009922/0.1439, allocations: 466.5 kB / 493.4 MB, free: 3.574 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.1441, allocations: 40 kB / 493.4 MB, free: 3.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.1447, allocations: 183.7 kB / 493.6 MB, free: 3.355 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006231/0.1454, allocations: 423 kB / 494 MB, free: 2.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.1457, allocations: 209.1 kB / 494.2 MB, free: 2.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.1473, allocations: 0.9858 MB / 495.2 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1474, allocations: 0 / 495.2 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1474, allocations: 3.938 kB / 495.2 MB, free: 1.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.1474, allocations: 0 / 495.2 MB, free: 1.738 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.003433/0.1508, allocations: 1.163 MB / 496.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1509, allocations: 8.031 kB / 496.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.1529, allocations: 190.6 kB / 496.6 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.1549, allocations: 0.6874 MB / 497.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.524e-05/0.155, allocations: 58 kB / 497.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00048/0.1555, allocations: 119.8 kB / 497.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.1585, allocations: 1.201 MB / 498.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.823e-05/0.1586, allocations: 15.94 kB / 498.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/0.1587, allocations: 35.98 kB / 498.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004582/0.1592, allocations: 61.97 kB / 498.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.162, allocations: 1.003 MB / 499.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01069/0.1728, allocations: 4.73 MB / 0.4927 GB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001955/0.1748, allocations: 0.6721 MB / 0.4933 GB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.92e-05/0.1749, allocations: 8.625 kB / 0.4933 GB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.1762, allocations: 0.5182 MB / 0.4938 GB, free: 6.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 5.681e-06/0.1762, allocations: 0 / 0.4938 GB, free: 6.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.008578/0.1848, allocations: 3.197 MB / 0.497 GB, free: 3.535 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.185, allocations: 218.1 kB / 0.4972 GB, free: 3.273 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.1861, allocations: 0.59 MB / 0.4977 GB, free: 2.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.1863, allocations: 37.7 kB / 0.4978 GB, free: 2.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.1868, allocations: 0.4935 MB / 0.4983 GB, free: 2.133 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.1872, allocations: 256.4 kB / 0.4985 GB, free: 1.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.1873, allocations: 23.98 kB / 0.4985 GB, free: 1.855 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1875, allocations: 350.8 kB / 0.4989 GB, free: 1.504 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.1886, allocations: 377.8 kB / 0.4992 GB, free: 1.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.1899, allocations: 0.6378 MB / 0.4998 GB, free: 388 kB / 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.006725/0.1967, allocations: 1.134 MB / 0.501 GB, free: 15.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.1967, allocations: 8 kB / 0.501 GB, free: 15.24 MB / 362.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