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.001097/0.001097, allocations: 116 kB / 17.75 MB, free: 5.223 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.00116/0.00116, allocations: 181.4 kB / 18.67 MB, free: 4.309 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.331/1.331, 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-master/package.mo): time 0.1815/0.1815, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2957, allocations: 58.05 MB / 0.5048 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.004903/0.3006, allocations: 4.727 MB / 0.5094 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3025, allocations: 1.429 MB / 0.5108 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.3027, allocations: 13.53 kB / 0.5108 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.3037, allocations: 407.2 kB / 0.5112 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.3042, allocations: 290.4 kB / 0.5115 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004545/0.3047, allocations: 214.7 kB / 0.5117 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000557/0.3052, allocations: 0.6231 MB / 0.5123 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004019/0.3056, allocations: 298 kB / 0.5126 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.306, allocations: 287.7 kB / 0.5128 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.3065, allocations: 314.8 kB / 0.5131 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.3065, allocations: 33.41 kB / 0.5132 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002804/0.3068, allocations: 142.8 kB / 0.5133 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.307, allocations: 212.1 kB / 0.5135 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.3073, allocations: 243.9 kB / 0.5137 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006069/0.3079, allocations: 0.5805 MB / 0.5143 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3079, allocations: 0.9062 kB / 0.5143 GB, free: 1.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.3079, allocations: 0 / 0.5143 GB, free: 1.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3079, allocations: 0 / 0.5143 GB, free: 1.883 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.001104/0.309, allocations: 0.7421 MB / 0.515 GB, free: 1.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3091, allocations: 13.25 kB / 0.515 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008169/0.3099, allocations: 99.55 kB / 0.5151 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006809/0.3106, allocations: 453.5 kB / 0.5156 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3106, allocations: 32 kB / 0.5156 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.3108, allocations: 60.83 kB / 0.5157 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.3115, allocations: 493.1 kB / 0.5161 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3115, allocations: 1.938 kB / 0.5161 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.3116, allocations: 19.42 kB / 0.5161 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001969/0.3118, allocations: 30.81 kB / 0.5162 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.3123, allocations: 348.9 kB / 0.5165 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.315, allocations: 1.728 MB / 0.5182 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.3154, allocations: 309.1 kB / 0.5185 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.3156, allocations: 154.5 kB / 0.5186 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3156, allocations: 2.562 kB / 0.5186 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3157, allocations: 44.66 kB / 0.5187 GB, free: 15.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.3157, allocations: 0 / 0.5187 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001967/0.3177, allocations: 1.116 MB / 0.5198 GB, free: 14.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3177, allocations: 88.36 kB / 0.5199 GB, free: 14.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.3181, allocations: 325.8 kB / 0.5202 GB, free: 14.15 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3181, allocations: 30.77 kB / 0.5202 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.3183, allocations: 247.6 kB / 0.5204 GB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.3184, allocations: 102.6 kB / 0.5205 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3185, allocations: 76.55 kB / 0.5206 GB, free: 13.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3186, allocations: 345.8 kB / 0.5209 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.3189, allocations: 143.1 kB / 0.5211 GB, free: 13.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.3191, allocations: 231.5 kB / 0.5213 GB, free: 13.25 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.002528/0.3217, allocations: 1.048 MB / 0.5223 GB, free: 12.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3217, allocations: 1.188 kB / 0.5223 GB, free: 12.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001383/0.3231, allocations: 0.646 MB / 0.5229 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3231, allocations: 11.34 kB / 0.523 GB, free: 12.49 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.0002631/0.3234, allocations: 160.8 kB / 0.5231 GB, free: 12.43 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