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.0008122/0.0008123, allocations: 89.58 kB / 17.31 MB, free: 5.59 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.0008763/0.0008763, allocations: 177.1 kB / 18.21 MB, free: 5.195 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.474/1.474, allocations: 223.3 MB / 242.2 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1958/0.1958, allocations: 38.09 MB / 331.5 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 13.06 kB / 401.4 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 59.16 MB / 460.5 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006045/0.1508, allocations: 4.978 MB / 465.5 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002847/0.1537, allocations: 1.597 MB / 467.1 MB, free: 484 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.154, allocations: 27.81 kB / 467.1 MB, free: 456 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.1544, allocations: 83.44 kB / 467.2 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006858/0.1551, allocations: 254.9 kB / 467.5 MB, free: 116 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.1556, allocations: 199.7 kB / 467.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009053/0.1566, allocations: 0.9076 MB / 468.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.1577, allocations: 0.5594 MB / 469.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004217/0.1581, allocations: 226.9 kB / 469.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005565/0.1587, allocations: 318.9 kB / 469.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.1587, allocations: 19.94 kB / 469.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.159, allocations: 143.7 kB / 469.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.1592, allocations: 191.4 kB / 470 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002521/0.1595, allocations: 240.5 kB / 470.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.16, allocations: 446.9 kB / 470.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.16, allocations: 0 / 470.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.16, allocations: 0 / 470.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.16, allocations: 0 / 470.7 MB, free: 12.86 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.001211/0.1612, allocations: 0.6561 MB / 471.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1613, allocations: 12.03 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008054/0.1621, allocations: 108.2 kB / 471.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.1628, allocations: 428.1 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.1629, allocations: 33.12 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.1631, allocations: 59.91 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007584/0.1639, allocations: 492.8 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1639, allocations: 0 / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1639, allocations: 16 kB / 472.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/0.1641, allocations: 28.97 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.1647, allocations: 351.7 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.1672, allocations: 1.739 MB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.1676, allocations: 302.4 kB / 474.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.1678, allocations: 160.2 kB / 475 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.1679, allocations: 15.95 kB / 475 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.1679, allocations: 34.5 kB / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.313e-06/0.1679, allocations: 0 / 475.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.002095/0.17, allocations: 1.117 MB / 476.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.1701, allocations: 88.98 kB / 476.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.1705, allocations: 329.6 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1705, allocations: 29.7 kB / 476.6 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1708, allocations: 248 kB / 476.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/0.1709, allocations: 98.58 kB / 477 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.704e-05/0.1709, allocations: 45.73 kB / 477 MB, free: 6.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1711, allocations: 346.8 kB / 477.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.1714, allocations: 140.3 kB / 477.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.1717, allocations: 231.1 kB / 477.7 MB, free: 5.398 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.00248/0.1741, allocations: 1.041 MB / 478.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1742, allocations: 3.938 kB / 478.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001303/0.1755, allocations: 0.6639 MB / 479.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.1755, allocations: 7.938 kB / 479.4 MB, free: 3.609 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.0002492/0.1758, allocations: 151.9 kB / 479.6 MB, free: 3.461 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated