Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_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.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") translateModel(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Generation.Hcentral_control_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, 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.001951/0.001952, 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.492/1.492, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2456/0.2456, allocations: 22.33 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 12 kB / 382.5 MB, free: 9.898 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3691, allocations: 55.97 MB / 438.5 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001): time 0.004188/0.3733, allocations: 4.973 MB / 443.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.3765, allocations: 1.804 MB / 445.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.3771, allocations: 25.34 kB / 445.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.3775, allocations: 156.5 kB / 445.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008047/0.3783, allocations: 408 kB / 445.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009484/0.3792, allocations: 341.7 kB / 446.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.3815, allocations: 2.535 MB / 448.7 MB, free: 32.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.3847, allocations: 2.786 MB / 451.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.3866, allocations: 1.344 MB / 452.8 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.3889, allocations: 1.616 MB / 454.4 MB, free: 31.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006137/0.3895, allocations: 244.2 kB / 454.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.3901, allocations: 267.8 kB / 454.9 MB, free: 31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009665/0.3911, allocations: 1.253 MB / 456.2 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.3922, allocations: 0.661 MB / 456.9 MB, free: 30.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006883/0.3991, allocations: 5.387 MB / 462.2 MB, free: 29.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3991, allocations: 0 / 462.2 MB, free: 29.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3991, allocations: 11.88 kB / 462.3 MB, free: 29.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002237/0.3994, allocations: 1.094 kB / 462.3 MB, free: 29.25 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: 754 * Number of variables: 754 Notification: Performance of Generate backend data structure: time 0.01651/0.4159, allocations: 4.325 MB / 466.6 MB, free: 26.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4159, allocations: 9.5 kB / 466.6 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.4181, allocations: 328.5 kB / 466.9 MB, free: 26.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004672/0.4228, allocations: 1.695 MB / 468.6 MB, free: 25.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002267/0.423, allocations: 253.8 kB / 468.9 MB, free: 25.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.4245, allocations: 359.1 kB / 469.2 MB, free: 25.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0099/0.4344, allocations: 4.771 MB / 474 MB, free: 22.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.765e-05/0.4345, allocations: 0 / 474 MB, free: 22.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/0.4349, allocations: 116.5 kB / 474.1 MB, free: 22.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.75e-05/0.435, allocations: 71 kB / 474.2 MB, free: 22.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009244/0.4442, allocations: 4.131 MB / 478.3 MB, free: 20.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03655/0.4808, allocations: 19.71 MB / 498 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0191/0.5, allocations: 6.97 MB / 0.4931 GB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/0.5006, allocations: 42.38 kB / 0.4932 GB, free: 9.203 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.235e-05/0.5007, allocations: 64.97 kB / 0.4932 GB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002621/0.5033, allocations: 229.7 kB / 0.4935 GB, free: 8.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=306): time 1.026e-05/0.5033, allocations: 0 / 0.4935 GB, free: 8.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=306): time 0.03056/0.5339, allocations: 11.89 MB / 0.5051 GB, free: 12.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.534, allocations: 133.2 kB / 0.5052 GB, free: 11.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.5356, allocations: 0.9316 MB / 0.5061 GB, free: 11.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001057/0.5367, allocations: 77.7 kB / 0.5062 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/0.5374, allocations: 0.9101 MB / 0.5071 GB, free: 10.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002501/0.5399, allocations: 1.236 MB / 0.5083 GB, free: 8.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.5412, allocations: 79.94 kB / 0.5084 GB, free: 8.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005688/0.5418, allocations: 474.3 kB / 0.5088 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005824/0.5476, allocations: 2.652 MB / 0.5114 GB, free: 5.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005891/0.5535, allocations: 2.981 MB / 0.5143 GB, free: 2.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006231/0.5598, allocations: 3.02 MB / 0.5173 GB, free: 15.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.5598, allocations: 4 kB / 0.5173 GB, free: 15.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.01949/0.5793, allocations: 7.492 MB / 0.5246 GB, free: 7.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001621/0.581, allocations: 3.682 MB / 0.5282 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-05/0.581, allocations: 15.94 kB / 0.5282 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005869/0.5869, allocations: 1.591 MB / 0.5297 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007659/0.5946, allocations: 1.237 MB / 0.531 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04179/0.6364, allocations: 53.08 MB / 0.5828 GB, free: 6.848 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004105/0.6406, allocations: 303.3 kB / 0.5831 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/0.642, allocations: 136 kB / 0.5832 GB, free: 6.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6421, allocations: 4 kB / 0.5832 GB, free: 6.414 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.008019/0.6501, allocations: 2.775 MB / 0.5859 GB, free: 3.637 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated