Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/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.DoubleRXline,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_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.001314/0.001314, allocations: 109.7 kB / 17.06 MB, free: 5.812 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.001262/0.001263, allocations: 200 kB / 18.01 MB, free: 4.941 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.417/1.417, 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/package.mo): time 0.1837/0.1837, allocations: 38.02 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 63.91 kB / 457.7 MB, free: 7.332 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 58.06 MB / 0.5036 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.008907/0.3263, allocations: 10.18 MB / 0.5136 GB, free: 308 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007156/0.3335, allocations: 3.713 MB / 0.5172 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.3347, allocations: 35.97 kB / 0.5172 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003276/0.338, allocations: 1.213 MB / 0.5184 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.3414, allocations: 1.136 MB / 0.5195 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.3435, allocations: 0.7226 MB / 0.5202 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.3472, allocations: 2.434 MB / 0.5226 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.3487, allocations: 1.038 MB / 0.5236 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.3507, allocations: 1.046 MB / 0.5246 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.3529, allocations: 1.374 MB / 0.526 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003063/0.3532, allocations: 165.3 kB / 0.5261 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.3548, allocations: 0.7066 MB / 0.5268 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.3561, allocations: 0.9666 MB / 0.5278 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.3577, allocations: 1.011 MB / 0.5288 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003804/0.3615, allocations: 2.607 MB / 0.5313 GB, free: 7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3616, allocations: 5 kB / 0.5313 GB, free: 6.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3616, allocations: 0 / 0.5313 GB, free: 6.996 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.443e-05/0.3616, allocations: 0 / 0.5313 GB, free: 6.996 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.004975/0.3666, allocations: 2.371 MB / 0.5336 GB, free: 5.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3666, allocations: 12.52 kB / 0.5336 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003349/0.367, allocations: 257.7 kB / 0.5339 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.3689, allocations: 351.1 kB / 0.5342 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.3712, allocations: 1.131 MB / 0.5353 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3713, allocations: 128.5 kB / 0.5354 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004663/0.3718, allocations: 202.6 kB / 0.5356 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004221/0.376, allocations: 2.467 MB / 0.538 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.961e-05/0.3761, allocations: 10.83 kB / 0.5381 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.3762, allocations: 69.66 kB / 0.5381 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000505/0.3768, allocations: 158.5 kB / 0.5383 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003665/0.3804, allocations: 2.182 MB / 0.5404 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01427/0.3947, allocations: 9.194 MB / 0.5494 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003095/0.3979, allocations: 2.134 MB / 0.5515 GB, free: 6.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.3998, allocations: 1.181 MB / 0.5526 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.3999, allocations: 25.36 kB / 0.5526 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00225/0.4021, allocations: 1.416 MB / 0.554 GB, free: 4.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 3.317e-06/0.4022, allocations: 0 / 0.554 GB, free: 4.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.01316/0.4153, allocations: 6.939 MB / 0.5608 GB, free: 13.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001988/0.4156, allocations: 277.3 kB / 0.5611 GB, free: 12.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4169, allocations: 0.9315 MB / 0.562 GB, free: 11.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001953/0.4171, allocations: 69.7 kB / 0.562 GB, free: 11.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009391/0.4181, allocations: 0.7514 MB / 0.5628 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008405/0.4189, allocations: 0.7013 MB / 0.5635 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006571/0.4196, allocations: 408.8 kB / 0.5639 GB, free: 9.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4197, allocations: 301.1 kB / 0.5641 GB, free: 9.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.4214, allocations: 0.9651 MB / 0.5651 GB, free: 8.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4235, allocations: 1.524 MB / 0.5666 GB, free: 6.965 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.01434/0.4379, allocations: 6.23 MB / 0.5727 GB, free: 496 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.4379, allocations: 4 kB / 0.5727 GB, free: 492 kB / 430.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008601/0.4465, allocations: 4.124 MB / 0.5767 GB, free: 12.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.553e-05/0.4467, allocations: 63.41 kB / 0.5767 GB, free: 12.25 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.001731/0.4484, allocations: 0.9833 MB / 0.5777 GB, free: 11.27 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated