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.001092/0.001092, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001169/0.001169, allocations: 186.5 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.317/1.317, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1637/0.1637, allocations: 37.98 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.001428/0.001428, allocations: 72.47 kB / 374.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.214, allocations: 55.23 MB / 430 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.008249/0.2223, allocations: 11.59 MB / 441.6 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005633/0.2279, allocations: 4.266 MB / 445.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.2291, allocations: 63.56 kB / 445.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.2314, allocations: 1.127 MB / 447 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.2336, allocations: 1.07 MB / 448.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2348, allocations: 0.6435 MB / 448.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003326/0.2382, allocations: 3.798 MB / 452.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.2396, allocations: 0.9845 MB / 453.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.2411, allocations: 0.883 MB / 454.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.2429, allocations: 1.453 MB / 455.8 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002275/0.2432, allocations: 108 kB / 456 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.2445, allocations: 0.6864 MB / 456.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008318/0.2454, allocations: 0.9118 MB / 457.6 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009563/0.2463, allocations: 0.9365 MB / 458.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.2486, allocations: 2.5 MB / 461 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2486, allocations: 0 / 461 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2486, allocations: 0 / 461 MB, free: 4.598 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.526e-05/0.2486, allocations: 0 / 461 MB, free: 4.598 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.00406/0.2527, allocations: 2.321 MB / 463.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.2527, allocations: 8.031 kB / 463.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002808/0.253, allocations: 253.5 kB / 463.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.2547, allocations: 342.2 kB / 463.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.2565, allocations: 1.079 MB / 465 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.65e-05/0.2566, allocations: 126.9 kB / 465.1 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/0.257, allocations: 195.9 kB / 465.3 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003367/0.2604, allocations: 2.469 MB / 467.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.2604, allocations: 7.906 kB / 467.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.2606, allocations: 75.95 kB / 467.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004783/0.2611, allocations: 158.9 kB / 468 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.2643, allocations: 2.174 MB / 470.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.2759, allocations: 9.249 MB / 479.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/0.2784, allocations: 2.128 MB / 481.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.2799, allocations: 1.178 MB / 482.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.033e-05/0.28, allocations: 25.36 kB / 482.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001784/0.2818, allocations: 1.407 MB / 484.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 3.476e-06/0.2819, allocations: 0 / 484.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=213): time 0.01061/0.2925, allocations: 6.869 MB / 491 MB, free: 5.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.2927, allocations: 285.3 kB / 491.3 MB, free: 5.352 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.2938, allocations: 0.9237 MB / 492.2 MB, free: 4.406 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.2939, allocations: 69.69 kB / 492.3 MB, free: 4.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005327/0.2944, allocations: 0.7296 MB / 493 MB, free: 3.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005049/0.295, allocations: 0.6628 MB / 493.7 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005385/0.2955, allocations: 412.6 kB / 494.1 MB, free: 2.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.2956, allocations: 305.1 kB / 494.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.297, allocations: 0.9689 MB / 495.4 MB, free: 1.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.2987, allocations: 1.517 MB / 496.9 MB, free: 15.49 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.01229/0.311, allocations: 6.237 MB / 0.4913 GB, free: 9.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.3111, allocations: 4 kB / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007404/0.3185, allocations: 4.108 MB / 0.4953 GB, free: 4.863 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.3186, allocations: 67.39 kB / 0.4954 GB, free: 4.785 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.001515/0.3201, allocations: 0.9996 MB / 0.4964 GB, free: 3.789 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated