Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 110.8 kB / 16.92 MB, free: 6.16 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.001804/0.001804, allocations: 191.3 kB / 17.85 MB, free: 5.301 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.34/1.34, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1771/0.1771, allocations: 38.05 MB / 329.7 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 70.88 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09955, allocations: 58.05 MB / 457 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01402/0.1136, allocations: 13.33 MB / 470.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.1254, allocations: 7.908 MB / 478.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.1266, allocations: 51.69 kB / 478.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3296/0.4562, allocations: 91.21 MB / 0.5561 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.4598, allocations: 1.473 MB / 0.5576 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.4622, allocations: 1.052 MB / 0.5586 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01804/0.4803, allocations: 14.51 MB / 0.5728 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003193/0.4835, allocations: 1.613 MB / 0.5743 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03483/0.5184, allocations: 23.5 MB / 0.5973 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003847/0.5223, allocations: 1.894 MB / 0.5991 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.5234, allocations: 246.2 kB / 0.5994 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.5263, allocations: 1.04 MB / 0.6004 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001935/0.5282, allocations: 1.347 MB / 0.6017 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002761/0.531, allocations: 1.433 MB / 0.6031 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00519/0.5362, allocations: 3.918 MB / 0.6069 GB, free: 4.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5363, allocations: 0 / 0.6069 GB, free: 4.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5363, allocations: 0 / 0.6069 GB, free: 4.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001587/0.5364, allocations: 4 kB / 0.6069 GB, free: 4.465 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.008053/0.5445, allocations: 3.179 MB / 0.61 GB, free: 1.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.5446, allocations: 8.031 kB / 0.61 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004509/0.545, allocations: 316.6 kB / 0.6103 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002505/0.5475, allocations: 460.3 kB / 0.6108 GB, free: 468 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003458/0.551, allocations: 1.791 MB / 0.6125 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.5512, allocations: 163 kB / 0.6127 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005411/0.5517, allocations: 254.9 kB / 0.6129 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004977/0.5567, allocations: 3.186 MB / 0.616 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.5568, allocations: 11.94 kB / 0.616 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.5571, allocations: 83.89 kB / 0.6161 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006284/0.5577, allocations: 215.7 kB / 0.6163 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004566/0.5623, allocations: 2.849 MB / 0.6191 GB, free: 7.762 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/0.5789, allocations: 11.59 MB / 0.6304 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.5828, allocations: 2.602 MB / 0.633 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002385/0.5852, allocations: 1.546 MB / 0.6345 GB, free: 7.602 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.5853, allocations: 29.83 kB / 0.6345 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002771/0.5881, allocations: 1.701 MB / 0.6362 GB, free: 5.836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 4.458e-06/0.5881, allocations: 0 / 0.6362 GB, free: 5.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02507/0.6132, allocations: 11.51 MB / 0.6474 GB, free: 10.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002451/0.6135, allocations: 413.8 kB / 0.6478 GB, free: 9.684 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.6157, allocations: 1.469 MB / 0.6492 GB, free: 8.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003351/0.616, allocations: 77.7 kB / 0.6493 GB, free: 8.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.6173, allocations: 1.011 MB / 0.6503 GB, free: 7.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.6184, allocations: 0.8533 MB / 0.6511 GB, free: 6.277 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007915/0.6192, allocations: 0.5261 MB / 0.6516 GB, free: 5.746 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6193, allocations: 305.1 kB / 0.6519 GB, free: 5.445 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.6215, allocations: 1.327 MB / 0.6532 GB, free: 4.109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002882/0.6244, allocations: 1.998 MB / 0.6552 GB, free: 1.852 MB / 478.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.0181/0.6425, allocations: 7.017 MB / 0.662 GB, free: 10.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/0.6426, allocations: 8 kB / 0.662 GB, free: 10.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01211/0.6547, allocations: 5.325 MB / 0.6672 GB, free: 5.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.6548, allocations: 67.41 kB / 0.6673 GB, free: 5.02 MB / 494.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.002355/0.6572, allocations: 1.364 MB / 0.6686 GB, free: 3.613 MB / 494.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated