Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_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.001635/0.001635, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001729/0.001729, allocations: 191 kB / 18.63 MB, free: 4.367 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.507/1.507, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1813/0.1813, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.91 kB / 400.3 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 58.06 MB / 458.3 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006334/0.1275, allocations: 4.732 MB / 463.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.1302, allocations: 1.426 MB / 464.5 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.1305, allocations: 11.94 kB / 464.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.1317, allocations: 410.2 kB / 464.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000686/0.1324, allocations: 282.6 kB / 465.2 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.133, allocations: 219.5 kB / 465.4 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007262/0.1337, allocations: 0.6152 MB / 466 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.1342, allocations: 301.2 kB / 466.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004039/0.1346, allocations: 278.9 kB / 466.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005342/0.1351, allocations: 315 kB / 466.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.1352, allocations: 32 kB / 466.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.1355, allocations: 147.8 kB / 467 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.1358, allocations: 211.4 kB / 467.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.136, allocations: 246.8 kB / 467.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.1367, allocations: 0.5802 MB / 468.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.1367, allocations: 0 / 468.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1367, allocations: 3.938 kB / 468.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.1367, allocations: 3.938 kB / 468.1 MB, free: 13.56 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.001266/0.138, allocations: 0.7417 MB / 468.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.138, allocations: 11.89 kB / 468.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008108/0.1389, allocations: 104.3 kB / 468.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007989/0.1397, allocations: 448 kB / 469.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.1397, allocations: 33.12 kB / 469.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.1399, allocations: 51.98 kB / 469.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.1406, allocations: 496.8 kB / 469.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.1407, allocations: 3.906 kB / 469.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.1407, allocations: 16 kB / 470 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000175/0.1409, allocations: 28.97 kB / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.1415, allocations: 351.7 kB / 470.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.144, allocations: 1.719 MB / 472.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.1444, allocations: 306.4 kB / 472.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.1447, allocations: 153.7 kB / 472.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1447, allocations: 4 kB / 472.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.1447, allocations: 46.48 kB / 472.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.294e-06/0.1447, allocations: 0 / 472.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002083/0.1468, allocations: 1.12 MB / 473.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1469, allocations: 85.05 kB / 473.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.1472, allocations: 329.6 kB / 474.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1473, allocations: 25.7 kB / 474.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1474, allocations: 247.9 kB / 474.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.1475, allocations: 94.64 kB / 474.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1477, allocations: 73.69 kB / 474.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1478, allocations: 350.8 kB / 474.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.148, allocations: 148.2 kB / 475 MB, free: 6.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.1483, allocations: 231.2 kB / 475.2 MB, free: 5.988 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.002524/0.1509, allocations: 1.051 MB / 476.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1509, allocations: 0 / 476.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001396/0.1523, allocations: 0.645 MB / 476.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1523, allocations: 15.94 kB / 476.9 MB, free: 4.207 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.0002799/0.1526, allocations: 160.4 kB / 477.1 MB, free: 4.051 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated