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.0008233/0.0008232, allocations: 96.83 kB / 16.65 MB, free: 6.59 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.0009014/0.0009015, allocations: 182 kB / 17.56 MB, free: 6.199 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.256/1.256, allocations: 223.2 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1651/0.1651, allocations: 38.09 MB / 330.8 MB, free: 8.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002727/0.0002727, allocations: 8 kB / 400.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.09203, allocations: 59.16 MB / 460 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01333/0.1054, allocations: 14.74 MB / 474.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01316/0.1186, allocations: 8.639 MB / 483.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/0.1207, allocations: 79.44 kB / 483.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3157/0.4364, allocations: 95.19 MB / 0.5651 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.4406, allocations: 1.39 MB / 0.5664 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.4432, allocations: 0.9485 MB / 0.5673 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02077/0.464, allocations: 17.17 MB / 0.5841 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.4675, allocations: 2.001 MB / 0.5861 GB, free: 8.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03175/0.4993, allocations: 24.47 MB / 0.61 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003044/0.5024, allocations: 1.887 MB / 0.6118 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004015/0.5028, allocations: 104 kB / 0.6119 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.5047, allocations: 0.9249 MB / 0.6128 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.5059, allocations: 1.201 MB / 0.614 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.5074, allocations: 1.276 MB / 0.6152 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.5113, allocations: 3.733 MB / 0.6189 GB, free: 7.863 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.5113, allocations: 0 / 0.6189 GB, free: 7.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5113, allocations: 0 / 0.6189 GB, free: 7.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.747e-05/0.5114, allocations: 0 / 0.6189 GB, free: 7.863 MB / 446.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.005745/0.5171, allocations: 2.711 MB / 0.6215 GB, free: 5.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.5172, allocations: 10.28 kB / 0.6215 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004624/0.5177, allocations: 315.2 kB / 0.6218 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/0.5198, allocations: 456.7 kB / 0.6223 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/0.523, allocations: 1.795 MB / 0.624 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.5232, allocations: 163.8 kB / 0.6242 GB, free: 2.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005602/0.5237, allocations: 250.3 kB / 0.6244 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0053/0.529, allocations: 3.188 MB / 0.6275 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/0.5291, allocations: 11.94 kB / 0.6275 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.5293, allocations: 91.02 kB / 0.6276 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006098/0.5299, allocations: 207.8 kB / 0.6278 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004655/0.5346, allocations: 2.876 MB / 0.6306 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.5501, allocations: 11.63 MB / 0.642 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.5535, allocations: 2.605 MB / 0.6445 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/0.5559, allocations: 1.546 MB / 0.646 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.556, allocations: 29.11 kB / 0.6461 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002625/0.5586, allocations: 1.71 MB / 0.6477 GB, free: 9.602 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 4.258e-06/0.5586, allocations: 0 / 0.6477 GB, free: 9.602 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02228/0.5809, allocations: 11.57 MB / 0.659 GB, free: 13.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002521/0.5812, allocations: 409.8 kB / 0.6594 GB, free: 13.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.5833, allocations: 1.477 MB / 0.6609 GB, free: 11.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.5836, allocations: 89.62 kB / 0.661 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/0.5845, allocations: 0.9921 MB / 0.6619 GB, free: 10.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008051/0.5853, allocations: 0.8629 MB / 0.6628 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.5857, allocations: 264.9 kB / 0.663 GB, free: 9.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.5858, allocations: 301.1 kB / 0.6633 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.5878, allocations: 1.329 MB / 0.6646 GB, free: 8.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.5902, allocations: 2.006 MB / 0.6666 GB, free: 5.805 MB / 494.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.01527/0.6055, allocations: 7.021 MB / 0.6734 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-05/0.6055, allocations: 8 kB / 0.6734 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009665/0.6152, allocations: 5.345 MB / 0.6787 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.6156, allocations: 0.6862 MB / 0.6793 GB, free: 8.07 MB / 0.4981 GB 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.002106/0.6178, allocations: 1.368 MB / 0.6807 GB, free: 6.66 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated