Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002268/0.002269, allocations: 111.3 kB / 17.29 MB, free: 6.059 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.002644/0.002644, allocations: 193.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.604/2.604, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4451/0.4451, allocations: 38.02 MB / 330.1 MB, free: 8.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 63.28 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1648, allocations: 58.05 MB / 457 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.02354/0.1884, allocations: 11.6 MB / 468.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.2033, allocations: 4.136 MB / 472.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.2061, allocations: 63.56 kB / 472.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005688/0.2118, allocations: 1.147 MB / 473.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00625/0.2181, allocations: 1.051 MB / 475 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.2217, allocations: 0.6591 MB / 475.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005792/0.2275, allocations: 2.441 MB / 478.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.2304, allocations: 1.102 MB / 479.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.2335, allocations: 1.055 MB / 480.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/0.2367, allocations: 1.476 MB / 481.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005178/0.2373, allocations: 168 kB / 481.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.2393, allocations: 0.7411 MB / 482.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.2406, allocations: 0.9742 MB / 483.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.2422, allocations: 1.007 MB / 484.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.245, allocations: 1.976 MB / 486.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.245, allocations: 0 / 486.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2451, allocations: 4 kB / 486.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.788e-05/0.2452, allocations: 4 kB / 486.6 MB, free: 10.69 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.006386/0.2515, allocations: 2.314 MB / 488.9 MB, free: 8.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.2516, allocations: 11.89 kB / 488.9 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/0.2548, allocations: 346.2 kB / 489.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.2582, allocations: 1.079 MB / 490.3 MB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.2584, allocations: 131.1 kB / 490.5 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008288/0.2593, allocations: 195.8 kB / 490.7 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/0.2656, allocations: 2.469 MB / 493.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.617e-05/0.2657, allocations: 7.938 kB / 493.1 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.266, allocations: 71.95 kB / 493.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007696/0.2668, allocations: 158.9 kB / 493.4 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00593/0.2727, allocations: 2.166 MB / 495.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.2974, allocations: 9.245 MB / 0.4929 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005591/0.3031, allocations: 2.133 MB / 0.495 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003677/0.3068, allocations: 1.181 MB / 0.4962 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.3071, allocations: 33.3 kB / 0.4962 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004429/0.3115, allocations: 1.403 MB / 0.4976 GB, free: 2.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 9.849e-06/0.3116, allocations: 0 / 0.4976 GB, free: 2.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.3562/0.6678, allocations: 6.864 MB / 0.5043 GB, free: 55.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.668, allocations: 283.4 kB / 0.5046 GB, free: 54.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.6695, allocations: 0.9293 MB / 0.5055 GB, free: 54.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002386/0.6698, allocations: 70.09 kB / 0.5055 GB, free: 54.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005533/0.6703, allocations: 0.7297 MB / 0.5062 GB, free: 53.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/0.671, allocations: 0.66 MB / 0.5069 GB, free: 53.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006825/0.6717, allocations: 413.6 kB / 0.5073 GB, free: 53.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.6717, allocations: 303.3 kB / 0.5076 GB, free: 52.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.6735, allocations: 0.9646 MB / 0.5085 GB, free: 52.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/0.6756, allocations: 1.521 MB / 0.51 GB, free: 51.54 MB / 382.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.01608/0.6917, allocations: 6.244 MB / 0.5161 GB, free: 49.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/0.6917, allocations: 5.594 kB / 0.5161 GB, free: 49.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009561/0.7013, allocations: 4.116 MB / 0.5201 GB, free: 47.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.099e-05/0.7014, allocations: 63.44 kB / 0.5202 GB, free: 47.47 MB / 382.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.002059/0.7035, allocations: 0.9935 MB / 0.5211 GB, free: 47.06 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated