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.0008337/0.0008337, allocations: 86.55 kB / 16.31 MB, free: 6.449 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.00141/0.00141, allocations: 179.8 kB / 17.21 MB, free: 6.32 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.41/1.41, allocations: 223.2 MB / 241.2 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1793/0.1793, allocations: 38.09 MB / 330.4 MB, free: 8.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 8 kB / 400.2 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 59.18 MB / 459.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.015/0.124, allocations: 13.81 MB / 473.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.1383, allocations: 8.005 MB / 481.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.1407, allocations: 83.44 kB / 481.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.403/0.5438, allocations: 92.43 MB / 0.5602 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004365/0.5482, allocations: 1.475 MB / 0.5617 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.551, allocations: 0.8878 MB / 0.5625 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02193/0.573, allocations: 15.64 MB / 0.5778 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.5768, allocations: 1.758 MB / 0.5795 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03601/0.6128, allocations: 23.89 MB / 0.6029 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.6157, allocations: 1.852 MB / 0.6047 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004174/0.6162, allocations: 104 kB / 0.6048 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.618, allocations: 0.8363 MB / 0.6056 GB, free: 9.121 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.6194, allocations: 1.228 MB / 0.6068 GB, free: 7.902 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000791/0.6202, allocations: 0.4925 MB / 0.6073 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.6235, allocations: 2.993 MB / 0.6102 GB, free: 4.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.6235, allocations: 0 / 0.6102 GB, free: 4.504 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.6235, allocations: 1.969 kB / 0.6102 GB, free: 4.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.767e-05/0.6236, allocations: 0 / 0.6102 GB, free: 4.504 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.00551/0.6291, allocations: 2.732 MB / 0.6129 GB, free: 1.719 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6292, allocations: 12.03 kB / 0.6129 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004855/0.6297, allocations: 315.7 kB / 0.6132 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.6317, allocations: 455.5 kB / 0.6136 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003419/0.6351, allocations: 1.743 MB / 0.6153 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.6353, allocations: 157.7 kB / 0.6155 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005894/0.6359, allocations: 255.7 kB / 0.6157 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005552/0.6415, allocations: 3.183 MB / 0.6188 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.489e-05/0.6416, allocations: 11.92 kB / 0.6188 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.6418, allocations: 88.44 kB / 0.6189 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005417/0.6423, allocations: 215.7 kB / 0.6191 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/0.6471, allocations: 2.861 MB / 0.6219 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01802/0.6652, allocations: 11.62 MB / 0.6332 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/0.6689, allocations: 2.61 MB / 0.6358 GB, free: 9.652 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.6714, allocations: 1.538 MB / 0.6373 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.6715, allocations: 36.88 kB / 0.6373 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002891/0.6744, allocations: 1.708 MB / 0.639 GB, free: 6.324 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 4.538e-06/0.6745, allocations: 2.078 kB / 0.639 GB, free: 6.324 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02265/0.6971, allocations: 11.61 MB / 0.6503 GB, free: 10.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.6974, allocations: 417.6 kB / 0.6507 GB, free: 10.08 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.6994, allocations: 1.457 MB / 0.6522 GB, free: 8.617 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003293/0.6998, allocations: 81.69 kB / 0.6522 GB, free: 8.531 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009917/0.7008, allocations: 1.001 MB / 0.6532 GB, free: 7.527 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008957/0.7017, allocations: 0.8565 MB / 0.6541 GB, free: 6.688 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.7018, allocations: 63.67 kB / 0.6541 GB, free: 6.629 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002483/0.7021, allocations: 428.5 kB / 0.6545 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.7043, allocations: 1.322 MB / 0.6558 GB, free: 4.879 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.707, allocations: 2 MB / 0.6578 GB, free: 2.617 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.01112/0.7182, allocations: 3.928 MB / 0.6616 GB, free: 14.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.7182, allocations: 4 kB / 0.6616 GB, free: 14.66 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. Error: No system for the symbolic initialization was generated