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.001113/0.001113, allocations: 111.2 kB / 16.51 MB, free: 6.715 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.001297/0.001297, allocations: 186.6 kB / 17.42 MB, free: 6.07 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.307/1.307, allocations: 205.1 MB / 223.3 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1703/0.1703, allocations: 37.99 MB / 308.6 MB, free: 6.238 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.00134/0.00134, allocations: 67.03 kB / 374.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2155, allocations: 55.25 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01085/0.2264, allocations: 15.34 MB / 445.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01208/0.2385, allocations: 8.821 MB / 454.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.2405, allocations: 91.38 kB / 454.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3147/0.5552, allocations: 96.19 MB / 0.5375 GB, free: 66.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003024/0.5583, allocations: 1.393 MB / 0.5389 GB, free: 65.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.5602, allocations: 0.9508 MB / 0.5398 GB, free: 65.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01577/0.576, allocations: 17.2 MB / 0.5566 GB, free: 49.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.5777, allocations: 1.469 MB / 0.558 GB, free: 47.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02573/0.6035, allocations: 24.59 MB / 0.582 GB, free: 24.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.6063, allocations: 1.985 MB / 0.584 GB, free: 22.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008601/0.6072, allocations: 136 kB / 0.5841 GB, free: 22.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002147/0.6094, allocations: 0.9459 MB / 0.585 GB, free: 21.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.6105, allocations: 1.253 MB / 0.5863 GB, free: 20.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.6117, allocations: 1.317 MB / 0.5875 GB, free: 18.74 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.6141, allocations: 3.82 MB / 0.5913 GB, free: 15.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6141, allocations: 0 / 0.5913 GB, free: 15.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.6141, allocations: 0 / 0.5913 GB, free: 15.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.188e-05/0.6141, allocations: 0 / 0.5913 GB, free: 15.02 MB / 398.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.004582/0.6187, allocations: 3.195 MB / 0.5944 GB, free: 11.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6188, allocations: 12.03 kB / 0.5944 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002844/0.6191, allocations: 310.7 kB / 0.5947 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.6209, allocations: 461.2 kB / 0.5951 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.6234, allocations: 1.8 MB / 0.5969 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.6235, allocations: 157.4 kB / 0.597 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004088/0.6239, allocations: 251.8 kB / 0.5973 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.6274, allocations: 3.185 MB / 0.6004 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.359e-05/0.6275, allocations: 11.94 kB / 0.6004 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/0.6277, allocations: 85.53 kB / 0.6005 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004958/0.6282, allocations: 207.8 kB / 0.6007 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003568/0.6317, allocations: 2.864 MB / 0.6035 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.6469, allocations: 11.59 MB / 0.6148 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/0.6504, allocations: 2.609 MB / 0.6173 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/0.6526, allocations: 1.538 MB / 0.6188 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.6528, allocations: 39.98 kB / 0.6189 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/0.6551, allocations: 1.695 MB / 0.6205 GB, free: 372 kB / 414.1 MB Notification: Performance of pre-optimization done (n=247): time 3.948e-06/0.6551, allocations: 3.938 kB / 0.6205 GB, free: 368 kB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.02151/0.6766, allocations: 11.5 MB / 0.6318 GB, free: 4.703 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.6769, allocations: 420.3 kB / 0.6322 GB, free: 4.207 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.6786, allocations: 1.481 MB / 0.6336 GB, free: 2.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001901/0.6788, allocations: 77.7 kB / 0.6337 GB, free: 2.637 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007842/0.6796, allocations: 1.005 MB / 0.6347 GB, free: 1.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006904/0.6803, allocations: 0.8551 MB / 0.6355 GB, free: 0.793 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007329/0.6811, allocations: 0.5253 MB / 0.636 GB, free: 268 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.6812, allocations: 305.1 kB / 0.6363 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.6831, allocations: 1.335 MB / 0.6376 GB, free: 14.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/0.6855, allocations: 1.994 MB / 0.6396 GB, free: 12.36 MB / 446.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.01574/0.7013, allocations: 6.985 MB / 0.6464 GB, free: 5.047 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/0.7013, allocations: 4 kB / 0.6464 GB, free: 5.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009961/0.7113, allocations: 5.33 MB / 0.6516 GB, free: 15.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.1e-05/0.7114, allocations: 63.41 kB / 0.6517 GB, free: 15.56 MB / 462.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.002114/0.7135, allocations: 1.364 MB / 0.653 GB, free: 14.15 MB / 462.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated