Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009015/0.0009016, allocations: 109.7 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000846/0.000846, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1564/0.1564, allocations: 38 MB / 309.3 MB, free: 6.242 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.47 kB / 375.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1754, allocations: 55.24 MB / 430.5 MB, free: 19.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.004647/0.1801, allocations: 5.379 MB / 435.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.1819, allocations: 1.668 MB / 437.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.1821, allocations: 27.81 kB / 437.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008216/0.1829, allocations: 390.5 kB / 438 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.1833, allocations: 246.9 kB / 438.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1836, allocations: 195.6 kB / 438.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.1841, allocations: 0.9155 MB / 439.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.1845, allocations: 280.8 kB / 439.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.1847, allocations: 250.9 kB / 439.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.185, allocations: 330.9 kB / 440.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.1851, allocations: 27.98 kB / 440.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.1853, allocations: 143.7 kB / 440.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.1854, allocations: 199.5 kB / 440.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1856, allocations: 242.7 kB / 440.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1859, allocations: 447 kB / 441.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1859, allocations: 0 / 441.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1859, allocations: 0 / 441.2 MB, free: 9.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1859, allocations: 0 / 441.2 MB, free: 9.227 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.000844/0.1867, allocations: 0.7417 MB / 441.9 MB, free: 8.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.1868, allocations: 8.031 kB / 441.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006833/0.1875, allocations: 116.3 kB / 442.1 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.188, allocations: 420.1 kB / 442.5 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.188, allocations: 25.12 kB / 442.5 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1881, allocations: 59.97 kB / 442.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.1887, allocations: 496.8 kB / 443 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1887, allocations: 3.906 kB / 443 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.1887, allocations: 19.98 kB / 443.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.1889, allocations: 28.97 kB / 443.1 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.1893, allocations: 347.7 kB / 443.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.191, allocations: 1.746 MB / 445.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.1913, allocations: 306.4 kB / 445.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.1914, allocations: 161.6 kB / 445.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1914, allocations: 7.938 kB / 445.6 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.1915, allocations: 38.55 kB / 445.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.282e-06/0.1915, allocations: 0 / 445.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001475/0.193, allocations: 1.105 MB / 446.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.193, allocations: 85.05 kB / 446.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1932, allocations: 325.6 kB / 447.2 MB, free: 2.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.1932, allocations: 33.7 kB / 447.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.103e-05/0.1933, allocations: 256 kB / 447.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.1934, allocations: 90.66 kB / 447.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.1935, allocations: 77.67 kB / 447.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.1935, allocations: 346.8 kB / 448 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.1937, allocations: 148.2 kB / 448.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.1939, allocations: 234.9 kB / 448.3 MB, free: 1.652 MB / 318.1 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.002044/0.1959, allocations: 1.038 MB / 449.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1959, allocations: 0 / 449.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00109/0.197, allocations: 0.6561 MB / 450 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1971, allocations: 11.94 kB / 450 MB, free: 15.88 MB / 334.1 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.0002359/0.1973, allocations: 151.8 kB / 450.2 MB, free: 15.73 MB / 334.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated