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.001026/0.001026, allocations: 109.1 kB / 17.06 MB, free: 6.008 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.001162/0.001163, allocations: 192 kB / 18 MB, free: 5.09 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.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1731/0.1731, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.89 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 58.06 MB / 0.5041 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006498/0.4017, allocations: 4.725 MB / 0.5087 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.4042, allocations: 1.431 MB / 0.5101 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.4044, allocations: 12.88 kB / 0.5101 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.4056, allocations: 401.1 kB / 0.5105 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005676/0.4062, allocations: 287 kB / 0.5108 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.4068, allocations: 211.2 kB / 0.511 GB, free: 3.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007177/0.4075, allocations: 0.6309 MB / 0.5116 GB, free: 2.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.408, allocations: 291.2 kB / 0.5119 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.4084, allocations: 290.4 kB / 0.5122 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.4089, allocations: 314.3 kB / 0.5125 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.357e-05/0.409, allocations: 38 kB / 0.5125 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000305/0.4093, allocations: 142.8 kB / 0.5126 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002316/0.4096, allocations: 208.2 kB / 0.5128 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.4098, allocations: 249.2 kB / 0.5131 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.4106, allocations: 0.5798 MB / 0.5136 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4106, allocations: 0 / 0.5136 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.4106, allocations: 0.75 kB / 0.5136 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4106, allocations: 1 kB / 0.5136 GB, free: 1.91 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.00118/0.4118, allocations: 0.7406 MB / 0.5144 GB, free: 1.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.4118, allocations: 13.83 kB / 0.5144 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/0.4127, allocations: 99.67 kB / 0.5145 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/0.4134, allocations: 450.6 kB / 0.5149 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.69e-05/0.4134, allocations: 31.7 kB / 0.5149 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.4136, allocations: 63.16 kB / 0.515 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.4144, allocations: 486.6 kB / 0.5155 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.4144, allocations: 4.781 kB / 0.5155 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.4145, allocations: 20.41 kB / 0.5155 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.4147, allocations: 26.39 kB / 0.5155 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005719/0.4153, allocations: 349.5 kB / 0.5158 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.418, allocations: 1.728 MB / 0.5175 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004185/0.4184, allocations: 308.4 kB / 0.5178 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.4187, allocations: 154.5 kB / 0.518 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.4187, allocations: 6.359 kB / 0.518 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4187, allocations: 41.55 kB / 0.518 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.4187, allocations: 0 / 0.518 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001994/0.4207, allocations: 1.104 MB / 0.5191 GB, free: 14.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.4208, allocations: 96.33 kB / 0.5192 GB, free: 14.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.4212, allocations: 325.1 kB / 0.5195 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.4212, allocations: 27.02 kB / 0.5195 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.4214, allocations: 254.6 kB / 0.5198 GB, free: 13.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/0.4215, allocations: 96.47 kB / 0.5198 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.4216, allocations: 74.39 kB / 0.5199 GB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4217, allocations: 347.1 kB / 0.5203 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.422, allocations: 149.2 kB / 0.5204 GB, free: 13.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.4222, allocations: 234.7 kB / 0.5206 GB, free: 13.29 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.00256/0.4248, allocations: 1.047 MB / 0.5216 GB, free: 12.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4248, allocations: 5.188 kB / 0.5216 GB, free: 12.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001372/0.4262, allocations: 0.6433 MB / 0.5223 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4262, allocations: 10.81 kB / 0.5223 GB, free: 12.53 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.0002601/0.4265, allocations: 159.7 kB / 0.5224 GB, free: 12.46 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated