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.001742/0.001742, allocations: 113.9 kB / 17.07 MB, free: 6 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.001764/0.001764, allocations: 190.9 kB / 18 MB, free: 5.082 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1875/0.1875, allocations: 38.04 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 64.03 kB / 458.1 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3321, allocations: 58.06 MB / 0.5041 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005777/0.3379, allocations: 4.737 MB / 0.5087 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.3406, allocations: 1.428 MB / 0.5101 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.3409, allocations: 16.5 kB / 0.5101 GB, free: 3.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3422, allocations: 398.9 kB / 0.5105 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006752/0.3428, allocations: 282.4 kB / 0.5108 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.3434, allocations: 215.4 kB / 0.511 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000607/0.344, allocations: 0.6308 MB / 0.5116 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00044/0.3445, allocations: 294.7 kB / 0.5119 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003606/0.3448, allocations: 289.6 kB / 0.5122 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004893/0.3453, allocations: 315.6 kB / 0.5125 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.3454, allocations: 33.19 kB / 0.5125 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.3457, allocations: 139.2 kB / 0.5126 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.346, allocations: 215.2 kB / 0.5128 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.3463, allocations: 244.7 kB / 0.5131 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007802/0.3471, allocations: 0.5816 MB / 0.5136 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3471, allocations: 0 / 0.5136 GB, free: 1.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3471, allocations: 0 / 0.5136 GB, free: 1.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3471, allocations: 0 / 0.5136 GB, free: 1.93 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.001253/0.3484, allocations: 0.7376 MB / 0.5143 GB, free: 1.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3484, allocations: 16.92 kB / 0.5144 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/0.3493, allocations: 107.5 kB / 0.5145 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.35, allocations: 439.2 kB / 0.5149 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.35, allocations: 31.22 kB / 0.5149 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.3502, allocations: 64.17 kB / 0.515 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.351, allocations: 493.2 kB / 0.5154 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.351, allocations: 3.375 kB / 0.5155 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.351, allocations: 14.83 kB / 0.5155 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/0.3512, allocations: 34.89 kB / 0.5155 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.3519, allocations: 348.6 kB / 0.5158 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.3545, allocations: 1.724 MB / 0.5175 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.3549, allocations: 306 kB / 0.5178 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.3552, allocations: 160.5 kB / 0.518 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3552, allocations: 6.25 kB / 0.518 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.3552, allocations: 36.86 kB / 0.518 GB, free: 15.13 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.3552, allocations: 1.375 kB / 0.518 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002028/0.3573, allocations: 1.115 MB / 0.5191 GB, free: 14.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3573, allocations: 84.48 kB / 0.5192 GB, free: 14.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.3577, allocations: 327.6 kB / 0.5195 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.3577, allocations: 31.2 kB / 0.5195 GB, free: 14.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.3579, allocations: 247.8 kB / 0.5197 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.358, allocations: 100.2 kB / 0.5198 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.3581, allocations: 79.03 kB / 0.5199 GB, free: 13.85 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3583, allocations: 346.3 kB / 0.5203 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.3585, allocations: 151.9 kB / 0.5204 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.3588, allocations: 227.3 kB / 0.5206 GB, free: 13.31 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.002549/0.3613, allocations: 1.046 MB / 0.5216 GB, free: 12.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3614, allocations: 1.031 kB / 0.5216 GB, free: 12.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001337/0.3627, allocations: 0.6493 MB / 0.5223 GB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3627, allocations: 11.16 kB / 0.5223 GB, free: 12.55 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.0002546/0.363, allocations: 161.3 kB / 0.5224 GB, free: 12.48 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated