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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_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.001583/0.001583, 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.001696/0.001696, 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.314/1.314, 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/package.mo): time 0.1719/0.1719, allocations: 38.02 MB / 329.7 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.44 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.09, allocations: 58.06 MB / 457 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01131/0.1014, allocations: 10.17 MB / 467.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006286/0.1077, allocations: 3.727 MB / 470.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.1086, allocations: 31.81 kB / 470.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.1115, allocations: 1.213 MB / 472.1 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002815/0.1143, allocations: 1.136 MB / 473.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.1162, allocations: 0.7173 MB / 474 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002947/0.1192, allocations: 2.437 MB / 476.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.1212, allocations: 1.036 MB / 477.4 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002101/0.1234, allocations: 1.047 MB / 478.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002126/0.1255, allocations: 1.383 MB / 479.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.126, allocations: 168 kB / 480 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.1278, allocations: 0.7372 MB / 480.8 MB, free: 36 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.1292, allocations: 0.9704 MB / 481.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001873/0.131, allocations: 1.003 MB / 482.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.134, allocations: 2.562 MB / 485.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.134, allocations: 0 / 485.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1341, allocations: 0 / 485.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.914e-05/0.1341, allocations: 0 / 485.3 MB, free: 11.48 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.005169/0.1393, allocations: 2.317 MB / 487.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1394, allocations: 11.89 kB / 487.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002786/0.1396, allocations: 257.5 kB / 487.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.1414, allocations: 338.3 kB / 488.2 MB, free: 8.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.1434, allocations: 1.083 MB / 489.3 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.1435, allocations: 122.9 kB / 489.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/0.1439, allocations: 203.8 kB / 489.6 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.1475, allocations: 2.458 MB / 492.1 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.501e-05/0.1475, allocations: 11.84 kB / 492.1 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.1477, allocations: 75.91 kB / 492.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005016/0.1482, allocations: 154.9 kB / 492.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003371/0.1516, allocations: 2.182 MB / 494.5 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/0.164, allocations: 9.238 MB / 0.4919 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.1668, allocations: 2.121 MB / 0.494 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.1684, allocations: 1.189 MB / 0.4952 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/0.1685, allocations: 21.25 kB / 0.4952 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.1703, allocations: 1.411 MB / 0.4966 GB, free: 3.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 5.27e-06/0.1704, allocations: 0 / 0.4966 GB, free: 3.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.179/0.3494, allocations: 6.875 MB / 0.5033 GB, free: 54.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/0.3495, allocations: 280.8 kB / 0.5035 GB, free: 54.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3506, allocations: 0.9334 MB / 0.5044 GB, free: 54.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.3508, allocations: 69.3 kB / 0.5045 GB, free: 54.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.3513, allocations: 0.7247 MB / 0.5052 GB, free: 53.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/0.3518, allocations: 0.6649 MB / 0.5059 GB, free: 53.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005671/0.3524, allocations: 411.4 kB / 0.5063 GB, free: 52.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.3525, allocations: 301.9 kB / 0.5066 GB, free: 52.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.3539, allocations: 0.9659 MB / 0.5075 GB, free: 52.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.3556, allocations: 1.52 MB / 0.509 GB, free: 51.39 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.01294/0.3685, allocations: 6.243 MB / 0.5151 GB, free: 48.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/0.3686, allocations: 4.281 kB / 0.5151 GB, free: 48.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007283/0.3759, allocations: 4.113 MB / 0.5191 GB, free: 47.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.3759, allocations: 69.27 kB / 0.5192 GB, free: 47.31 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.001276/0.3772, allocations: 0.9972 MB / 0.5201 GB, free: 46.9 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated