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.001029/0.00103, allocations: 105.2 kB / 17.16 MB, free: 6.352 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.0009685/0.0009687, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1678/0.1678, allocations: 38.03 MB / 329.9 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 66.88 kB / 398.7 MB, free: 34.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1192, allocations: 58.06 MB / 456.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.007073/0.1263, allocations: 5.381 MB / 462.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.1291, allocations: 1.613 MB / 463.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.1294, allocations: 35.81 kB / 463.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1306, allocations: 386.6 kB / 464.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.1312, allocations: 250.9 kB / 464.4 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.1317, allocations: 199.6 kB / 464.6 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008896/0.1326, allocations: 0.9116 MB / 465.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.1332, allocations: 284.8 kB / 465.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.1335, allocations: 242.9 kB / 466.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.134, allocations: 330.9 kB / 466.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.1341, allocations: 31.94 kB / 466.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.1344, allocations: 143.7 kB / 466.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.1346, allocations: 211.4 kB / 466.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.1349, allocations: 230.8 kB / 467 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004397/0.1353, allocations: 447 kB / 467.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1353, allocations: 0 / 467.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1353, allocations: 0 / 467.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1353, allocations: 0 / 467.4 MB, free: 13.84 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.001272/0.1366, allocations: 0.7534 MB / 468.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1367, allocations: 8.031 kB / 468.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007559/0.1374, allocations: 96.3 kB / 468.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.1381, allocations: 428.1 kB / 468.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.1381, allocations: 29.12 kB / 468.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.1383, allocations: 67.8 kB / 468.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006812/0.139, allocations: 488.8 kB / 469.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.139, allocations: 0 / 469.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.1391, allocations: 16 kB / 469.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/0.1392, allocations: 32.91 kB / 469.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005196/0.1398, allocations: 351.7 kB / 469.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.1421, allocations: 1.727 MB / 471.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1425, allocations: 310.3 kB / 471.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.1427, allocations: 161.6 kB / 471.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1427, allocations: 7.984 kB / 471.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1428, allocations: 34.56 kB / 471.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.1428, allocations: 4 kB / 471.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001948/0.1447, allocations: 1.113 MB / 473 MB, free: 7.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1448, allocations: 89.05 kB / 473.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.1451, allocations: 333.8 kB / 473.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.1452, allocations: 25.7 kB / 473.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1454, allocations: 255.9 kB / 473.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.1455, allocations: 90.66 kB / 473.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.1456, allocations: 73.59 kB / 473.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.1458, allocations: 354.7 kB / 474.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.146, allocations: 144.2 kB / 474.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.1463, allocations: 231.2 kB / 474.6 MB, free: 6.262 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.002406/0.1487, allocations: 1.045 MB / 475.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1487, allocations: 7.938 kB / 475.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001231/0.1499, allocations: 0.6405 MB / 476.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.15, allocations: 7.938 kB / 476.3 MB, free: 4.488 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.0002471/0.1502, allocations: 155.9 kB / 476.4 MB, free: 4.336 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated