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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 104.1 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 188.4 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 249.9 MB, free: 13.63 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09993/0.09993, allocations: 22.7 MB / 327.7 MB, free: 2.941 MB / 254.1 MB [Timeout remaining time 90] 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.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: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 63.91 kB / 461 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1055, allocations: 58.02 MB / 0.5069 GB, free: 5.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.003266/0.1087, allocations: 2.018 MB / 0.5088 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.1115, allocations: 1.813 MB / 0.5106 GB, free: 1.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.1117, allocations: 8 kB / 0.5106 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005455/0.1123, allocations: 166.8 kB / 0.5108 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.113, allocations: 227 kB / 0.511 GB, free: 1.461 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.0006896/0.1136, allocations: 383.4 kB / 0.5114 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001162/0.1148, allocations: 1.05 MB / 0.5124 GB, free: 36 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1948/0.3096, allocations: 111.3 kB / 0.5125 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006832/0.3103, allocations: 402.1 kB / 0.5129 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005277/0.3108, allocations: 436.2 kB / 0.5133 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3109, allocations: 69.38 kB / 0.5134 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.3111, allocations: 101.5 kB / 0.5134 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.3114, allocations: 249.7 kB / 0.5137 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.3116, allocations: 301.1 kB / 0.514 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.3122, allocations: 0.7248 MB / 0.5147 GB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3122, allocations: 0.875 kB / 0.5147 GB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3122, allocations: 0.5625 kB / 0.5147 GB, free: 11.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.3123, allocations: 1.312 kB / 0.5147 GB, free: 11.4 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.002815/0.3151, allocations: 1.234 MB / 0.5159 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3151, allocations: 8.969 kB / 0.5159 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3152, allocations: 81.11 kB / 0.516 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.3167, allocations: 0.7385 MB / 0.5167 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.3167, allocations: 30.78 kB / 0.5167 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.3168, allocations: 44.81 kB / 0.5168 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.3176, allocations: 450.7 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3176, allocations: 4.688 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.3177, allocations: 14.44 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3177, allocations: 10.16 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.3184, allocations: 423.3 kB / 0.5176 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.3207, allocations: 1.625 MB / 0.5192 GB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/0.3215, allocations: 470.8 kB / 0.5197 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.3218, allocations: 191.4 kB / 0.5198 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.3218, allocations: 5.312 kB / 0.5199 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3218, allocations: 36.7 kB / 0.5199 GB, free: 9.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 2.655e-06/0.3218, allocations: 0 / 0.5199 GB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001151/0.323, allocations: 0.6287 MB / 0.5205 GB, free: 9.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.323, allocations: 63.03 kB / 0.5206 GB, free: 9.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.3249, allocations: 0.8809 MB / 0.5214 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.3249, allocations: 30.7 kB / 0.5215 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.3251, allocations: 300.8 kB / 0.5217 GB, free: 8.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.3252, allocations: 170.9 kB / 0.5219 GB, free: 8.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.3254, allocations: 142.6 kB / 0.522 GB, free: 8.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3255, allocations: 382.3 kB / 0.5224 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.3262, allocations: 291.3 kB / 0.5227 GB, free: 8.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/0.3269, allocations: 412.1 kB / 0.5231 GB, free: 8.105 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.004509/0.3314, allocations: 1.684 MB / 0.5247 GB, free: 7.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3314, allocations: 2.75 kB / 0.5247 GB, free: 7.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001646/0.333, allocations: 0.8246 MB / 0.5255 GB, free: 7.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3331, allocations: 7.594 kB / 0.5255 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3331, allocations: 10.8 kB / 0.5255 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.3331, allocations: 7.609 kB / 0.5256 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/0.334, allocations: 195.1 kB / 0.5257 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.334, allocations: 8.219 kB / 0.5257 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/0.335, allocations: 173.5 kB / 0.5259 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.335, allocations: 23.62 kB / 0.5259 GB, free: 7.047 MB / 382.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.000334/0.3354, allocations: 251.1 kB / 0.5262 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3355, allocations: 68.19 kB / 0.5262 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009041/0.3364, allocations: 0.5264 MB / 0.5268 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3364, allocations: 3.969 kB / 0.5268 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3364, allocations: 0 / 0.5268 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3364, allocations: 9.312 kB / 0.5268 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/0.3371, allocations: 0.6012 MB / 0.5274 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3371, allocations: 2.719 kB / 0.5274 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.3376, allocations: 93.98 kB / 0.5274 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3376, allocations: 3.688 kB / 0.5274 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.3377, allocations: 15.95 kB / 0.5275 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3377, allocations: 0 / 0.5275 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3377, allocations: 3.75 kB / 0.5275 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.3387, allocations: 0.8321 MB / 0.5283 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.3389, allocations: 162.2 kB / 0.5284 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.468e-05/0.3389, allocations: 13.44 kB / 0.5284 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006417/0.3396, allocations: 92.81 kB / 0.5285 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.3397, allocations: 34.45 kB / 0.5286 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.3397, allocations: 15.98 kB / 0.5286 GB, free: 5.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00139/0.3411, allocations: 0.6484 MB / 0.5292 GB, free: 5.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3411, allocations: 0 / 0.5292 GB, free: 5.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005209/0.3416, allocations: 129.4 kB / 0.5293 GB, free: 5.379 MB / 382.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.0001539/0.3418, allocations: 126.7 kB / 0.5295 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.3429, allocations: 0.5599 MB / 0.53 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3429, allocations: 0 / 0.53 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.3433, allocations: 223 kB / 0.5302 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.3439, allocations: 103.5 kB / 0.5303 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.3457, allocations: 1.372 MB / 0.5317 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.3461, allocations: 0.9499 MB / 0.5326 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.3463, allocations: 50.98 kB / 0.5326 GB, free: 3.543 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3463, allocations: 0 / 0.5326 GB, free: 3.543 MB / 382.1 MB Notification: Performance of Templates: time 0.0117/0.358, allocations: 8.261 MB / 0.5407 GB, free: 228 kB / 382.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]