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.001843/0.001843, allocations: 115.3 kB / 17.29 MB, free: 6.312 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.002259/0.002259, allocations: 197.3 kB / 18.21 MB, free: 5.395 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.712/1.712, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1823/0.1823, allocations: 38.02 MB / 330.1 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.14 kB / 398.9 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 58.06 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006954/0.1122, allocations: 5.369 MB / 462.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.1152, allocations: 1.613 MB / 464 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.1156, allocations: 27.81 kB / 464 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.1168, allocations: 378.7 kB / 464.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006191/0.1174, allocations: 262.9 kB / 464.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.1179, allocations: 191.7 kB / 464.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006597/0.1186, allocations: 0.623 MB / 465.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/0.1191, allocations: 325.1 kB / 465.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.1195, allocations: 282.9 kB / 466 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.1201, allocations: 331 kB / 466.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.1201, allocations: 35.94 kB / 466.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.1204, allocations: 135.8 kB / 466.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.1206, allocations: 215.4 kB / 466.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.1209, allocations: 246.7 kB / 467 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005057/0.1214, allocations: 459 kB / 467.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1214, allocations: 0 / 467.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1214, allocations: 4 kB / 467.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1214, allocations: 0 / 467.4 MB, free: 13.92 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.00135/0.1228, allocations: 0.7456 MB / 468.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.1229, allocations: 15.89 kB / 468.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000839/0.1237, allocations: 96.3 kB / 468.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.1244, allocations: 432.1 kB / 468.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.1244, allocations: 33.12 kB / 468.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.1246, allocations: 59.86 kB / 468.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007791/0.1254, allocations: 492.8 kB / 469.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.1254, allocations: 4 kB / 469.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.1255, allocations: 16 kB / 469.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.1257, allocations: 28.98 kB / 469.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.1263, allocations: 347.7 kB / 469.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.129, allocations: 1.735 MB / 471.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.1294, allocations: 306.4 kB / 471.7 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.1296, allocations: 153.7 kB / 471.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1297, allocations: 4 kB / 471.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1297, allocations: 42.5 kB / 471.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.334e-06/0.1297, allocations: 0 / 471.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002168/0.1319, allocations: 1.128 MB / 473 MB, free: 7.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.132, allocations: 85.05 kB / 473.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.1323, allocations: 333.6 kB / 473.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1324, allocations: 29.7 kB / 473.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.1326, allocations: 243.9 kB / 473.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.1327, allocations: 98.64 kB / 473.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1328, allocations: 73.59 kB / 473.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.133, allocations: 350.8 kB / 474.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.1332, allocations: 144.2 kB / 474.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.1336, allocations: 231.2 kB / 474.6 MB, free: 6.34 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.00261/0.1362, allocations: 1.049 MB / 475.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1362, allocations: 0 / 475.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001385/0.1376, allocations: 0.6404 MB / 476.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1376, allocations: 11.94 kB / 476.3 MB, free: 4.566 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.0002949/0.1379, allocations: 163.8 kB / 476.4 MB, free: 4.406 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated