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.0007353/0.0007353, allocations: 88.52 kB / 16.65 MB, free: 6.535 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.0008138/0.0008138, allocations: 173.9 kB / 17.56 MB, free: 6.184 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.245/1.245, allocations: 223.3 MB / 241.6 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1618/0.1618, allocations: 38.1 MB / 330.8 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003232/0.0003232, allocations: 8 kB / 400.7 MB, free: 34.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09739, allocations: 59.17 MB / 459.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.004754/0.1022, allocations: 4.974 MB / 464.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1044, allocations: 1.605 MB / 466.5 MB, free: 484 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.1047, allocations: 23.88 kB / 466.5 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.105, allocations: 83.42 kB / 466.6 MB, free: 376 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.1055, allocations: 262.9 kB / 466.8 MB, free: 112 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1059, allocations: 187.7 kB / 467 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007314/0.1066, allocations: 0.9233 MB / 467.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.1074, allocations: 0.5555 MB / 468.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.1077, allocations: 223 kB / 468.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.1082, allocations: 318.8 kB / 469 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.1082, allocations: 16 kB / 469 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.1085, allocations: 143.7 kB / 469.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.1086, allocations: 187.4 kB / 469.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1088, allocations: 244.5 kB / 469.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.1093, allocations: 0.5487 MB / 470.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1093, allocations: 4 kB / 470.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1093, allocations: 4 kB / 470.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1093, allocations: 0 / 470.2 MB, free: 12.74 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.0009793/0.1103, allocations: 0.6639 MB / 470.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1104, allocations: 11.97 kB / 470.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007286/0.1111, allocations: 104.2 kB / 470.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.1117, allocations: 428.1 kB / 471.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.1117, allocations: 33.11 kB / 471.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.1119, allocations: 51.98 kB / 471.4 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.1126, allocations: 496.7 kB / 471.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1126, allocations: 0 / 471.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.1127, allocations: 19.98 kB / 471.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.1128, allocations: 28.98 kB / 472 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.1134, allocations: 351.7 kB / 472.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002143/0.1155, allocations: 1.738 MB / 474 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.1159, allocations: 306.4 kB / 474.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.1161, allocations: 161.6 kB / 474.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1162, allocations: 0 / 474.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.1162, allocations: 42.5 kB / 474.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.1162, allocations: 0 / 474.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00195/0.1182, allocations: 1.124 MB / 475.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.1182, allocations: 85.05 kB / 475.8 MB, free: 6.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.1186, allocations: 329.6 kB / 476.1 MB, free: 6.461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1186, allocations: 25.7 kB / 476.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1188, allocations: 248 kB / 476.3 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.56e-05/0.1189, allocations: 102.6 kB / 476.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.1189, allocations: 37.7 kB / 476.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1191, allocations: 346.8 kB / 476.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.1193, allocations: 144.3 kB / 477 MB, free: 5.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.1196, allocations: 243.1 kB / 477.2 MB, free: 5.266 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.00234/0.1219, allocations: 1.029 MB / 478.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1219, allocations: 4 kB / 478.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001263/0.1232, allocations: 0.656 MB / 478.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1232, allocations: 14.28 kB / 478.9 MB, free: 3.492 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.0002413/0.1235, allocations: 155.9 kB / 479.1 MB, free: 3.34 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated