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 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.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.0008066/0.0008067, allocations: 92.75 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.0008481/0.0008484, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.242/1.242, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1697/0.1697, allocations: 38.05 MB / 310.1 MB, free: 5.906 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.0005053/0.0005054, allocations: 15.98 kB / 377.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1953, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.00719/0.2025, allocations: 11.07 MB / 444.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005526/0.2081, allocations: 4.208 MB / 448.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008904/0.209, allocations: 59.56 kB / 448.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007364/0.2097, allocations: 341.9 kB / 449.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.2116, allocations: 1.063 MB / 450.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2128, allocations: 0.6474 MB / 451 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.2159, allocations: 3.802 MB / 454.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.2182, allocations: 1.496 MB / 456.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.2196, allocations: 0.8361 MB / 457.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.2213, allocations: 1.382 MB / 458.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.2214, allocations: 76 kB / 458.6 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/0.2226, allocations: 0.6824 MB / 459.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007782/0.2234, allocations: 0.8727 MB / 460.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008448/0.2242, allocations: 0.9186 MB / 461 MB, free: 7.043 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.2264, allocations: 2.449 MB / 463.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2265, allocations: 4 kB / 463.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2265, allocations: 0 / 463.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.875e-05/0.2265, allocations: 0 / 463.5 MB, free: 4.582 MB / 334.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.00384/0.2304, allocations: 1.986 MB / 465.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2304, allocations: 8.031 kB / 465.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003099/0.2307, allocations: 253.5 kB / 465.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.2325, allocations: 338.3 kB / 466.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.2343, allocations: 1.087 MB / 467.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.2344, allocations: 122.9 kB / 467.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/0.2348, allocations: 199.9 kB / 467.5 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.2382, allocations: 2.461 MB / 469.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/0.2383, allocations: 11.84 kB / 469.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.2385, allocations: 71.91 kB / 470 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004814/0.2389, allocations: 162.9 kB / 470.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/0.2422, allocations: 2.174 MB / 472.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.2534, allocations: 9.265 MB / 481.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.256, allocations: 2.128 MB / 483.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.2575, allocations: 1.178 MB / 484.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/0.2576, allocations: 17.31 kB / 484.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/0.2594, allocations: 1.407 MB / 486.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 3.287e-06/0.2594, allocations: 4 kB / 486.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=213): time 0.01039/0.2698, allocations: 6.881 MB / 493.2 MB, free: 5.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.27, allocations: 281.3 kB / 493.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.2712, allocations: 0.9236 MB / 494.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.2714, allocations: 69.7 kB / 494.5 MB, free: 4.633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.2719, allocations: 0.7336 MB / 495.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005406/0.2724, allocations: 0.6588 MB / 495.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.2727, allocations: 210.7 kB / 496.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.2728, allocations: 301.1 kB / 496.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.2742, allocations: 0.9651 MB / 497.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.2759, allocations: 1.52 MB / 498.9 MB, free: 16 MB / 382.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.01274/0.2886, allocations: 6.234 MB / 0.4933 GB, free: 9.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-05/0.2887, allocations: 11.94 kB / 0.4933 GB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007664/0.2964, allocations: 4.112 MB / 0.4973 GB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.658e-05/0.2965, allocations: 63.41 kB / 0.4973 GB, free: 5.285 MB / 382.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.001585/0.2981, allocations: 0.9957 MB / 0.4983 GB, free: 4.293 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated