Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.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.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 111 kB / 16.42 MB, free: 6.527 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.001152/0.001152, allocations: 183.2 kB / 17.35 MB, free: 5.75 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.334/1.334, allocations: 222.9 MB / 241.1 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.08788/0.08788, allocations: 22.32 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.235e-05, allocations: 2.281 kB / 437.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag): time 0.002471/0.002504, allocations: 1.2 MB / 438.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.005025, allocations: 1.35 MB / 440.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.005401, allocations: 8 kB / 440.2 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.006015, allocations: 83.47 kB / 440.3 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.006489, allocations: 103.5 kB / 440.4 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.007045, allocations: 163.7 kB / 440.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007963/0.007851, allocations: 0.5069 MB / 441.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.008071, allocations: 73.06 kB / 441.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.008433, allocations: 179.4 kB / 441.3 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.008783, allocations: 163.3 kB / 441.5 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.968e-05/0.008862, allocations: 20 kB / 441.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.155e-05/0.008932, allocations: 23.94 kB / 441.5 MB, free: 7.949 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000361/0.009299, allocations: 431 kB / 441.9 MB, free: 7.523 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000174/0.009481, allocations: 275.9 kB / 442.2 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.009575, allocations: 31.81 kB / 442.2 MB, free: 7.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.257e-05/0.009633, allocations: 8 kB / 442.2 MB, free: 7.211 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: 35 (33) * Number of variables: 35 (31) Notification: Performance of Bindings: time 0.001414/0.01106, allocations: 1.186 MB / 443.4 MB, free: 5.914 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.926e-05/0.01115, allocations: 39.95 kB / 443.5 MB, free: 5.875 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004795/0.01164, allocations: 459.5 kB / 443.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of simplify1: time 8.263e-05/0.01173, allocations: 63.84 kB / 444 MB, free: 5.34 MB / 318.1 MB Notification: Performance of Alias: time 0.001124/0.01286, allocations: 0.6864 MB / 444.7 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simplify2: time 0.000101/0.01297, allocations: 43.92 kB / 444.7 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002672/0.01325, allocations: 152 kB / 444.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of Events: time 0.0001168/0.01337, allocations: 39.92 kB / 444.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002069/0.01358, allocations: 144.2 kB / 445 MB, free: 4.145 MB / 318.1 MB Notification: Performance of Causalize: time 0.0006593/0.01425, allocations: 479.8 kB / 445.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004129/0.01468, allocations: 388.2 kB / 445.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of Inline: time 0.001201/0.01589, allocations: 0.9002 MB / 446.8 MB, free: 2.332 MB / 318.1 MB Notification: Performance of Partitioning: time 5.843e-05/0.01596, allocations: 46.34 kB / 446.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of Cleanup: time 5.973e-05/0.01602, allocations: 27.97 kB / 446.9 MB, free: 2.254 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {H.bb[2], H.bb[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: H.bb[2:3]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) H.y = (H.bb[2:3] - H.d * H.a[2:3]) / (H.a_end * H.x_scaled) + H.d * d.y ($RES_SIM_13) Error: Internal error NBInitialization.main failed to apply modules!