Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PowerSystems_Examples_AC3ph_Transmission_DoubleRXlineTG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,fileNamePrefix="PowerSystems_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.001556/0.001556, allocations: 94.34 kB / 16.3 MB, free: 5.996 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.001665/0.001665, allocations: 184.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 223.3 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3347/0.3347, allocations: 38.06 MB / 309.7 MB, free: 8.836 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004918, allocations: 12 kB / 376.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1179, allocations: 56.34 MB / 432.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01443/0.1324, allocations: 13.11 MB / 446 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.1475, allocations: 8.002 MB / 454 MB, free: 1.441 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.1501, allocations: 79.44 kB / 454.1 MB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2765/0.4267, allocations: 12.72 MB / 466.8 MB, free: 33.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004206/0.431, allocations: 1.076 MB / 467.9 MB, free: 33.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.4337, allocations: 0.8817 MB / 468.8 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003288/0.437, allocations: 1.671 MB / 470.5 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00353/0.4406, allocations: 1.758 MB / 472.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002193/0.4428, allocations: 0.9722 MB / 473.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002261/0.445, allocations: 1.244 MB / 474.4 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007162/0.4458, allocations: 104.8 kB / 474.5 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.448, allocations: 0.779 MB / 475.3 MB, free: 32.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.4492, allocations: 1.108 MB / 476.4 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007237/0.4499, allocations: 0.4978 MB / 476.9 MB, free: 32.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003348/0.4533, allocations: 3.003 MB / 479.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4533, allocations: 1.219 kB / 479.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4533, allocations: 0 / 479.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.096e-05/0.4534, allocations: 0 / 479.9 MB, free: 32.73 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.00616/0.4596, allocations: 2.735 MB / 482.7 MB, free: 31.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.4596, allocations: 8.594 kB / 482.7 MB, free: 31.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004617/0.4601, allocations: 314 kB / 483 MB, free: 31.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.4622, allocations: 471.3 kB / 483.4 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/0.4657, allocations: 1.753 MB / 485.2 MB, free: 30.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.4658, allocations: 154.4 kB / 485.3 MB, free: 30.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000571/0.4664, allocations: 257.7 kB / 485.6 MB, free: 30.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005628/0.472, allocations: 3.159 MB / 488.8 MB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/0.4721, allocations: 17.95 kB / 488.8 MB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.4724, allocations: 86.53 kB / 488.9 MB, free: 30.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00072/0.4731, allocations: 217.2 kB / 489.1 MB, free: 30.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005841/0.479, allocations: 2.848 MB / 491.9 MB, free: 30.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01736/0.4963, allocations: 11.76 MB / 0.4919 GB, free: 24.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003486/0.4999, allocations: 2.615 MB / 0.4944 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.5, allocations: 25.42 kB / 0.4945 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002353/0.5024, allocations: 1.707 MB / 0.4961 GB, free: 21.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=247): time 5.06e-06/0.5024, allocations: 4 kB / 0.4961 GB, free: 21.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=267): time 0.02248/0.5249, allocations: 12.07 MB / 0.5079 GB, free: 14.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.5251, allocations: 412.9 kB / 0.5083 GB, free: 13.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.5269, allocations: 1.465 MB / 0.5097 GB, free: 12.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.5272, allocations: 85.72 kB / 0.5098 GB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006483/0.5278, allocations: 1.009 MB / 0.5108 GB, free: 10.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006457/0.5285, allocations: 0.8521 MB / 0.5116 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.5286, allocations: 56 kB / 0.5117 GB, free: 10.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5288, allocations: 440.5 kB / 0.5121 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.5305, allocations: 1.306 MB / 0.5134 GB, free: 8.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.5325, allocations: 1.978 MB / 0.5153 GB, free: 6.086 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.01098/0.5434, allocations: 3.912 MB / 0.5191 GB, free: 2.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.5435, allocations: 4 kB / 0.5191 GB, free: 2.156 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