Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009872/0.0009871, allocations: 104.1 kB / 16.42 MB, free: 6.492 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.001111/0.001111, allocations: 189.9 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08655/0.08655, allocations: 22.32 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.423e-05, allocations: 2.281 kB / 437.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001961/0.001996, allocations: 0.9737 MB / 438.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.003525, allocations: 1.194 MB / 439.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.003612, allocations: 0 / 439.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.003919, allocations: 31.78 kB / 439.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.004075, allocations: 47.77 kB / 439.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.004265, allocations: 67.89 kB / 440 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.004541, allocations: 223.5 kB / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.004668, allocations: 41.36 kB / 440.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.004776, allocations: 75.73 kB / 440.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.004926, allocations: 79.67 kB / 440.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.00496, allocations: 8 kB / 440.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.004984, allocations: 8 kB / 440.4 MB, free: 9.066 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001503/0.005138, allocations: 197.7 kB / 440.6 MB, free: 8.871 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.556e-05/0.00521, allocations: 114.2 kB / 440.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.005243, allocations: 11.94 kB / 440.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.753e-05/0.005275, allocations: 7.938 kB / 440.7 MB, free: 8.738 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: 18 (17) * Number of variables: 18 (16) Notification: Performance of Bindings: time 0.0006141/0.005895, allocations: 0.6084 MB / 441.3 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.184e-05/0.005932, allocations: 23.91 kB / 441.3 MB, free: 8.004 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002082/0.006145, allocations: 240.2 kB / 441.6 MB, free: 7.742 MB / 318.1 MB Notification: Performance of simplify1: time 3.753e-05/0.00619, allocations: 23.97 kB / 441.6 MB, free: 7.719 MB / 318.1 MB Notification: Performance of Alias: time 0.0004876/0.006685, allocations: 375.2 kB / 442 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simplify2: time 2.491e-05/0.00672, allocations: 19.98 kB / 442 MB, free: 7.25 MB / 318.1 MB Notification: Performance of Events: time 7.317e-05/0.006799, allocations: 35.95 kB / 442 MB, free: 7.215 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002505/0.007056, allocations: 102.4 kB / 442.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of Partitioning: time 9.599e-05/0.00716, allocations: 75.36 kB / 442.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of Causalize: time 0.000361/0.007528, allocations: 271.9 kB / 442.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001829/0.00772, allocations: 212.2 kB / 442.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of Inline: time 0.0004547/0.008182, allocations: 453.5 kB / 443.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of Partitioning: time 2.802e-05/0.008219, allocations: 20.12 kB / 443.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of Cleanup: time 1.916e-05/0.008244, allocations: 11.98 kB / 443.1 MB, free: 6 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_6) Error: Internal error NBInitialization.main failed to apply modules!