Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Decoupling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 109.4 kB / 17.15 MB, free: 6.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 203.2 kB / 20.11 MB, free: 3.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.585/1.585, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1026/0.1026, allocations: 24.04 MB / 333.6 MB, free: 1.578 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") translateModel(AES.Coursework.Typical_control_structures.Decoupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Decoupling") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 70.17 kB / 468.9 MB, free: 31.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1276, allocations: 59.55 MB / 0.516 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.004048/0.1317, allocations: 2.011 MB / 0.518 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.1351, allocations: 1.864 MB / 0.5198 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.1353, allocations: 11.94 kB / 0.5198 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007221/0.136, allocations: 178.7 kB / 0.52 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.1366, allocations: 227 kB / 0.5202 GB, free: 7.512 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.1373, allocations: 375.4 kB / 0.5206 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1384, allocations: 1.074 MB / 0.5216 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002591/0.1387, allocations: 105.6 kB / 0.5217 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.1392, allocations: 422.6 kB / 0.5221 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.1399, allocations: 434.2 kB / 0.5225 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.14, allocations: 64 kB / 0.5226 GB, free: 5.055 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.1402, allocations: 95.97 kB / 0.5227 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.1405, allocations: 251.1 kB / 0.5229 GB, free: 4.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003802/0.1409, allocations: 306.1 kB / 0.5232 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008943/0.1418, allocations: 0.7235 MB / 0.5239 GB, free: 3.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1418, allocations: 0 / 0.5239 GB, free: 3.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1418, allocations: 0 / 0.5239 GB, free: 3.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1418, allocations: 0 / 0.5239 GB, free: 3.688 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.003596/0.1454, allocations: 1.234 MB / 0.5251 GB, free: 2.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.052e-05/0.1455, allocations: 12.62 kB / 0.5252 GB, free: 2.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002067/0.1457, allocations: 80.41 kB / 0.5252 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.1476, allocations: 0.7302 MB / 0.5259 GB, free: 1.543 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.1476, allocations: 37.38 kB / 0.526 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.737e-05/0.1477, allocations: 52.25 kB / 0.526 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.1485, allocations: 456.9 kB / 0.5265 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1486, allocations: 0 / 0.5265 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.1486, allocations: 16 kB / 0.5265 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1486, allocations: 8 kB / 0.5265 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/0.1494, allocations: 419.7 kB / 0.5269 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.152, allocations: 1.618 MB / 0.5285 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007712/0.1527, allocations: 464.2 kB / 0.5289 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.1531, allocations: 200.7 kB / 0.5291 GB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.1531, allocations: 7.984 kB / 0.5291 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.1531, allocations: 34.56 kB / 0.5291 GB, free: 14.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 1.452e-06/0.1531, allocations: 0 / 0.5291 GB, free: 14.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.001203/0.1543, allocations: 0.6266 MB / 0.5298 GB, free: 13.53 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.1544, allocations: 55.41 kB / 0.5298 GB, free: 13.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.1562, allocations: 0.8864 MB / 0.5307 GB, free: 12.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.1563, allocations: 33.7 kB / 0.5307 GB, free: 12.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.1565, allocations: 296.8 kB / 0.531 GB, free: 12.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.1567, allocations: 174.5 kB / 0.5312 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.1569, allocations: 134.6 kB / 0.5313 GB, free: 11.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.1571, allocations: 394.6 kB / 0.5317 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006874/0.1578, allocations: 289.8 kB / 0.5319 GB, free: 11.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007994/0.1586, allocations: 413.6 kB / 0.5323 GB, free: 10.8 MB / 398.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.004992/0.1636, allocations: 1.686 MB / 0.534 GB, free: 9.047 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.1636, allocations: 0 / 0.534 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001804/0.1654, allocations: 0.8324 MB / 0.5348 GB, free: 8.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1654, allocations: 4 kB / 0.5348 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1655, allocations: 4 kB / 0.5348 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1655, allocations: 4 kB / 0.5348 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/0.1665, allocations: 212.1 kB / 0.535 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.1665, allocations: 4 kB / 0.535 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009748/0.1674, allocations: 175.4 kB / 0.5352 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.1675, allocations: 27.94 kB / 0.5352 GB, free: 7.785 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: C2.xfb:VARIABLE(fixed = true ) type: Real C1.xfb:VARIABLE(fixed = true ) type: Real Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: D.Fcs2.y = D.Fcs2.y_start D.Fcs1.y = D.Fcs1.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (C2.LOsat,C2.HIsat,C1.LOsat,C1.HIsat,C2.iNoDec,C2.iNoInc,C2.iTS,C1.iNoDec,C1.iNoInc,C1.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004317/0.1679, allocations: 245.5 kB / 0.5354 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.1681, allocations: 67.58 kB / 0.5355 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.1691, allocations: 0.5237 MB / 0.536 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.1691, allocations: 4 kB / 0.536 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1691, allocations: 3.938 kB / 0.536 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1691, allocations: 3.938 kB / 0.536 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007793/0.1699, allocations: 0.5985 MB / 0.5366 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1699, allocations: 0 / 0.5366 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005578/0.1704, allocations: 99.89 kB / 0.5367 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1704, allocations: 0 / 0.5367 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.1705, allocations: 16 kB / 0.5367 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1705, allocations: 0 / 0.5367 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1705, allocations: 3.938 kB / 0.5367 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.1718, allocations: 0.8255 MB / 0.5375 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.172, allocations: 168.6 kB / 0.5377 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.645e-05/0.172, allocations: 16 kB / 0.5377 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.1727, allocations: 83.88 kB / 0.5378 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.1728, allocations: 39.64 kB / 0.5378 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.1728, allocations: 12 kB / 0.5378 GB, free: 4.988 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001555/0.1744, allocations: 0.655 MB / 0.5385 GB, free: 4.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1744, allocations: 0 / 0.5385 GB, free: 4.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005216/0.1749, allocations: 131.8 kB / 0.5386 GB, free: 4.207 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],C1.xfb,C1.xBias,C1.u,C1.csfil,C2.xfb,C2.xBias,C2.u,C2.csfil) * Number of discrete variables: 4 (C1.HIsat,C1.LOsat,C2.HIsat,C2.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000219/0.1751, allocations: 119.2 kB / 0.5387 GB, free: 4.082 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.1764, allocations: 0.5592 MB / 0.5393 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1764, allocations: 4 kB / 0.5393 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.1768, allocations: 227.5 kB / 0.5395 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.1774, allocations: 97.81 kB / 0.5396 GB, free: 3.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.1796, allocations: 1.325 MB / 0.5409 GB, free: 1.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/0.1803, allocations: 0.9528 MB / 0.5418 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.1807, allocations: 108.8 kB / 0.5419 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.1808, allocations: 55.42 kB / 0.542 GB, free: 0.707 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1808, allocations: 0 / 0.542 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Templates: time 0.01411/0.195, allocations: 6.635 MB / 0.5484 GB, free: 10.08 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Decoupling.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Decoupling.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Decoupling.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Decoupling.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Decoupling.sim & ./AES_AES.Coursework.Typical_control_structures.Decoupling -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Decoupling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.241494989022613] Failed to read output from testmodel.py, exit status != 0: 0.20454663783311844 0.22215621499999996 0.07645572399999995 Calling exit ...