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.001122/0.001122, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001545/0.001544, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2298/0.2298, allocations: 22.34 MB / 313.4 MB, free: 13.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 8 kB / 381.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 55.97 MB / 437.9 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.007878/0.3497, allocations: 10.88 MB / 448.8 MB, free: 31.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004807/0.3546, allocations: 3.236 MB / 452 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009143/0.3555, allocations: 62.44 kB / 452.1 MB, free: 28.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.3561, allocations: 369.5 kB / 452.4 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.3577, allocations: 1.225 MB / 453.7 MB, free: 27.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3588, allocations: 0.5155 MB / 454.2 MB, free: 27.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004346/0.3632, allocations: 6.195 MB / 460.4 MB, free: 24.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004472/0.3676, allocations: 3.358 MB / 463.7 MB, free: 23.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.3713, allocations: 1.783 MB / 465.5 MB, free: 23.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006581/0.3779, allocations: 2.431 MB / 468 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0018/0.3798, allocations: 269.6 kB / 468.2 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.3828, allocations: 270.7 kB / 468.5 MB, free: 22.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002447/0.3853, allocations: 1.4 MB / 469.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.3878, allocations: 0.8529 MB / 470.7 MB, free: 21.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007365/0.3952, allocations: 6.509 MB / 477.2 MB, free: 17.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3952, allocations: 5.219 kB / 477.2 MB, free: 17.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3953, allocations: 4 kB / 477.3 MB, free: 17.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000233/0.3955, allocations: 0 / 477.3 MB, free: 17.93 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.01211/0.4076, allocations: 4.195 MB / 481.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.4077, allocations: 13.25 kB / 481.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.4104, allocations: 424.4 kB / 481.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005589/0.416, allocations: 2.283 MB / 484.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.4163, allocations: 275.7 kB / 484.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.4173, allocations: 368.8 kB / 484.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008667/0.426, allocations: 4.337 MB / 489.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.4261, allocations: 0 / 489.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/0.4264, allocations: 132 kB / 489.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.4265, allocations: 80 kB / 489.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007061/0.4336, allocations: 3.996 MB / 493.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04192/0.4755, allocations: 20.32 MB / 0.5016 GB, free: 124 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/0.4891, allocations: 5.603 MB / 0.5071 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005372/0.4945, allocations: 2.161 MB / 0.5092 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/0.4951, allocations: 42.16 kB / 0.5092 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.464e-05/0.4952, allocations: 76.67 kB / 0.5093 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002831/0.498, allocations: 243.1 kB / 0.5095 GB, free: 7.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=277): time 1.305e-05/0.498, allocations: 0 / 0.5095 GB, free: 7.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=279): time 0.04142/0.5395, allocations: 17.05 MB / 0.5262 GB, free: 5.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.5396, allocations: 85.61 kB / 0.5263 GB, free: 5.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005297/0.5449, allocations: 1.686 MB / 0.5279 GB, free: 3.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001847/0.5468, allocations: 73.7 kB / 0.528 GB, free: 3.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.5482, allocations: 1.293 MB / 0.5292 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003301/0.5515, allocations: 1.047 MB / 0.5303 GB, free: 1.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001552/0.5531, allocations: 64 kB / 0.5303 GB, free: 1.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0004586/0.5536, allocations: 428.4 kB / 0.5307 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005407/0.559, allocations: 2.145 MB / 0.5328 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005414/0.5644, allocations: 2.28 MB / 0.5351 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006083/0.5705, allocations: 2.401 MB / 0.5374 GB, free: 10.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.5706, allocations: 4 kB / 0.5374 GB, free: 10.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01862/0.5892, allocations: 6.532 MB / 0.5438 GB, free: 3.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.5894, allocations: 202.1 kB / 0.544 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.5895, allocations: 4 kB / 0.544 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006018/0.5955, allocations: 1.88 MB / 0.5458 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004622/0.6001, allocations: 0.7998 MB / 0.5466 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3572/0.9574, allocations: 70.96 MB / 0.6159 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/0.9613, allocations: 202.9 kB / 0.6161 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006286/0.962, allocations: 104 kB / 0.6162 GB, free: 103.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.962, allocations: 2.812 kB / 0.6162 GB, free: 103.6 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.004259/0.9663, allocations: 2.329 MB / 0.6185 GB, free: 102.6 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated