Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.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.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 110 kB / 16.42 MB, free: 6.512 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.001289/0.001289, allocations: 183.2 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08615/0.08615, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.343e-05, allocations: 2.281 kB / 437.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.002141/0.002173, allocations: 1.119 MB / 438.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.003819, allocations: 1.315 MB / 440.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.395e-05/0.003904, allocations: 0 / 440.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.004259, allocations: 67.55 kB / 440.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.004482, allocations: 83.66 kB / 440.2 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.00475, allocations: 135.7 kB / 440.4 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.005244, allocations: 423.2 kB / 440.8 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.005385, allocations: 64.3 kB / 440.9 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.005556, allocations: 139.6 kB / 441 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.005747, allocations: 131.4 kB / 441.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.005809, allocations: 20 kB / 441.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.00585, allocations: 16 kB / 441.2 MB, free: 8.344 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002709/0.006125, allocations: 363.8 kB / 441.5 MB, free: 7.984 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001296/0.006261, allocations: 220.7 kB / 441.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.006309, allocations: 31.88 kB / 441.8 MB, free: 7.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.86e-05/0.006342, allocations: 4 kB / 441.8 MB, free: 7.73 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: 33 (30) * Number of variables: 33 (27) Notification: Performance of Bindings: time 0.0009494/0.007296, allocations: 0.9932 MB / 442.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of FunctionAlias: time 4.482e-05/0.007347, allocations: 39.89 kB / 442.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003949/0.007748, allocations: 415.9 kB / 443.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simplify1: time 5.365e-05/0.007809, allocations: 43.94 kB / 443.2 MB, free: 6.113 MB / 318.1 MB Notification: Performance of Alias: time 0.0007313/0.008547, allocations: 0.5777 MB / 443.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of simplify2: time 5.208e-05/0.008609, allocations: 47.94 kB / 443.9 MB, free: 5.379 MB / 318.1 MB Notification: Performance of Events: time 7.802e-05/0.008693, allocations: 39.89 kB / 443.9 MB, free: 5.34 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001852/0.008885, allocations: 152 kB / 444 MB, free: 5.176 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001367/0.00903, allocations: 130.1 kB / 444.2 MB, free: 5.043 MB / 318.1 MB Notification: Performance of Causalize: time 0.000605/0.009641, allocations: 485.7 kB / 444.7 MB, free: 4.566 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003415/0.009992, allocations: 360.1 kB / 445 MB, free: 4.188 MB / 318.1 MB Notification: Performance of Inline: time 0.0007202/0.01072, allocations: 0.7502 MB / 445.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of Partitioning: time 5.093e-05/0.01078, allocations: 54.17 kB / 445.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of Cleanup: time 2.554e-05/0.01081, allocations: 27.95 kB / 445.8 MB, free: 3.316 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {M.bb[2], M.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: M.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) M.y = (M.bb[2:3] - M.d * M.a[2:3]) / (M.a_end * M.x_scaled) + M.d * ald.u2 ($RES_SIM_6) Error: Internal error NBInitialization.main failed to apply modules!