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.001282/0.001282, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.00106/0.001061, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.1749/0.1749, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 60.08 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3561, allocations: 58.06 MB / 0.5048 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005568/0.3617, allocations: 4.731 MB / 0.5094 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.3638, allocations: 1.428 MB / 0.5108 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.3641, allocations: 13.28 kB / 0.5108 GB, free: 3.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001073/0.3652, allocations: 406.1 kB / 0.5112 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005758/0.3657, allocations: 286.3 kB / 0.5114 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.3663, allocations: 214.7 kB / 0.5117 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.3669, allocations: 0.6305 MB / 0.5123 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004299/0.3673, allocations: 293.9 kB / 0.5126 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.3677, allocations: 290.6 kB / 0.5128 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.3682, allocations: 310.2 kB / 0.5131 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.3683, allocations: 33.97 kB / 0.5132 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.3686, allocations: 142.7 kB / 0.5133 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.3688, allocations: 215.7 kB / 0.5135 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.3691, allocations: 245.5 kB / 0.5137 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006572/0.3697, allocations: 0.5802 MB / 0.5143 GB, free: 1.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3698, allocations: 4 kB / 0.5143 GB, free: 1.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3698, allocations: 0 / 0.5143 GB, free: 1.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3698, allocations: 1.531 kB / 0.5143 GB, free: 1.824 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.00111/0.3709, allocations: 0.7363 MB / 0.515 GB, free: 1.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3709, allocations: 13.92 kB / 0.515 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008069/0.3718, allocations: 99.88 kB / 0.5151 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006458/0.3724, allocations: 451.4 kB / 0.5156 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.3725, allocations: 35.25 kB / 0.5156 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.3726, allocations: 58.78 kB / 0.5157 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.3734, allocations: 493.7 kB / 0.5161 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3734, allocations: 2.109 kB / 0.5161 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.3734, allocations: 11.47 kB / 0.5161 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/0.3736, allocations: 34.44 kB / 0.5162 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.3742, allocations: 353.8 kB / 0.5165 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.3768, allocations: 1.72 MB / 0.5182 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.3772, allocations: 310.1 kB / 0.5185 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.3775, allocations: 152.9 kB / 0.5186 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3775, allocations: 7.234 kB / 0.5186 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3775, allocations: 41.27 kB / 0.5187 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.3775, allocations: 4 kB / 0.5187 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002085/0.3796, allocations: 1.108 MB / 0.5198 GB, free: 14.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.3797, allocations: 84.36 kB / 0.5198 GB, free: 14.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.3801, allocations: 331.4 kB / 0.5202 GB, free: 14.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.3801, allocations: 30.8 kB / 0.5202 GB, free: 14.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3803, allocations: 247.6 kB / 0.5204 GB, free: 13.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.429e-05/0.3804, allocations: 96.72 kB / 0.5205 GB, free: 13.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.3805, allocations: 78.44 kB / 0.5206 GB, free: 13.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3807, allocations: 343.9 kB / 0.5209 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.381, allocations: 142.7 kB / 0.5211 GB, free: 13.37 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000314/0.3813, allocations: 236.1 kB / 0.5213 GB, free: 13.21 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.002493/0.3838, allocations: 1.048 MB / 0.5223 GB, free: 12.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3838, allocations: 1.094 kB / 0.5223 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00137/0.3852, allocations: 0.6475 MB / 0.5229 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3852, allocations: 10.52 kB / 0.5229 GB, free: 12.45 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.0002569/0.3855, allocations: 168.3 kB / 0.5231 GB, free: 12.38 MB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated