Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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.001713/0.001713, allocations: 173.5 kB / 16.74 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.31/2.31, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.001076/0.001076, allocations: 88.09 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2079/0.2079, allocations: 38.07 MB / 357.6 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004995, allocations: 16 kB / 424 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.538/0.5386, allocations: 56.32 MB / 480.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.00815/0.5468, allocations: 4.771 MB / 485.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003767/0.5506, allocations: 1.564 MB / 486.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004868/0.5511, allocations: 26.78 kB / 486.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000461/0.5516, allocations: 102 kB / 486.7 MB, free: 4.922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.5526, allocations: 298.3 kB / 487 MB, free: 4.758 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.5536, allocations: 216.1 kB / 487.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.5553, allocations: 0.7291 MB / 488 MB, free: 4.391 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.5567, allocations: 0.5465 MB / 488.5 MB, free: 4.039 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.5574, allocations: 228.7 kB / 488.8 MB, free: 3.949 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008135/0.5582, allocations: 303.4 kB / 489 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.5583, allocations: 17.81 kB / 489.1 MB, free: 3.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004961/0.5588, allocations: 146 kB / 489.2 MB, free: 3.809 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.5591, allocations: 193 kB / 489.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003245/0.5595, allocations: 237.8 kB / 489.6 MB, free: 3.613 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008787/0.5604, allocations: 436.2 kB / 490.1 MB, free: 3.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.5604, allocations: 0.7969 kB / 490.1 MB, free: 3.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.579e-06/0.5604, allocations: 7.938 kB / 490.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.5604, allocations: 3.938 kB / 490.1 MB, free: 3.508 MB / 314.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.001345/0.5618, allocations: 0.6617 MB / 490.7 MB, free: 2.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.193e-05/0.5619, allocations: 8 kB / 490.7 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.5627, allocations: 108.6 kB / 490.8 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.5636, allocations: 417.5 kB / 491.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.5636, allocations: 34.64 kB / 491.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.5639, allocations: 56.08 kB / 491.3 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.5649, allocations: 495.6 kB / 491.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.5649, allocations: 1.094 kB / 491.8 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.565, allocations: 15.19 kB / 491.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.5652, allocations: 30.94 kB / 491.9 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.5659, allocations: 347.5 kB / 492.2 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.5691, allocations: 1.75 MB / 494 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005212/0.5697, allocations: 308.9 kB / 494.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.57, allocations: 161.9 kB / 494.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.5701, allocations: 2.812 kB / 494.4 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.5701, allocations: 37.69 kB / 494.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.935e-06/0.5701, allocations: 0 / 494.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.002618/0.5728, allocations: 1.111 MB / 495.6 MB, free: 92 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.5729, allocations: 85.08 kB / 495.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005592/0.5734, allocations: 325.5 kB / 496 MB, free: 15.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.5735, allocations: 31.7 kB / 496 MB, free: 15.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.5738, allocations: 254.6 kB / 496.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.5739, allocations: 95.5 kB / 496.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.574, allocations: 5.094 kB / 496.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.5742, allocations: 348.4 kB / 496.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.5746, allocations: 141.7 kB / 496.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004229/0.575, allocations: 242 kB / 497.1 MB, free: 14.96 MB / 330.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.003188/0.5782, allocations: 1.023 MB / 498.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5782, allocations: 1.062 kB / 498.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001688/0.5799, allocations: 0.6594 MB / 498.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.58, allocations: 10.09 kB / 498.8 MB, free: 14.2 MB / 330.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.0003579/0.5803, allocations: 155.7 kB / 498.9 MB, free: 14.14 MB / 330.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated