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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001356/0.001356, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001284/0.001284, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1962/0.1962, allocations: 38.02 MB / 329.3 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001256, allocations: 71.42 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1309, allocations: 58.06 MB / 456.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.007717/0.1386, allocations: 5.38 MB / 461.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1417, allocations: 1.617 MB / 463.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.142, allocations: 27.81 kB / 463.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1432, allocations: 385.9 kB / 463.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005476/0.1437, allocations: 246.9 kB / 463.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.1442, allocations: 203.6 kB / 464 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007927/0.145, allocations: 0.9116 MB / 464.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005291/0.1456, allocations: 284.8 kB / 465.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.1459, allocations: 246.8 kB / 465.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.1465, allocations: 334.8 kB / 465.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.1465, allocations: 24 kB / 465.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.1468, allocations: 151.7 kB / 465.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.1471, allocations: 199.4 kB / 466.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.1473, allocations: 234.8 kB / 466.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006084/0.1479, allocations: 0.5645 MB / 466.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.148, allocations: 4 kB / 466.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.148, allocations: 0 / 466.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.148, allocations: 0 / 466.9 MB, free: 13.71 MB / 350.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.001293/0.1493, allocations: 0.7418 MB / 467.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1493, allocations: 12.03 kB / 467.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007806/0.1501, allocations: 100.3 kB / 467.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.1508, allocations: 424.1 kB / 468.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.1508, allocations: 33.12 kB / 468.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.151, allocations: 59.88 kB / 468.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000704/0.1517, allocations: 0.489 MB / 468.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1518, allocations: 0 / 468.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.413e-05/0.1518, allocations: 15.98 kB / 468.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.152, allocations: 32.97 kB / 468.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005602/0.1526, allocations: 343.7 kB / 469.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.1551, allocations: 1.735 MB / 470.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.1555, allocations: 314.4 kB / 471.2 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.1558, allocations: 153.7 kB / 471.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1558, allocations: 4 kB / 471.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.1558, allocations: 38.5 kB / 471.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.1558, allocations: 4 kB / 471.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002064/0.1579, allocations: 1.116 MB / 472.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.158, allocations: 81.05 kB / 472.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.1583, allocations: 337.7 kB / 472.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1584, allocations: 29.7 kB / 472.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.1586, allocations: 251.9 kB / 473.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.497e-05/0.1587, allocations: 94.64 kB / 473.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1588, allocations: 77.59 kB / 473.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.159, allocations: 346.8 kB / 473.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.1592, allocations: 148.2 kB / 473.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1595, allocations: 239.1 kB / 474.1 MB, free: 6.125 MB / 350.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.002582/0.1621, allocations: 1.037 MB / 475.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1621, allocations: 0 / 475.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001375/0.1635, allocations: 0.6483 MB / 475.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1635, allocations: 7.938 kB / 475.8 MB, free: 4.359 MB / 350.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.0002785/0.1638, allocations: 163.8 kB / 475.9 MB, free: 4.199 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated