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: "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_substation_001,fileNamePrefix="AES_AES_Devel_test_models_Test_substation_001",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.001404/0.001404, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001988/0.001988, allocations: 177.3 kB / 15.94 MB, free: 228 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.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2236/0.2236, allocations: 22.34 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 381.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2928, allocations: 55.98 MB / 437.9 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.007667/0.3005, allocations: 9.705 MB / 447.6 MB, free: 32.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006075/0.3066, allocations: 3.414 MB / 451 MB, free: 29.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.3085, allocations: 62.91 kB / 451.1 MB, free: 29.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.3094, allocations: 415.1 kB / 451.5 MB, free: 29.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.3119, allocations: 0.9888 MB / 452.5 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.3134, allocations: 0.5041 MB / 453 MB, free: 28.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.3176, allocations: 3.234 MB / 456.2 MB, free: 26.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003787/0.3214, allocations: 3.331 MB / 459.5 MB, free: 25.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.3244, allocations: 1.732 MB / 461.3 MB, free: 24.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002953/0.3273, allocations: 1.855 MB / 463.1 MB, free: 23.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006352/0.328, allocations: 273.2 kB / 463.4 MB, free: 23.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008377/0.3288, allocations: 271.6 kB / 463.7 MB, free: 23.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.3299, allocations: 1.232 MB / 464.9 MB, free: 23.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.3311, allocations: 0.8561 MB / 465.7 MB, free: 23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007298/0.3384, allocations: 6.486 MB / 472.2 MB, free: 20.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3385, allocations: 4 kB / 472.2 MB, free: 20.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3385, allocations: 0 / 472.2 MB, free: 20.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001924/0.3387, allocations: 1.312 kB / 472.2 MB, free: 20.82 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.01285/0.3515, allocations: 4.184 MB / 476.4 MB, free: 18.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3516, allocations: 14.44 kB / 476.4 MB, free: 18.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002276/0.3539, allocations: 464.9 kB / 476.9 MB, free: 17.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.3555, allocations: 428.5 kB / 477.3 MB, free: 17.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.3607, allocations: 2.286 MB / 479.6 MB, free: 16.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.3609, allocations: 276.2 kB / 479.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009831/0.3619, allocations: 360.6 kB / 480.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008019/0.37, allocations: 4.312 MB / 484.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.37, allocations: 1.406 kB / 484.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.3704, allocations: 135.4 kB / 484.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.147e-05/0.3705, allocations: 82.67 kB / 484.7 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006886/0.3774, allocations: 3.982 MB / 488.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03709/0.4145, allocations: 20.33 MB / 0.4971 GB, free: 4.656 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/0.4283, allocations: 5.59 MB / 0.5026 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/0.4288, allocations: 42.22 kB / 0.5026 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.491e-05/0.4288, allocations: 68.69 kB / 0.5027 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002325/0.4312, allocations: 242 kB / 0.5029 GB, free: 14.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=277): time 1.694e-05/0.4312, allocations: 0 / 0.5029 GB, free: 14.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=279): time 0.04194/0.4732, allocations: 17.12 MB / 0.5196 GB, free: 12.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.4733, allocations: 77.61 kB / 0.5197 GB, free: 12.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.4761, allocations: 1.694 MB / 0.5214 GB, free: 10.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006466/0.4767, allocations: 69.7 kB / 0.5214 GB, free: 10.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009469/0.4777, allocations: 1.293 MB / 0.5227 GB, free: 9.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00142/0.4791, allocations: 1.051 MB / 0.5237 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.4795, allocations: 60 kB / 0.5238 GB, free: 7.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.4797, allocations: 428.4 kB / 0.5242 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003679/0.4834, allocations: 2.145 MB / 0.5263 GB, free: 5.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/0.4871, allocations: 2.276 MB / 0.5285 GB, free: 3.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/0.4908, allocations: 2.401 MB / 0.5308 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.4908, allocations: 0 / 0.5308 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01267/0.5035, allocations: 6.532 MB / 0.5372 GB, free: 9.914 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005174/0.5041, allocations: 1.201 MB / 0.5384 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.5041, allocations: 8 kB / 0.5384 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005647/0.5097, allocations: 1.883 MB / 0.5402 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/0.5141, allocations: 0.792 MB / 0.541 GB, free: 5.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3595/0.8736, allocations: 71.59 MB / 0.6109 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/0.8782, allocations: 203.1 kB / 0.6111 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009689/0.8792, allocations: 106.8 kB / 0.6112 GB, free: 108.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.8792, allocations: 2.688 kB / 0.6112 GB, free: 108.2 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.004488/0.8837, allocations: 2.332 MB / 0.6135 GB, free: 107.7 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated