Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_substation_001.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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: translateModel(AES.Devel_test_models.Test_substation_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_substation_001") translateModel(AES.Devel_test_models.Test_substation_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_substation_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008267/0.0008266, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 177.2 kB / 16.58 MB, free: 6.879 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.512/1.512, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2636/0.2636, allocations: 22.34 MB / 314.1 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003491, allocations: 8 kB / 382.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4187, allocations: 55.97 MB / 438.5 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.009211/0.4279, allocations: 10.89 MB / 449.4 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00736/0.4353, allocations: 3.22 MB / 452.7 MB, free: 29.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002322/0.4377, allocations: 65.44 kB / 452.7 MB, free: 28.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009082/0.4386, allocations: 378.3 kB / 453.1 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003175/0.4418, allocations: 1.22 MB / 454.3 MB, free: 28.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.4435, allocations: 0.5126 MB / 454.8 MB, free: 27.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006614/0.4501, allocations: 6.209 MB / 461 MB, free: 25.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005434/0.4556, allocations: 3.349 MB / 464.4 MB, free: 23.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004741/0.4604, allocations: 1.786 MB / 466.2 MB, free: 23.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006222/0.4666, allocations: 2.437 MB / 468.6 MB, free: 22.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001749/0.4684, allocations: 270.4 kB / 468.9 MB, free: 22.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.4707, allocations: 275.5 kB / 469.1 MB, free: 22.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00217/0.4729, allocations: 1.399 MB / 470.5 MB, free: 21.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00259/0.4755, allocations: 0.853 MB / 471.4 MB, free: 21.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00958/0.4851, allocations: 6.506 MB / 477.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.4851, allocations: 0 / 477.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.4851, allocations: 1.344 kB / 477.9 MB, free: 18.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000288/0.4854, allocations: 0 / 477.9 MB, free: 18.12 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01496/0.5004, allocations: 4.198 MB / 482.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.5005, allocations: 9 kB / 482.1 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.5034, allocations: 424 kB / 482.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006053/0.5095, allocations: 2.287 MB / 484.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.5098, allocations: 279.7 kB / 485.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.5118, allocations: 365.1 kB / 485.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.5221, allocations: 4.336 MB / 489.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-05/0.5222, allocations: 4 kB / 489.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003719/0.5226, allocations: 136 kB / 489.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.5227, allocations: 80 kB / 490 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007721/0.5304, allocations: 3.981 MB / 494 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04874/0.5792, allocations: 20.33 MB / 0.5022 GB, free: 92 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/0.5943, allocations: 5.593 MB / 0.5077 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005742/0.6001, allocations: 2.165 MB / 0.5098 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.6007, allocations: 38.23 kB / 0.5099 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.6009, allocations: 68.75 kB / 0.5099 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003549/0.6044, allocations: 251 kB / 0.5102 GB, free: 7.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=277): time 2.024e-05/0.6045, allocations: 0 / 0.5102 GB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=279): time 0.04424/0.6487, allocations: 17.07 MB / 0.5268 GB, free: 5.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.6489, allocations: 81.61 kB / 0.5269 GB, free: 5.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004216/0.6531, allocations: 1.686 MB / 0.5285 GB, free: 3.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001017/0.6541, allocations: 69.7 kB / 0.5286 GB, free: 3.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.6554, allocations: 1.293 MB / 0.5299 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002668/0.6581, allocations: 1.047 MB / 0.5309 GB, free: 1.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001019/0.6591, allocations: 64 kB / 0.531 GB, free: 1.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004584/0.6596, allocations: 432.4 kB / 0.5314 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005207/0.6648, allocations: 2.145 MB / 0.5335 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005032/0.6699, allocations: 2.279 MB / 0.5357 GB, free: 12.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005223/0.6751, allocations: 2.394 MB / 0.538 GB, free: 10.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.6752, allocations: 0 / 0.538 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01768/0.6929, allocations: 6.544 MB / 0.5444 GB, free: 3.289 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.6931, allocations: 190.2 kB / 0.5446 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.6931, allocations: 11.92 kB / 0.5446 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00604/0.6992, allocations: 1.883 MB / 0.5465 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004844/0.7041, allocations: 0.7959 MB / 0.5472 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.354/1.058, allocations: 70.96 MB / 0.6165 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/1.062, allocations: 200.5 kB / 0.6167 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006716/1.063, allocations: 107.1 kB / 0.6168 GB, free: 103.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/1.063, allocations: 5.188 kB / 0.6168 GB, free: 103.9 MB / 462.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 replaceHomotopyWithSimplified (initialization): time 0.00432/1.067, allocations: 2.329 MB / 0.6191 GB, free: 102.8 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated