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.001341/0.001341, allocations: 105.3 kB / 17.74 MB, free: 5.348 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.001572/0.001572, allocations: 186.4 kB / 18.67 MB, free: 4.43 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1719/0.1719, allocations: 38.05 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 67.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2816, allocations: 58.06 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.00541/0.287, allocations: 4.729 MB / 0.5094 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.2893, allocations: 1.428 MB / 0.5108 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/0.2896, allocations: 12.75 kB / 0.5108 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.2908, allocations: 402.1 kB / 0.5112 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007451/0.2916, allocations: 287.1 kB / 0.5115 GB, free: 3.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.2922, allocations: 213.7 kB / 0.5117 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007727/0.293, allocations: 0.6276 MB / 0.5123 GB, free: 2.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.2934, allocations: 293.8 kB / 0.5126 GB, free: 2.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/0.294, allocations: 289.9 kB / 0.5128 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006541/0.2946, allocations: 315.6 kB / 0.5131 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.2948, allocations: 33.75 kB / 0.5132 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.2951, allocations: 141.7 kB / 0.5133 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.2954, allocations: 209.2 kB / 0.5135 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.2957, allocations: 251.2 kB / 0.5137 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007462/0.2965, allocations: 0.5771 MB / 0.5143 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2965, allocations: 5.125 kB / 0.5143 GB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2965, allocations: 0 / 0.5143 GB, free: 1.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2965, allocations: 0 / 0.5143 GB, free: 1.84 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.001159/0.2977, allocations: 0.7404 MB / 0.515 GB, free: 1.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2977, allocations: 12.55 kB / 0.515 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007779/0.2985, allocations: 103.4 kB / 0.5151 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007141/0.2992, allocations: 447.7 kB / 0.5156 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.2993, allocations: 34.5 kB / 0.5156 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.2994, allocations: 63.73 kB / 0.5157 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.3001, allocations: 490.2 kB / 0.5161 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.3002, allocations: 2.062 kB / 0.5161 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.3002, allocations: 19.05 kB / 0.5161 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/0.3004, allocations: 30.38 kB / 0.5162 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005234/0.3009, allocations: 346.4 kB / 0.5165 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.3035, allocations: 1.727 MB / 0.5182 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.3039, allocations: 312.1 kB / 0.5185 GB, free: 15.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3042, allocations: 157.6 kB / 0.5186 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.3042, allocations: 2.906 kB / 0.5186 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.3043, allocations: 42.08 kB / 0.5187 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.385e-06/0.3043, allocations: 0 / 0.5187 GB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002058/0.3063, allocations: 1.104 MB / 0.5198 GB, free: 14.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.3064, allocations: 92.17 kB / 0.5198 GB, free: 14.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.3067, allocations: 325.6 kB / 0.5202 GB, free: 14.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3068, allocations: 26.89 kB / 0.5202 GB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.307, allocations: 254.3 kB / 0.5204 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.1e-05/0.3071, allocations: 95.58 kB / 0.5205 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3072, allocations: 78.64 kB / 0.5206 GB, free: 13.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3074, allocations: 347.8 kB / 0.5209 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3076, allocations: 146.2 kB / 0.5211 GB, free: 13.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.3079, allocations: 234.9 kB / 0.5213 GB, free: 13.22 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.002551/0.3104, allocations: 1.043 MB / 0.5223 GB, free: 12.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3104, allocations: 1.125 kB / 0.5223 GB, free: 12.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001438/0.3119, allocations: 0.6509 MB / 0.5229 GB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.3119, allocations: 9.438 kB / 0.523 GB, free: 12.46 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.0003058/0.3122, allocations: 165.1 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