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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="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.001041/0.001041, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001038/0.001038, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1828/0.1828, allocations: 38.03 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002049, allocations: 59.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3257, allocations: 58.05 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005696/0.3314, allocations: 4.729 MB / 0.5094 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.3337, allocations: 1.43 MB / 0.5108 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.334, allocations: 12.66 kB / 0.5108 GB, free: 3.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.3352, allocations: 410.8 kB / 0.5112 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000724/0.3359, allocations: 287.2 kB / 0.5114 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006098/0.3365, allocations: 215.4 kB / 0.5117 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007655/0.3373, allocations: 0.6261 MB / 0.5123 GB, free: 2.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.3378, allocations: 298.6 kB / 0.5125 GB, free: 2.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005269/0.3383, allocations: 287.2 kB / 0.5128 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006036/0.3389, allocations: 310.8 kB / 0.5131 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.474e-05/0.339, allocations: 33.69 kB / 0.5132 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.3394, allocations: 145.8 kB / 0.5133 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.3396, allocations: 212.1 kB / 0.5135 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003484/0.34, allocations: 240.5 kB / 0.5137 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.3408, allocations: 0.58 MB / 0.5143 GB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3408, allocations: 5.797 kB / 0.5143 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3408, allocations: 0 / 0.5143 GB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.3408, allocations: 0 / 0.5143 GB, free: 1.836 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.001396/0.3422, allocations: 0.7428 MB / 0.515 GB, free: 1.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3423, allocations: 11.89 kB / 0.515 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/0.3432, allocations: 103.7 kB / 0.5151 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000786/0.344, allocations: 450.5 kB / 0.5156 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.344, allocations: 27.5 kB / 0.5156 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.3442, allocations: 63.53 kB / 0.5156 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.3452, allocations: 498.2 kB / 0.5161 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.3453, allocations: 1.438 kB / 0.5161 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.3453, allocations: 15.98 kB / 0.5161 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/0.3455, allocations: 25.91 kB / 0.5162 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.3461, allocations: 349.5 kB / 0.5165 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.3492, allocations: 1.728 MB / 0.5182 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.3497, allocations: 305.9 kB / 0.5185 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.35, allocations: 157.8 kB / 0.5186 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.35, allocations: 3.359 kB / 0.5186 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.35, allocations: 35.75 kB / 0.5187 GB, free: 15.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 3.637e-06/0.35, allocations: 5.078 kB / 0.5187 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002191/0.3522, allocations: 1.116 MB / 0.5198 GB, free: 14.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3523, allocations: 83.73 kB / 0.5198 GB, free: 14.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.3527, allocations: 324.9 kB / 0.5201 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.848e-05/0.3527, allocations: 30.77 kB / 0.5202 GB, free: 14.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.3529, allocations: 251.7 kB / 0.5204 GB, free: 13.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/0.353, allocations: 100.9 kB / 0.5205 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3532, allocations: 78.11 kB / 0.5206 GB, free: 13.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3533, allocations: 347.1 kB / 0.5209 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.3535, allocations: 142.8 kB / 0.5211 GB, free: 13.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.3538, allocations: 238.9 kB / 0.5213 GB, free: 13.2 MB / 398.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.002618/0.3565, allocations: 1.037 MB / 0.5223 GB, free: 12.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3565, allocations: 0.9375 kB / 0.5223 GB, free: 12.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001409/0.3579, allocations: 0.6543 MB / 0.5229 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.3579, allocations: 10.14 kB / 0.5229 GB, free: 12.45 MB / 398.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.0002629/0.3582, allocations: 157.5 kB / 0.5231 GB, free: 12.39 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Generation.Vsource could not be translated