Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001693, allocations: 183.3 kB / 15.77 MB, free: 6.379 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.001/2.001, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001106/0.001106, allocations: 86.88 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2637/0.2637, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004692, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1114, allocations: 56.33 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01554/0.127, allocations: 9.912 MB / 488.9 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.1372, allocations: 3.977 MB / 492.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.1386, allocations: 59.56 kB / 493 MB, free: 4.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.14, allocations: 342 kB / 493.3 MB, free: 3.703 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.1437, allocations: 0.8568 MB / 494.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.1465, allocations: 0.6315 MB / 494.8 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.1492, allocations: 1.168 MB / 496 MB, free: 1.039 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.1526, allocations: 1.389 MB / 497.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.1544, allocations: 0.7162 MB / 498.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.1564, allocations: 0.927 MB / 499 MB, free: 13.96 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003786/0.1568, allocations: 76 kB / 499.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.1584, allocations: 0.5539 MB / 499.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.1598, allocations: 0.8106 MB / 0.4887 GB, free: 12.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006686/0.1605, allocations: 356.7 kB / 0.4891 GB, free: 12.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.1639, allocations: 1.917 MB / 0.4909 GB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1639, allocations: 0 / 0.4909 GB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1639, allocations: 0 / 0.4909 GB, free: 10.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.517e-05/0.164, allocations: 0 / 0.4909 GB, free: 10.24 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.006638/0.1707, allocations: 2.01 MB / 0.4929 GB, free: 8.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1707, allocations: 8.031 kB / 0.4929 GB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.1739, allocations: 361.3 kB / 0.4932 GB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003399/0.1773, allocations: 1.047 MB / 0.4943 GB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.1775, allocations: 119 kB / 0.4944 GB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008087/0.1783, allocations: 207.7 kB / 0.4946 GB, free: 6.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006369/0.1847, allocations: 2.442 MB / 0.497 GB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/0.1849, allocations: 7.938 kB / 0.497 GB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002646/0.1851, allocations: 71.92 kB / 0.497 GB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000883/0.186, allocations: 158.9 kB / 0.4972 GB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006296/0.1923, allocations: 2.162 MB / 0.4993 GB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02204/0.2144, allocations: 9.315 MB / 0.5084 GB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004741/0.2192, allocations: 2.124 MB / 0.5105 GB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.2194, allocations: 29.38 kB / 0.5105 GB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003418/0.2229, allocations: 1.395 MB / 0.5119 GB, free: 4.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=205): time 5.29e-06/0.2229, allocations: 0 / 0.5119 GB, free: 4.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=213): time 0.3204/0.5434, allocations: 7.273 MB / 0.519 GB, free: 50.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.5436, allocations: 277.3 kB / 0.5192 GB, free: 50.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.5454, allocations: 0.9288 MB / 0.5201 GB, free: 49.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000396/0.5458, allocations: 69.7 kB / 0.5202 GB, free: 49.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/0.5464, allocations: 0.7363 MB / 0.5209 GB, free: 49.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009301/0.5474, allocations: 0.6657 MB / 0.5216 GB, free: 48.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.5476, allocations: 47.06 kB / 0.5216 GB, free: 48.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.5478, allocations: 416.6 kB / 0.522 GB, free: 48.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/0.5504, allocations: 0.952 MB / 0.5229 GB, free: 48.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/0.5534, allocations: 1.499 MB / 0.5244 GB, free: 47.12 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.01573/0.5692, allocations: 2.822 MB / 0.5272 GB, free: 46.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-05/0.5692, allocations: 5.281 kB / 0.5272 GB, free: 46.44 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