Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Transmission_DoubleRXline",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009724/0.0009725, allocations: 174.3 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.184/1.184, allocations: 205.4 MB / 222.2 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00072/0.0007199, allocations: 88.5 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1593/0.1593, allocations: 38.08 MB / 356.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.0003359, allocations: 12 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2291, allocations: 56.33 MB / 479.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.00827/0.2374, allocations: 10.46 MB / 490.2 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006506/0.244, allocations: 3.972 MB / 494.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.2454, allocations: 57.56 kB / 494.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.2465, allocations: 373.9 kB / 494.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003158/0.2497, allocations: 1.135 MB / 495.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.2518, allocations: 0.6626 MB / 496.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004311/0.2561, allocations: 2.96 MB / 499.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002649/0.2588, allocations: 1.474 MB / 0.4891 GB, free: 12.17 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.2607, allocations: 0.8621 MB / 0.4899 GB, free: 11.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.2629, allocations: 1.355 MB / 0.4912 GB, free: 11.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.2632, allocations: 78.97 kB / 0.4913 GB, free: 11.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.2647, allocations: 0.6763 MB / 0.492 GB, free: 10.71 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009454/0.2657, allocations: 0.8829 MB / 0.4928 GB, free: 10.2 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.2668, allocations: 0.8788 MB / 0.4937 GB, free: 9.621 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.2688, allocations: 1.926 MB / 0.4956 GB, free: 8.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2689, allocations: 0 / 0.4956 GB, free: 8.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2689, allocations: 0 / 0.4956 GB, free: 8.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.639e-05/0.2689, allocations: 0 / 0.4956 GB, free: 8.367 MB / 330.7 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.004049/0.273, allocations: 1.987 MB / 0.4975 GB, free: 6.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.273, allocations: 9.875 kB / 0.4975 GB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003519/0.2734, allocations: 249.3 kB / 0.4978 GB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.2751, allocations: 342.2 kB / 0.4981 GB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.277, allocations: 1.08 MB / 0.4992 GB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2771, allocations: 124.9 kB / 0.4993 GB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004123/0.2775, allocations: 203.6 kB / 0.4995 GB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.2812, allocations: 2.452 MB / 0.5019 GB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/0.2813, allocations: 4 kB / 0.5019 GB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.2814, allocations: 71.97 kB / 0.5019 GB, free: 3.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004897/0.2819, allocations: 162.8 kB / 0.5021 GB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/0.2851, allocations: 2.159 MB / 0.5042 GB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.2971, allocations: 9.277 MB / 0.5133 GB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002378/0.2995, allocations: 2.125 MB / 0.5153 GB, free: 5.523 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.3011, allocations: 1.174 MB / 0.5165 GB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/0.3012, allocations: 21.38 kB / 0.5165 GB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/0.3029, allocations: 1.403 MB / 0.5179 GB, free: 2.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=205): time 3.497e-06/0.3029, allocations: 0 / 0.5179 GB, free: 2.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=213): time 0.01024/0.3132, allocations: 6.859 MB / 0.5246 GB, free: 11.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.3133, allocations: 273.3 kB / 0.5248 GB, free: 11.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3144, allocations: 0.9196 MB / 0.5257 GB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.3145, allocations: 77.67 kB / 0.5258 GB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004988/0.315, allocations: 0.7296 MB / 0.5265 GB, free: 9.832 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.3155, allocations: 0.6627 MB / 0.5272 GB, free: 9.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3156, allocations: 48 kB / 0.5272 GB, free: 9.113 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3158, allocations: 403 kB / 0.5276 GB, free: 8.715 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.3171, allocations: 0.9611 MB / 0.5285 GB, free: 7.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.3188, allocations: 1.501 MB / 0.53 GB, free: 6.023 MB / 362.7 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.01241/0.3312, allocations: 6.179 MB / 0.536 GB, free: 15.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.3312, allocations: 4 kB / 0.536 GB, free: 15.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01033/0.3416, allocations: 4.069 MB / 0.54 GB, free: 11.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.3417, allocations: 67.55 kB / 0.5401 GB, free: 11.41 MB / 378.7 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.002018/0.3437, allocations: 0.9801 MB / 0.541 GB, free: 10.44 MB / 378.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated