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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_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.001746/0.001746, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.002118/0.002118, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.347/1.347, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1829/0.1829, allocations: 38.02 MB / 329.7 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 66.28 kB / 398.9 MB, free: 33.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1053, allocations: 58.08 MB / 457 MB, free: 7.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01456/0.1199, allocations: 13.31 MB / 470.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.1321, allocations: 7.912 MB / 478.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.1339, allocations: 55.69 kB / 478.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.345/0.4788, allocations: 91.2 MB / 0.5561 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.4823, allocations: 1.48 MB / 0.5575 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.4846, allocations: 1.05 MB / 0.5586 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01923/0.5038, allocations: 14.52 MB / 0.5728 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.5069, allocations: 1.606 MB / 0.5743 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03225/0.5392, allocations: 23.51 MB / 0.5973 GB, free: 13.94 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.5428, allocations: 1.883 MB / 0.5991 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009085/0.5437, allocations: 244 kB / 0.5993 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.5465, allocations: 1.039 MB / 0.6004 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001984/0.5485, allocations: 1.351 MB / 0.6017 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002668/0.5512, allocations: 1.427 MB / 0.6031 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004901/0.5561, allocations: 3.919 MB / 0.6069 GB, free: 4.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.5562, allocations: 4 kB / 0.6069 GB, free: 4.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.5562, allocations: 4 kB / 0.6069 GB, free: 4.355 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000116/0.5563, allocations: 0 / 0.6069 GB, free: 4.355 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.007052/0.5634, allocations: 3.174 MB / 0.61 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5634, allocations: 11.89 kB / 0.61 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005113/0.5639, allocations: 322.7 kB / 0.6103 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.5662, allocations: 460.8 kB / 0.6108 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004598/0.5708, allocations: 1.785 MB / 0.6125 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.5711, allocations: 162.5 kB / 0.6127 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009112/0.572, allocations: 260.2 kB / 0.6129 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008453/0.5805, allocations: 3.18 MB / 0.616 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.852e-05/0.5806, allocations: 11.88 kB / 0.616 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004401/0.581, allocations: 88.38 kB / 0.6161 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001049/0.5821, allocations: 211.7 kB / 0.6163 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008431/0.5906, allocations: 2.856 MB / 0.6191 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02798/0.6186, allocations: 11.58 MB / 0.6304 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005137/0.6238, allocations: 2.608 MB / 0.633 GB, free: 9.039 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/0.6275, allocations: 1.538 MB / 0.6345 GB, free: 7.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.6278, allocations: 28.88 kB / 0.6345 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004413/0.6322, allocations: 1.7 MB / 0.6361 GB, free: 5.727 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 1.273e-05/0.6323, allocations: 0 / 0.6361 GB, free: 5.727 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.03848/0.6708, allocations: 11.52 MB / 0.6474 GB, free: 10.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003178/0.6711, allocations: 408.4 kB / 0.6478 GB, free: 9.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.6744, allocations: 1.477 MB / 0.6492 GB, free: 8.086 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005092/0.6749, allocations: 82.45 kB / 0.6493 GB, free: 8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.6764, allocations: 1.002 MB / 0.6503 GB, free: 6.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001719/0.6782, allocations: 0.8578 MB / 0.6511 GB, free: 6.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/0.6802, allocations: 0.5245 MB / 0.6516 GB, free: 5.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.6804, allocations: 301.1 kB / 0.6519 GB, free: 5.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003751/0.6841, allocations: 1.331 MB / 0.6532 GB, free: 3.988 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004659/0.6888, allocations: 2.002 MB / 0.6552 GB, free: 1.727 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.02574/0.7146, allocations: 7.005 MB / 0.662 GB, free: 10.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/0.7147, allocations: 7.844 kB / 0.662 GB, free: 10.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01077/0.7254, allocations: 5.335 MB / 0.6672 GB, free: 4.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.419e-05/0.7256, allocations: 63.41 kB / 0.6673 GB, free: 4.906 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002357/0.7279, allocations: 1.365 MB / 0.6686 GB, free: 3.504 MB / 494.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated