Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable.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.Tuning_brushup.MSL_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 111.2 kB / 16.43 MB, free: 6.5 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.001281/0.001281, allocations: 183.8 kB / 17.35 MB, free: 5.754 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08663/0.08663, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.643e-05, allocations: 2.281 kB / 437.6 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_SPtimeTable): time 0.002605/0.002652, allocations: 1.75 MB / 439.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.003832, allocations: 0.6896 MB / 440.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.003936, allocations: 0 / 440.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003469/0.004297, allocations: 67.72 kB / 440.2 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.004492, allocations: 95.62 kB / 440.2 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.004915, allocations: 143.7 kB / 440.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.005278, allocations: 307.2 kB / 440.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.005398, allocations: 37.48 kB / 440.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.005541, allocations: 111.6 kB / 440.8 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.005742, allocations: 111.6 kB / 440.9 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.005784, allocations: 12 kB / 441 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.005926, allocations: 87.92 kB / 441 MB, free: 8.422 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001915/0.006128, allocations: 257.1 kB / 441.3 MB, free: 8.168 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.03e-05/0.006215, allocations: 145.8 kB / 441.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.006266, allocations: 19.94 kB / 441.5 MB, free: 8.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.657e-05/0.006298, allocations: 7.938 kB / 441.5 MB, free: 7.996 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 (19) * Number of variables: 24 (22) Notification: Performance of Bindings: time 0.0007505/0.007053, allocations: 0.7635 MB / 442.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.735e-05/0.007097, allocations: 23.95 kB / 442.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003008/0.007406, allocations: 328.2 kB / 442.6 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simplify1: time 3.496e-05/0.007447, allocations: 23.97 kB / 442.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of Alias: time 0.0006217/0.008075, allocations: 448.1 kB / 443 MB, free: 6.207 MB / 318.1 MB Notification: Performance of simplify2: time 2.6e-05/0.008113, allocations: 23.97 kB / 443.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of Events: time 0.0001383/0.008257, allocations: 59.86 kB / 443.1 MB, free: 6.125 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002159/0.008482, allocations: 136 kB / 443.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001435/0.008637, allocations: 104.1 kB / 443.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of Causalize: time 0.000432/0.009076, allocations: 324.7 kB / 443.7 MB, free: 5.547 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002898/0.009378, allocations: 300.2 kB / 444 MB, free: 5.227 MB / 318.1 MB Notification: Performance of Inline: time 0.0006456/0.01003, allocations: 0.5838 MB / 444.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of Partitioning: time 3.508e-05/0.01008, allocations: 32.12 kB / 444.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of Cleanup: time 4.542e-05/0.01013, allocations: 27.91 kB / 444.6 MB, free: 4.543 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {Process.bb[2], Process.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: Process.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) Process.y = (Process.bb[2:3] - Process.d * Process.a[2:3]) / (Process.a_end * Process.x_scaled) + Process.d * ald.y ($RES_SIM_9) Error: Internal error NBInitialization.main failed to apply modules!