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.0009726/0.0009726, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007593/0.007593, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2014/0.2014, allocations: 22.35 MB / 313.8 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002883, allocations: 8 kB / 382.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2286, allocations: 55.98 MB / 438.7 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_substation_001): time 0.007346/0.236, allocations: 11.64 MB / 450.3 MB, free: 30.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.2395, allocations: 3.249 MB / 453.6 MB, free: 28.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006594/0.2401, allocations: 59.12 kB / 453.6 MB, free: 28.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.2407, allocations: 410.3 kB / 454 MB, free: 28.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.2422, allocations: 1.223 MB / 455.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2433, allocations: 0.8345 MB / 456.1 MB, free: 26.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004189/0.2475, allocations: 7.105 MB / 463.2 MB, free: 23.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003905/0.2514, allocations: 3.686 MB / 466.9 MB, free: 22.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.2534, allocations: 1.797 MB / 468.7 MB, free: 21.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.2562, allocations: 2.452 MB / 471.1 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004872/0.2567, allocations: 270.3 kB / 471.4 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000635/0.2573, allocations: 272.1 kB / 471.7 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.2584, allocations: 1.37 MB / 473 MB, free: 20.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.2603, allocations: 2.179 MB / 475.2 MB, free: 18.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005259/0.2655, allocations: 7.523 MB / 482.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2655, allocations: 0.9688 kB / 482.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2656, allocations: 3.938 kB / 482.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.813e-05/0.2657, allocations: 0 / 482.7 MB, free: 14.71 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.00914/0.2748, allocations: 4.154 MB / 486.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2748, allocations: 12.94 kB / 486.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000585/0.2754, allocations: 461.2 kB / 487.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.2762, allocations: 421.8 kB / 487.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.279, allocations: 2.364 MB / 490.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.2792, allocations: 272.9 kB / 490.4 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005485/0.2797, allocations: 372 kB / 490.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006194/0.2859, allocations: 4.364 MB / 495.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/0.286, allocations: 0 / 495.1 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.2863, allocations: 132 kB / 495.3 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.2864, allocations: 80 kB / 495.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005455/0.2918, allocations: 4.001 MB / 499.3 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02592/0.3178, allocations: 20.34 MB / 0.5075 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01171/0.3295, allocations: 5.612 MB / 0.513 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003081/0.3326, allocations: 2.176 MB / 0.5151 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.3328, allocations: 42.14 kB / 0.5151 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.3328, allocations: 60.75 kB / 0.5152 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001086/0.3339, allocations: 248.6 kB / 0.5154 GB, free: 2.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=277): time 4.288e-06/0.3339, allocations: 0 / 0.5154 GB, free: 2.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=279): time 0.02943/0.3634, allocations: 17.05 MB / 0.5321 GB, free: 156 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.3634, allocations: 81.61 kB / 0.5322 GB, free: 60 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.3657, allocations: 1.71 MB / 0.5338 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.366, allocations: 69.7 kB / 0.5339 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008297/0.3668, allocations: 1.3 MB / 0.5352 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000995/0.3678, allocations: 1.047 MB / 0.5362 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.3682, allocations: 252.1 kB / 0.5364 GB, free: 11.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.61e-05/0.3683, allocations: 305.1 kB / 0.5367 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/0.3716, allocations: 2.153 MB / 0.5388 GB, free: 9.141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/0.3749, allocations: 2.303 MB / 0.5411 GB, free: 6.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03997/0.4149, allocations: 12.22 MB / 0.553 GB, free: 10.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.4149, allocations: 4 kB / 0.553 GB, free: 10.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=393) (initialization): time 0.01252/0.4274, allocations: 6.571 MB / 0.5594 GB, free: 3.719 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.4275, allocations: 186.1 kB / 0.5596 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.4276, allocations: 7.938 kB / 0.5596 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005657/0.4332, allocations: 1.891 MB / 0.5615 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/0.4371, allocations: 0.7919 MB / 0.5622 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2091/0.6463, allocations: 71.04 MB / 0.6316 GB, free: 64.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/0.6495, allocations: 193.6 kB / 0.6318 GB, free: 64.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005551/0.6501, allocations: 108.7 kB / 0.6319 GB, free: 64.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/0.6501, allocations: 3.375 kB / 0.6319 GB, free: 64.64 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.004137/0.6542, allocations: 2.341 MB / 0.6342 GB, free: 63.51 MB / 446.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated