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.0008487/0.0008486, allocations: 95.88 kB / 16.3 MB, free: 6.121 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.0008449/0.0008449, allocations: 181.8 kB / 17.2 MB, free: 6.004 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.265/1.265, allocations: 223.2 MB / 241.1 MB, free: 14.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1603/0.1603, allocations: 38.08 MB / 330.3 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003553, allocations: 11.98 kB / 400.1 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1082, allocations: 59.17 MB / 459.2 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01214/0.1204, allocations: 13.11 MB / 472.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.1324, allocations: 7.944 MB / 480.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/0.1343, allocations: 83.38 kB / 480.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01954/0.1538, allocations: 12.71 MB / 493.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.1576, allocations: 1.071 MB / 494.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.1602, allocations: 0.881 MB / 495 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002749/0.1629, allocations: 1.675 MB / 496.7 MB, free: 1.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.1656, allocations: 1.75 MB / 498.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.1672, allocations: 0.9809 MB / 499.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.1688, allocations: 1.238 MB / 0.4889 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.169, allocations: 108 kB / 0.489 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.1705, allocations: 0.7762 MB / 0.4898 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009704/0.1715, allocations: 1.111 MB / 0.4909 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005653/0.1721, allocations: 0.4964 MB / 0.4914 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.1749, allocations: 2.997 MB / 0.4943 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1749, allocations: 0 / 0.4943 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1749, allocations: 0 / 0.4943 GB, free: 8.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.582e-05/0.175, allocations: 0 / 0.4943 GB, free: 8.203 MB / 382.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.00531/0.1803, allocations: 2.737 MB / 0.497 GB, free: 5.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1804, allocations: 8.031 kB / 0.497 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004303/0.1808, allocations: 316.6 kB / 0.4973 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.1829, allocations: 476.2 kB / 0.4977 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.1867, allocations: 1.734 MB / 0.4994 GB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.1869, allocations: 159.9 kB / 0.4996 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005089/0.1874, allocations: 255.8 kB / 0.4998 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2197/0.4071, allocations: 3.16 MB / 0.5029 GB, free: 53.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.626e-05/0.4072, allocations: 9.5 kB / 0.5029 GB, free: 53.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.4075, allocations: 86.75 kB / 0.503 GB, free: 53.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007057/0.4082, allocations: 213 kB / 0.5032 GB, free: 53.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005349/0.4135, allocations: 2.847 MB / 0.506 GB, free: 53.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.4306, allocations: 11.78 MB / 0.5175 GB, free: 46.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.4339, allocations: 2.606 MB / 0.52 GB, free: 44.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.4341, allocations: 39.39 kB / 0.5201 GB, free: 44.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/0.4362, allocations: 1.698 MB / 0.5217 GB, free: 44.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=247): time 4.459e-06/0.4362, allocations: 3.938 kB / 0.5217 GB, free: 44.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=267): time 0.02124/0.4575, allocations: 12.05 MB / 0.5335 GB, free: 37.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.4576, allocations: 418.2 kB / 0.5339 GB, free: 36.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.4592, allocations: 1.463 MB / 0.5353 GB, free: 35.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.4594, allocations: 82.39 kB / 0.5354 GB, free: 35.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006082/0.46, allocations: 1.002 MB / 0.5364 GB, free: 34.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006043/0.4606, allocations: 0.8609 MB / 0.5372 GB, free: 33.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.4607, allocations: 57.41 kB / 0.5373 GB, free: 33.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4609, allocations: 436.5 kB / 0.5377 GB, free: 32.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4625, allocations: 1.302 MB / 0.539 GB, free: 31.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.4643, allocations: 1.986 MB / 0.5409 GB, free: 29.24 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.009705/0.4741, allocations: 3.91 MB / 0.5447 GB, free: 25.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.4741, allocations: 4 kB / 0.5447 GB, free: 25.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. Error: No system for the symbolic initialization was generated