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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 176.1 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008057/0.0008057, allocations: 90.41 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1907/0.1907, allocations: 38.08 MB / 358.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2988, allocations: 56.32 MB / 481.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.4394, allocations: 99.53 MB / 0.5675 GB, free: 2.723 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.4398, allocations: 95.81 kB / 0.5676 GB, free: 2.633 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04166/0.4815, allocations: 13.86 MB / 0.5811 GB, free: 4.602 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4815, allocations: 3.938 kB / 0.5811 GB, free: 4.598 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.424e-05/0.4816, allocations: 12 kB / 0.5811 GB, free: 4.586 MB / 410.7 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.001599/0.4832, allocations: 0.6918 MB / 0.5818 GB, free: 3.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4833, allocations: 12.03 kB / 0.5818 GB, free: 3.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.4843, allocations: 124.2 kB / 0.5819 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.4858, allocations: 0.6716 MB / 0.5826 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.4859, allocations: 25.38 kB / 0.5826 GB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.486, allocations: 40.66 kB / 0.5826 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008067/0.4868, allocations: 496.6 kB / 0.5831 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.4869, allocations: 0 / 0.5831 GB, free: 2.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.4869, allocations: 19.98 kB / 0.5831 GB, free: 2.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.487, allocations: 28.92 kB / 0.5832 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005816/0.4876, allocations: 343.7 kB / 0.5835 GB, free: 2.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.4904, allocations: 1.735 MB / 0.5852 GB, free: 212 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.4908, allocations: 298.4 kB / 0.5855 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.491, allocations: 152 kB / 0.5856 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.4911, allocations: 8 kB / 0.5856 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4911, allocations: 38.5 kB / 0.5857 GB, free: 15.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.255e-06/0.4911, allocations: 0 / 0.5857 GB, free: 15.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.00214/0.4933, allocations: 1.131 MB / 0.5868 GB, free: 14.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.4933, allocations: 81.05 kB / 0.5868 GB, free: 14.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.4937, allocations: 329.6 kB / 0.5871 GB, free: 14.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.4938, allocations: 33.7 kB / 0.5872 GB, free: 14.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.4939, allocations: 251.9 kB / 0.5874 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/0.494, allocations: 90.66 kB / 0.5875 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.494, allocations: 11.98 kB / 0.5875 GB, free: 13.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4942, allocations: 354.8 kB / 0.5879 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.4944, allocations: 140.3 kB / 0.588 GB, free: 13.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.4947, allocations: 238.9 kB / 0.5882 GB, free: 12.89 MB / 426.7 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.002406/0.4971, allocations: 1.035 MB / 0.5892 GB, free: 11.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4971, allocations: 0 / 0.5892 GB, free: 11.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001314/0.4985, allocations: 0.6644 MB / 0.5899 GB, free: 11.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.4985, allocations: 8 kB / 0.5899 GB, free: 11.11 MB / 426.7 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.0002659/0.4988, allocations: 151.9 kB / 0.59 GB, free: 10.96 MB / 426.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated