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.001088/0.001088, allocations: 109.6 kB / 16.62 MB, free: 6.812 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.001186/0.001186, allocations: 190 kB / 17.55 MB, free: 5.934 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.282/1.282, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1711/0.1711, allocations: 38.02 MB / 329.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.31 kB / 398.4 MB, free: 34.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09195, allocations: 58.06 MB / 456.4 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01121/0.1032, allocations: 11.6 MB / 468 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006961/0.1102, allocations: 4.144 MB / 472.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1114, allocations: 63.56 kB / 472.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.1145, allocations: 1.121 MB / 473.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002833/0.1173, allocations: 1.063 MB / 474.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.1191, allocations: 0.6591 MB / 475.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.1222, allocations: 2.437 MB / 477.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.124, allocations: 1.11 MB / 478.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.1257, allocations: 1.055 MB / 479.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.1278, allocations: 1.472 MB / 481.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004252/0.1282, allocations: 164 kB / 481.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.1298, allocations: 0.7411 MB / 482.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.131, allocations: 0.9781 MB / 483 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.1327, allocations: 1.011 MB / 484.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.1357, allocations: 2.566 MB / 486.6 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1357, allocations: 3.938 kB / 486.6 MB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1357, allocations: 0 / 486.6 MB, free: 10 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000107/0.1358, allocations: 0 / 486.6 MB, free: 10 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.004865/0.1407, allocations: 2.317 MB / 488.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1407, allocations: 15.89 kB / 489 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004083/0.1412, allocations: 253.5 kB / 489.2 MB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.1429, allocations: 346.2 kB / 489.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.1448, allocations: 1.075 MB / 490.6 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-05/0.1449, allocations: 130.8 kB / 490.7 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004369/0.1454, allocations: 199.8 kB / 490.9 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.1489, allocations: 2.461 MB / 493.4 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.234e-05/0.1489, allocations: 7.938 kB / 493.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.1491, allocations: 63.97 kB / 493.5 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004583/0.1496, allocations: 162.9 kB / 493.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.1528, allocations: 2.182 MB / 495.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.165, allocations: 9.238 MB / 0.4932 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003046/0.1681, allocations: 2.128 MB / 0.4953 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.1699, allocations: 1.181 MB / 0.4964 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.17, allocations: 29.3 kB / 0.4965 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002078/0.1721, allocations: 1.407 MB / 0.4978 GB, free: 2.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 4.398e-06/0.1721, allocations: 0 / 0.4978 GB, free: 2.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.1742/0.3463, allocations: 6.872 MB / 0.5046 GB, free: 55.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.3465, allocations: 279.7 kB / 0.5048 GB, free: 54.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.3477, allocations: 0.9289 MB / 0.5057 GB, free: 54.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.3478, allocations: 69.73 kB / 0.5058 GB, free: 54.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004312/0.3483, allocations: 0.7334 MB / 0.5065 GB, free: 53.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00046/0.3488, allocations: 0.666 MB / 0.5072 GB, free: 53.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/0.3493, allocations: 404.9 kB / 0.5076 GB, free: 53.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.213e-05/0.3493, allocations: 309.8 kB / 0.5078 GB, free: 52.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.3507, allocations: 0.9662 MB / 0.5088 GB, free: 52.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.3522, allocations: 1.522 MB / 0.5103 GB, free: 51.57 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.01136/0.3636, allocations: 6.243 MB / 0.5164 GB, free: 49.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.3636, allocations: 8.469 kB / 0.5164 GB, free: 49.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006397/0.37, allocations: 4.11 MB / 0.5204 GB, free: 47.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.3701, allocations: 63.78 kB / 0.5205 GB, free: 47.5 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.001135/0.3712, allocations: 1.002 MB / 0.5214 GB, free: 47.09 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated