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.000948/0.000948, allocations: 99.67 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 176.8 kB / 16.58 MB, free: 6.422 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.589/1.589, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2935/0.2935, allocations: 22.36 MB / 314.1 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004694, allocations: 8 kB / 383.3 MB, free: 9.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3545, allocations: 55.96 MB / 439.2 MB, free: 39.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Generation.Hcentral_control_case_001): time 0.004956/0.3595, allocations: 5.419 MB / 444.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.3628, allocations: 1.735 MB / 446.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005879/0.3635, allocations: 22.62 kB / 446.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.3638, allocations: 143.2 kB / 446.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008418/0.3647, allocations: 480.8 kB / 447 MB, free: 33.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.3657, allocations: 362.9 kB / 447.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.3695, allocations: 4.288 MB / 451.6 MB, free: 31.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004157/0.3737, allocations: 2.788 MB / 454.4 MB, free: 31.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.3767, allocations: 1.362 MB / 455.8 MB, free: 30.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/0.381, allocations: 2.047 MB / 457.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001593/0.3826, allocations: 244.4 kB / 458.1 MB, free: 30.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.3842, allocations: 274.7 kB / 458.3 MB, free: 30.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.3864, allocations: 1.46 MB / 459.8 MB, free: 29.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002771/0.3891, allocations: 0.6572 MB / 460.5 MB, free: 29.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.3998, allocations: 5.41 MB / 465.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.3999, allocations: 1.156 kB / 465.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3999, allocations: 0 / 465.9 MB, free: 27.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003014/0.4002, allocations: 4 kB / 465.9 MB, free: 27.88 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.0176/0.4178, allocations: 4.329 MB / 470.2 MB, free: 25.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.4179, allocations: 9.312 kB / 470.2 MB, free: 25.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003636/0.4215, allocations: 323.3 kB / 470.5 MB, free: 25.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005921/0.4275, allocations: 1.7 MB / 472.2 MB, free: 24.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.4279, allocations: 249.6 kB / 472.5 MB, free: 23.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/0.4307, allocations: 370.9 kB / 472.8 MB, free: 23.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.4484, allocations: 4.782 MB / 477.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.758e-05/0.4486, allocations: 1.125 kB / 477.6 MB, free: 20.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005668/0.4491, allocations: 120.8 kB / 477.7 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.764e-05/0.4492, allocations: 70.75 kB / 477.8 MB, free: 20.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.4595, allocations: 4.137 MB / 481.9 MB, free: 18.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0349/0.4944, allocations: 19.7 MB / 0.4899 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/0.5119, allocations: 6.954 MB / 0.4967 GB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006027/0.518, allocations: 2.374 MB / 0.499 GB, free: 3.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003972/0.5184, allocations: 46.38 kB / 0.499 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.958e-05/0.5185, allocations: 65.06 kB / 0.4991 GB, free: 3.789 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002413/0.5209, allocations: 233.7 kB / 0.4993 GB, free: 3.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=306): time 6.973e-06/0.521, allocations: 0 / 0.4993 GB, free: 3.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=306): time 0.03172/0.5527, allocations: 11.84 MB / 0.5109 GB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.5529, allocations: 137.2 kB / 0.511 GB, free: 6.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.5556, allocations: 0.9355 MB / 0.5119 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002013/0.5577, allocations: 73.7 kB / 0.512 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.5588, allocations: 0.9062 MB / 0.5129 GB, free: 4.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.004401/0.5632, allocations: 1.24 MB / 0.5141 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002522/0.5658, allocations: 84 kB / 0.5142 GB, free: 3.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0006915/0.5665, allocations: 470.3 kB / 0.5146 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007725/0.5742, allocations: 2.648 MB / 0.5172 GB, free: 320 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007858/0.5821, allocations: 2.997 MB / 0.5201 GB, free: 13.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008268/0.5904, allocations: 3.024 MB / 0.5231 GB, free: 10.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.178e-05/0.5905, allocations: 4 kB / 0.5231 GB, free: 10.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=500) (initialization): time 0.02387/0.6144, allocations: 7.492 MB / 0.5304 GB, free: 2.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003882/0.6148, allocations: 387.3 kB / 0.5308 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/0.6149, allocations: 12 kB / 0.5308 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005838/0.6207, allocations: 1.595 MB / 0.5324 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006974/0.6277, allocations: 1.241 MB / 0.5336 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0539/0.6817, allocations: 52.68 MB / 0.585 GB, free: 5.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005066/0.6868, allocations: 295.3 kB / 0.5853 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009822/0.6878, allocations: 136 kB / 0.5854 GB, free: 5.023 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6878, allocations: 4 kB / 0.5854 GB, free: 5.02 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.006574/0.6944, allocations: 2.775 MB / 0.5881 GB, free: 2.242 MB / 462.1 MB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated