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.0008857/0.0008852, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00667/0.00667, allocations: 168.5 kB / 16.26 MB, free: 6.66 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2461/0.2461, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 8.188 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3197, allocations: 55.98 MB / 438.6 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.00856/0.3283, allocations: 11.64 MB / 450.2 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006599/0.335, allocations: 3.25 MB / 453.5 MB, free: 28.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.3363, allocations: 64.81 kB / 453.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.3371, allocations: 407.4 kB / 453.9 MB, free: 27.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.3392, allocations: 1.224 MB / 455.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.3407, allocations: 0.8283 MB / 456 MB, free: 26.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006512/0.3472, allocations: 7.102 MB / 463.1 MB, free: 23.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005385/0.3526, allocations: 3.695 MB / 466.8 MB, free: 22.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003869/0.3565, allocations: 1.792 MB / 468.6 MB, free: 21.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00459/0.3611, allocations: 2.452 MB / 471 MB, free: 20.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008097/0.362, allocations: 270.2 kB / 471.3 MB, free: 20.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009935/0.363, allocations: 271.3 kB / 471.5 MB, free: 20.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.3643, allocations: 1.371 MB / 472.9 MB, free: 20.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0049/0.3692, allocations: 2.18 MB / 475.1 MB, free: 18.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008632/0.3779, allocations: 7.522 MB / 482.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3779, allocations: 1.219 kB / 482.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3779, allocations: 0 / 482.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001847/0.3781, allocations: 0 / 482.6 MB, free: 14.77 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.01164/0.3898, allocations: 4.155 MB / 486.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.3898, allocations: 14.19 kB / 486.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.3914, allocations: 424.4 kB / 487.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004612/0.396, allocations: 2.356 MB / 489.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.3962, allocations: 284.9 kB / 489.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006747/0.3969, allocations: 368 kB / 490.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007333/0.4042, allocations: 4.364 MB / 494.6 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.793e-05/0.4043, allocations: 4 kB / 494.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003565/0.4047, allocations: 132 kB / 494.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.4047, allocations: 76 kB / 494.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006412/0.4112, allocations: 4.001 MB / 498.8 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03166/0.4428, allocations: 20.34 MB / 0.5069 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.4558, allocations: 5.609 MB / 0.5124 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003931/0.4598, allocations: 2.172 MB / 0.5145 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.46, allocations: 46.23 kB / 0.5146 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/0.46, allocations: 64.69 kB / 0.5146 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002259/0.4623, allocations: 236.6 kB / 0.5149 GB, free: 2.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=277): time 7.674e-06/0.4623, allocations: 0 / 0.5149 GB, free: 2.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=279): time 0.03279/0.4951, allocations: 17.06 MB / 0.5315 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.4952, allocations: 81.61 kB / 0.5316 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.498, allocations: 1.71 MB / 0.5333 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004281/0.4985, allocations: 69.7 kB / 0.5333 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/0.4994, allocations: 1.3 MB / 0.5346 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001326/0.5007, allocations: 1.04 MB / 0.5356 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.5012, allocations: 252.1 kB / 0.5359 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5013, allocations: 305.1 kB / 0.5362 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003371/0.5047, allocations: 2.157 MB / 0.5383 GB, free: 9.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.508, allocations: 2.299 MB / 0.5405 GB, free: 7.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04175/0.5497, allocations: 12.23 MB / 0.5525 GB, free: 10.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.5498, allocations: 0 / 0.5525 GB, free: 10.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01322/0.563, allocations: 6.559 MB / 0.5589 GB, free: 4.246 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.5632, allocations: 202.1 kB / 0.5591 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.5632, allocations: 0 / 0.5591 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005693/0.5689, allocations: 1.899 MB / 0.5609 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/0.5732, allocations: 0.7959 MB / 0.5617 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3089/0.8821, allocations: 71.03 MB / 0.6311 GB, free: 65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004328/0.8865, allocations: 197 kB / 0.6312 GB, free: 64.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006261/0.8871, allocations: 103.4 kB / 0.6313 GB, free: 64.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.8872, allocations: 5.688 kB / 0.6313 GB, free: 64.93 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 replaceHomotopyWithSimplified (initialization): time 0.004121/0.8913, allocations: 2.336 MB / 0.6336 GB, free: 63.79 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated