Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Exploiting_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.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") translateModel(AES.Coursework.Tuning_brushup.Exploiting_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Exploiting_2dof") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 104.6 kB / 16.42 MB, free: 6.023 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.001308/0.001308, allocations: 189.4 kB / 17.36 MB, free: 5.59 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09118/0.09118, allocations: 22.32 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.149e-05, allocations: 2.281 kB / 437.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Exploiting_2dof): time 0.002319/0.00235, allocations: 1.297 MB / 439 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.004445, allocations: 1.404 MB / 440.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.004626, allocations: 4 kB / 440.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.005149, allocations: 87.41 kB / 440.4 MB, free: 9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.005557, allocations: 127.4 kB / 440.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.006011, allocations: 203.6 kB / 440.8 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.006761, allocations: 0.5614 MB / 441.3 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.006947, allocations: 76.72 kB / 441.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.007237, allocations: 199.3 kB / 441.6 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.00752, allocations: 175.2 kB / 441.8 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.007607, allocations: 24 kB / 441.8 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.188e-05/0.007675, allocations: 24 kB / 441.8 MB, free: 7.625 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004356/0.008116, allocations: 0.4942 MB / 442.3 MB, free: 7.125 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002357/0.008362, allocations: 319.3 kB / 442.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.008552, allocations: 35.81 kB / 442.7 MB, free: 6.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.034e-05/0.008608, allocations: 11.94 kB / 442.7 MB, free: 6.762 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: 40 (38) * Number of variables: 40 (36) Notification: Performance of Bindings: time 0.001474/0.01009, allocations: 1.35 MB / 444 MB, free: 5.305 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.446e-05/0.01018, allocations: 47.94 kB / 444.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004933/0.01068, allocations: 0.4994 MB / 444.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simplify1: time 7.905e-05/0.01077, allocations: 67.84 kB / 444.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of Alias: time 0.001058/0.01183, allocations: 0.7652 MB / 445.4 MB, free: 3.766 MB / 318.1 MB Notification: Performance of simplify2: time 8.081e-05/0.01192, allocations: 47.92 kB / 445.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of Events: time 9.653e-05/0.01203, allocations: 51.89 kB / 445.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002425/0.01228, allocations: 176.4 kB / 445.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of Partitioning: time 0.000206/0.01249, allocations: 148 kB / 445.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of Causalize: time 0.0006981/0.0132, allocations: 0.5486 MB / 446.4 MB, free: 2.773 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004323/0.01364, allocations: 428.1 kB / 446.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of Inline: time 0.001204/0.01485, allocations: 0.9883 MB / 447.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of Partitioning: time 5.866e-05/0.01492, allocations: 50.34 kB / 447.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of Cleanup: time 6.11e-05/0.01499, allocations: 31.95 kB / 447.8 MB, free: 1.215 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {Process_2.bb[2], Process_2.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: Process_2.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) Process_2.y = (Process_2.bb[2:3] - Process_2.d * Process_2.a[2:3]) / (Process_2.a_end * Process_2.x_scaled) + Process_2.d * ald_2.y ($RES_SIM_13) Error: Internal error NBInitialization.main failed to apply modules!