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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001195/0.001195, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.001246/0.001246, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1892/0.1892, allocations: 38 MB / 309.2 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 67.91 kB / 431.9 MB, free: 15.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1254, allocations: 55.25 MB / 487.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.007176/0.1326, allocations: 4.721 MB / 491.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.1358, allocations: 1.469 MB / 493.3 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004933/0.1363, allocations: 11.94 kB / 493.3 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.1377, allocations: 414.8 kB / 493.7 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009362/0.1387, allocations: 274.6 kB / 494 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.1394, allocations: 211.6 kB / 494.2 MB, free: 1.344 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1405, allocations: 0.6269 MB / 494.8 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006282/0.1412, allocations: 301.1 kB / 495.1 MB, free: 436 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006337/0.1418, allocations: 278.9 kB / 495.4 MB, free: 156 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008238/0.1427, allocations: 318.9 kB / 495.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1428, allocations: 36 kB / 495.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004195/0.1432, allocations: 143.8 kB / 495.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.1435, allocations: 207.4 kB / 496.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.1439, allocations: 246.8 kB / 496.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.1449, allocations: 0.5763 MB / 496.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1449, allocations: 0 / 496.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1449, allocations: 0 / 496.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.1449, allocations: 0 / 496.9 MB, free: 14.64 MB / 382.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.001644/0.1466, allocations: 0.7456 MB / 497.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.1466, allocations: 11.89 kB / 497.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008966/0.1475, allocations: 104.3 kB / 497.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009617/0.1485, allocations: 452 kB / 498.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.979e-05/0.1486, allocations: 25.12 kB / 498.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.1488, allocations: 67.84 kB / 498.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009838/0.1498, allocations: 492.8 kB / 498.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.1498, allocations: 3.906 kB / 498.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.1499, allocations: 16 kB / 498.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.1501, allocations: 28.97 kB / 498.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.1506, allocations: 343.7 kB / 499.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.1533, allocations: 1.731 MB / 0.4891 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/0.1537, allocations: 306.4 kB / 0.4894 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.1539, allocations: 165.6 kB / 0.4896 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1539, allocations: 4 kB / 0.4896 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.154, allocations: 34.56 kB / 0.4896 GB, free: 9.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.154, allocations: 0 / 0.4896 GB, free: 9.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.002081/0.1561, allocations: 1.109 MB / 0.4907 GB, free: 8.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1561, allocations: 92.92 kB / 0.4908 GB, free: 8.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.1564, allocations: 325.6 kB / 0.4911 GB, free: 8.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1565, allocations: 29.7 kB / 0.4911 GB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.1567, allocations: 251.9 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.1568, allocations: 98.62 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1569, allocations: 69.73 kB / 0.4915 GB, free: 7.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.157, allocations: 350.8 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.1572, allocations: 144.3 kB / 0.492 GB, free: 7.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.1575, allocations: 234.9 kB / 0.4922 GB, free: 7.059 MB / 382.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.002363/0.1599, allocations: 1.036 MB / 0.4933 GB, free: 5.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1599, allocations: 4 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001251/0.1611, allocations: 0.6562 MB / 0.4939 GB, free: 5.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.1612, allocations: 7.938 kB / 0.4939 GB, free: 5.281 MB / 382.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.0002667/0.1615, allocations: 168.4 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated