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.001321/0.001321, allocations: 113.2 kB / 17.07 MB, free: 5.945 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.001283/0.001283, allocations: 194.8 kB / 18 MB, free: 5.035 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.434/1.434, 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-master/package.mo): time 0.1746/0.1746, allocations: 38.05 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 67.89 kB / 458.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4027, allocations: 58.05 MB / 0.5041 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005886/0.4086, allocations: 4.731 MB / 0.5087 GB, free: 4.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.4116, allocations: 1.42 MB / 0.5101 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003803/0.412, allocations: 13.16 kB / 0.5101 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.4137, allocations: 409.3 kB / 0.5105 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.4149, allocations: 295.9 kB / 0.5108 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008989/0.4158, allocations: 214.2 kB / 0.511 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.4169, allocations: 0.6234 MB / 0.5116 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.4174, allocations: 296.3 kB / 0.5119 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.4179, allocations: 290 kB / 0.5122 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005514/0.4184, allocations: 315.2 kB / 0.5125 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.586e-05/0.4185, allocations: 34.16 kB / 0.5125 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000396/0.4189, allocations: 138.2 kB / 0.5126 GB, free: 2.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.4192, allocations: 219.5 kB / 0.5128 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.4196, allocations: 240.6 kB / 0.5131 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.4207, allocations: 0.5847 MB / 0.5136 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.4207, allocations: 1.531 kB / 0.5136 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.4207, allocations: 0 / 0.5136 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.4207, allocations: 0 / 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.001347/0.4221, allocations: 0.7372 MB / 0.5144 GB, free: 1.332 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4221, allocations: 13.83 kB / 0.5144 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.423, allocations: 102.5 kB / 0.5145 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.4238, allocations: 451 kB / 0.5149 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.4238, allocations: 32.7 kB / 0.5149 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.424, allocations: 58.41 kB / 0.515 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/0.4249, allocations: 495.7 kB / 0.5155 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.4249, allocations: 1.438 kB / 0.5155 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/0.425, allocations: 14.5 kB / 0.5155 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.4252, allocations: 30.59 kB / 0.5155 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005985/0.4258, allocations: 345.4 kB / 0.5158 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.4289, allocations: 1.729 MB / 0.5175 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.4294, allocations: 308.2 kB / 0.5178 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.4296, allocations: 152.9 kB / 0.518 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.4297, allocations: 3.562 kB / 0.518 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.4297, allocations: 44.22 kB / 0.518 GB, free: 15.11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.794e-06/0.4297, allocations: 0 / 0.518 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.002209/0.4319, allocations: 1.112 MB / 0.5191 GB, free: 14.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.432, allocations: 88.52 kB / 0.5192 GB, free: 14.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.4324, allocations: 325.1 kB / 0.5195 GB, free: 14.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.4324, allocations: 30.89 kB / 0.5195 GB, free: 14.16 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.4326, allocations: 246.4 kB / 0.5198 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.4327, allocations: 105 kB / 0.5199 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.4328, allocations: 74.92 kB / 0.5199 GB, free: 13.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.433, allocations: 346.6 kB / 0.5203 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.4333, allocations: 140.7 kB / 0.5204 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.4336, allocations: 234.7 kB / 0.5206 GB, free: 13.3 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.002682/0.4363, allocations: 1.048 MB / 0.5216 GB, free: 12.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4363, allocations: 1.125 kB / 0.5216 GB, free: 12.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001409/0.4377, allocations: 0.6543 MB / 0.5223 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.4378, allocations: 13.38 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.0002886/0.4381, allocations: 157.4 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