Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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.DoubleRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",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.001236/0.001236, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001134/0.001134, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.397/1.397, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1799/0.1799, allocations: 38.04 MB / 329.7 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.95 kB / 398.9 MB, free: 33.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09421/0.09556, allocations: 58.07 MB / 457 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01102/0.1066, allocations: 10.17 MB / 467.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006648/0.1133, allocations: 3.719 MB / 470.9 MB, free: 10 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008843/0.1142, allocations: 35.81 kB / 470.9 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.1173, allocations: 1.213 MB / 472.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.1204, allocations: 1.132 MB / 473.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.1221, allocations: 0.7212 MB / 474 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002661/0.1247, allocations: 2.437 MB / 476.4 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.1262, allocations: 1.044 MB / 477.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.1278, allocations: 1.047 MB / 478.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001926/0.1297, allocations: 1.386 MB / 479.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004215/0.1302, allocations: 164 kB / 480 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.1316, allocations: 0.7372 MB / 480.8 MB, free: 40 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.1327, allocations: 0.9743 MB / 481.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.1342, allocations: 0.9991 MB / 482.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.1368, allocations: 2.555 MB / 485.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1369, allocations: 0 / 485.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1369, allocations: 4 kB / 485.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.593e-05/0.137, allocations: 0 / 485.3 MB, free: 11.49 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.004963/0.1419, allocations: 2.317 MB / 487.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.142, allocations: 15.89 kB / 487.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004177/0.1424, allocations: 253.5 kB / 487.9 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.1444, allocations: 342.2 kB / 488.2 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.1466, allocations: 1.079 MB / 489.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.1467, allocations: 126.9 kB / 489.4 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000542/0.1473, allocations: 199.9 kB / 489.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.1511, allocations: 2.454 MB / 492.1 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/0.1511, allocations: 11.84 kB / 492.1 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.1513, allocations: 67.97 kB / 492.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000519/0.1519, allocations: 158.9 kB / 492.3 MB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/0.1553, allocations: 2.182 MB / 494.5 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.1678, allocations: 9.238 MB / 0.4919 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.1705, allocations: 2.129 MB / 0.494 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.1723, allocations: 1.181 MB / 0.4952 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.389e-05/0.1724, allocations: 25.36 kB / 0.4952 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/0.1743, allocations: 1.407 MB / 0.4966 GB, free: 3.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.187e-06/0.1743, allocations: 0 / 0.4966 GB, free: 3.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.1918/0.3662, allocations: 6.872 MB / 0.5033 GB, free: 54.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.3663, allocations: 275.5 kB / 0.5035 GB, free: 54.6 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.3676, allocations: 0.9374 MB / 0.5044 GB, free: 54.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.3678, allocations: 71.97 kB / 0.5045 GB, free: 54.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/0.3684, allocations: 0.7255 MB / 0.5052 GB, free: 53.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000564/0.3689, allocations: 0.6667 MB / 0.5059 GB, free: 53.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005827/0.3695, allocations: 407.2 kB / 0.5063 GB, free: 52.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.956e-05/0.3696, allocations: 304.9 kB / 0.5066 GB, free: 52.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.3711, allocations: 0.9653 MB / 0.5075 GB, free: 52.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.373, allocations: 1.519 MB / 0.509 GB, free: 51.36 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.01349/0.3865, allocations: 6.244 MB / 0.5151 GB, free: 48.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/0.3865, allocations: 5.156 kB / 0.5151 GB, free: 48.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007699/0.3942, allocations: 4.12 MB / 0.5191 GB, free: 47.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.3943, allocations: 66.72 kB / 0.5192 GB, free: 47.29 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.001418/0.3957, allocations: 0.9999 MB / 0.5201 GB, free: 46.88 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated