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.0009208/0.0009208, allocations: 178.8 kB / 15.78 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 221.9 MB, free: 13.8 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.0007799/0.0007799, allocations: 94.28 kB / 270.3 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2095/0.2095, allocations: 38.06 MB / 356.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 16 kB / 422.7 MB, free: 26.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 56.34 MB / 479.1 MB, free: 2 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008811/0.144, allocations: 8.218 MB / 487.3 MB, free: 9.746 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005281/0.1494, allocations: 2.732 MB / 490 MB, free: 7.004 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.1502, allocations: 59.56 kB / 490.1 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000781/0.151, allocations: 262.2 kB / 490.3 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.1525, allocations: 0.5947 MB / 490.9 MB, free: 6.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.154, allocations: 455.2 kB / 491.4 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1555, allocations: 1.566 MB / 492.9 MB, free: 4.074 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.1571, allocations: 0.9943 MB / 493.9 MB, free: 3.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008127/0.1579, allocations: 473.9 kB / 494.4 MB, free: 2.578 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009215/0.1588, allocations: 0.6776 MB / 495.1 MB, free: 1.898 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.159, allocations: 44 kB / 495.1 MB, free: 1.855 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.1595, allocations: 195.7 kB / 495.3 MB, free: 1.664 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004093/0.1599, allocations: 466.8 kB / 495.8 MB, free: 1.207 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.1601, allocations: 209.2 kB / 496 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.1612, allocations: 0.9857 MB / 496.9 MB, free: 8 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.1612, allocations: 4 kB / 497 MB, free: 4 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1612, allocations: 0 / 497 MB, free: 4 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.1612, allocations: 0 / 497 MB, free: 4 kB / 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.002897/0.1642, allocations: 1.159 MB / 498.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.561e-05/0.1642, allocations: 15.97 kB / 498.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.1655, allocations: 174.6 kB / 498.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.1668, allocations: 0.6874 MB / 499 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-05/0.1669, allocations: 58 kB / 499 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.1672, allocations: 123.8 kB / 499.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.1692, allocations: 1.216 MB / 0.4887 GB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.1692, allocations: 7.938 kB / 0.4887 GB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-05/0.1693, allocations: 35.98 kB / 0.4887 GB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000276/0.1696, allocations: 61.97 kB / 0.4888 GB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.1714, allocations: 1.003 MB / 0.4897 GB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00657/0.178, allocations: 4.733 MB / 0.4944 GB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1792, allocations: 0.6682 MB / 0.495 GB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006505/0.1798, allocations: 463.7 kB / 0.4955 GB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.1799, allocations: 8.562 kB / 0.4955 GB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000818/0.1807, allocations: 0.526 MB / 0.496 GB, free: 4.648 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 4.067e-06/0.1807, allocations: 0 / 0.496 GB, free: 4.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.005173/0.1859, allocations: 3.053 MB / 0.499 GB, free: 1.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.186, allocations: 214.2 kB / 0.4992 GB, free: 1.254 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.1867, allocations: 0.5899 MB / 0.4997 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.1868, allocations: 45.73 kB / 0.4998 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/0.1872, allocations: 474.9 kB / 0.5002 GB, free: 136 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.1874, allocations: 260.4 kB / 0.5005 GB, free: 15.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.1875, allocations: 16 kB / 0.5005 GB, free: 15.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1877, allocations: 394.7 kB / 0.5009 GB, free: 15.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.1883, allocations: 381.8 kB / 0.5012 GB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008245/0.1891, allocations: 0.6378 MB / 0.5019 GB, free: 14.34 MB / 362.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.00408/0.1932, allocations: 1.247 MB / 0.5031 GB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.1932, allocations: 4 kB / 0.5031 GB, free: 13.09 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