Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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.DoubleRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",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.001539/0.001539, allocations: 109.9 kB / 17.06 MB, free: 5.973 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.001768/0.001768, allocations: 200 kB / 18.01 MB, free: 5.055 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1752/0.1752, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 457.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 58.05 MB / 0.5036 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.00959/0.3094, allocations: 10.18 MB / 0.5136 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006199/0.3156, allocations: 3.714 MB / 0.5172 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007256/0.3164, allocations: 35.56 kB / 0.5172 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002929/0.3193, allocations: 1.216 MB / 0.5184 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002751/0.3221, allocations: 1.136 MB / 0.5195 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.3241, allocations: 0.7229 MB / 0.5202 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003345/0.3275, allocations: 2.436 MB / 0.5226 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.3289, allocations: 1.036 MB / 0.5236 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.3312, allocations: 1.072 MB / 0.5247 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.3335, allocations: 1.373 MB / 0.526 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.3339, allocations: 166.2 kB / 0.5262 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.3356, allocations: 0.7059 MB / 0.5269 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001552/0.3371, allocations: 0.9694 MB / 0.5278 GB, free: 9.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.3389, allocations: 1.008 MB / 0.5288 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.3427, allocations: 2.591 MB / 0.5313 GB, free: 6.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3427, allocations: 3.938 kB / 0.5313 GB, free: 6.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3427, allocations: 1.062 kB / 0.5313 GB, free: 6.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.965e-05/0.3428, allocations: 0 / 0.5313 GB, free: 6.938 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.004633/0.3474, allocations: 2.325 MB / 0.5336 GB, free: 5.266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3475, allocations: 12.98 kB / 0.5336 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000318/0.3478, allocations: 252.8 kB / 0.5338 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.3499, allocations: 339.5 kB / 0.5342 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.3523, allocations: 1.133 MB / 0.5353 GB, free: 4.102 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.3524, allocations: 123.9 kB / 0.5354 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004271/0.3528, allocations: 206.9 kB / 0.5356 GB, free: 3.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/0.3569, allocations: 2.463 MB / 0.538 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/0.3569, allocations: 7.344 kB / 0.538 GB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.3571, allocations: 69.84 kB / 0.5381 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004945/0.3576, allocations: 158.9 kB / 0.5382 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.3611, allocations: 2.178 MB / 0.5403 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0135/0.3746, allocations: 9.184 MB / 0.5493 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.3771, allocations: 2.133 MB / 0.5514 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.3788, allocations: 1.177 MB / 0.5525 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.3789, allocations: 25.38 kB / 0.5526 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/0.3808, allocations: 1.407 MB / 0.5539 GB, free: 4.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.647e-06/0.3808, allocations: 0 / 0.5539 GB, free: 4.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.0111/0.3919, allocations: 6.881 MB / 0.5607 GB, free: 13.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.3921, allocations: 277.3 kB / 0.5609 GB, free: 13.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.3932, allocations: 0.9237 MB / 0.5618 GB, free: 12.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.3933, allocations: 77.67 kB / 0.5619 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005093/0.3938, allocations: 0.7335 MB / 0.5626 GB, free: 11.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005192/0.3944, allocations: 0.6589 MB / 0.5633 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.3949, allocations: 412.6 kB / 0.5637 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.395, allocations: 301.1 kB / 0.5639 GB, free: 9.902 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.3964, allocations: 0.9689 MB / 0.5649 GB, free: 8.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.3981, allocations: 1.52 MB / 0.5664 GB, free: 7.184 MB / 430.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.01284/0.411, allocations: 6.234 MB / 0.5725 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-05/0.411, allocations: 4 kB / 0.5725 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008138/0.4192, allocations: 4.112 MB / 0.5765 GB, free: 12.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.4192, allocations: 63.41 kB / 0.5765 GB, free: 12.48 MB / 446.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.001545/0.4208, allocations: 0.9716 MB / 0.5775 GB, free: 11.51 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated