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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00206/0.00206, allocations: 104.5 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.102/0.102, allocations: 22.69 MB / 325.4 MB, free: 3.547 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.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.00203/0.00203, allocations: 67.89 kB / 457.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 58.02 MB / 0.5036 GB, free: 7.156 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Decoupling): time 0.003641/0.134, allocations: 2.02 MB / 0.5056 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.137, allocations: 1.806 MB / 0.5073 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.1373, allocations: 11.94 kB / 0.5073 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006034/0.1379, allocations: 166.8 kB / 0.5075 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006605/0.1385, allocations: 223 kB / 0.5077 GB, free: 2.91 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.0007183/0.1393, allocations: 383.4 kB / 0.5081 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001233/0.1405, allocations: 1.066 MB / 0.5091 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002574/0.1407, allocations: 114.1 kB / 0.5092 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.1413, allocations: 410.6 kB / 0.5096 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000559/0.1418, allocations: 434.2 kB / 0.51 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.981e-05/0.1419, allocations: 68 kB / 0.5101 GB, free: 468 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.1422, allocations: 95.95 kB / 0.5102 GB, free: 372 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002794/0.1424, allocations: 251.1 kB / 0.5104 GB, free: 120 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2649/0.4073, allocations: 296.9 kB / 0.5107 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.4085, allocations: 0.7243 MB / 0.5114 GB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4085, allocations: 1.781 kB / 0.5114 GB, free: 11.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4085, allocations: 1.906 kB / 0.5114 GB, free: 11.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4086, allocations: 0 / 0.5114 GB, free: 11.84 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.003075/0.4116, allocations: 1.233 MB / 0.5126 GB, free: 11.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.4117, allocations: 9.75 kB / 0.5126 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.4118, allocations: 80.27 kB / 0.5127 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.4133, allocations: 0.7441 MB / 0.5134 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.4134, allocations: 27.12 kB / 0.5135 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.218e-05/0.4134, allocations: 47.34 kB / 0.5135 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.4142, allocations: 450.2 kB / 0.5139 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.4142, allocations: 5.125 kB / 0.5139 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.4142, allocations: 14.97 kB / 0.5139 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4142, allocations: 8.719 kB / 0.514 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006822/0.4149, allocations: 421.9 kB / 0.5144 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.4172, allocations: 1.624 MB / 0.5159 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008474/0.418, allocations: 470.2 kB / 0.5164 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.4184, allocations: 192 kB / 0.5166 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.4185, allocations: 4.844 kB / 0.5166 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4185, allocations: 39.56 kB / 0.5166 GB, free: 10.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.357e-06/0.4185, allocations: 0 / 0.5166 GB, free: 10.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001486/0.42, allocations: 0.6348 MB / 0.5172 GB, free: 9.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.4201, allocations: 56.31 kB / 0.5173 GB, free: 9.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.4222, allocations: 0.8787 MB / 0.5181 GB, free: 9.758 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.4223, allocations: 34.61 kB / 0.5182 GB, free: 9.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.4225, allocations: 296.6 kB / 0.5185 GB, free: 9.598 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.4227, allocations: 172.5 kB / 0.5186 GB, free: 9.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.4229, allocations: 140.4 kB / 0.5188 GB, free: 9.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.423, allocations: 383.5 kB / 0.5191 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.4237, allocations: 289.8 kB / 0.5194 GB, free: 9.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007046/0.4244, allocations: 415.2 kB / 0.5198 GB, free: 8.91 MB / 382.1 MB Error: Initialization problem is structural singular. Please, check the initial conditions. Notification: Performance of analyzeInitialSystem (initialization): time 0.004744/0.4291, allocations: 1.686 MB / 0.5214 GB, free: 8.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.4291, allocations: 1.062 kB / 0.5214 GB, free: 8.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001759/0.4309, allocations: 0.8236 MB / 0.5223 GB, free: 7.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4309, allocations: 5.906 kB / 0.5223 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4309, allocations: 7.375 kB / 0.5223 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/0.4309, allocations: 6.344 kB / 0.5223 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008918/0.4318, allocations: 199.3 kB / 0.5225 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.4318, allocations: 8.125 kB / 0.5225 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.4329, allocations: 174 kB / 0.5226 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/0.4329, allocations: 26.66 kB / 0.5227 GB, free: 7.852 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.0003675/0.4333, allocations: 251.3 kB / 0.5229 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.4334, allocations: 70.42 kB / 0.523 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.4343, allocations: 0.5213 MB / 0.5235 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.4343, allocations: 5.172 kB / 0.5235 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4343, allocations: 1.188 kB / 0.5235 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4343, allocations: 10.05 kB / 0.5235 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.4351, allocations: 0.5936 MB / 0.5241 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4351, allocations: 3.062 kB / 0.5241 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.4356, allocations: 100.5 kB / 0.5242 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4356, allocations: 2.375 kB / 0.5242 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.4357, allocations: 13.92 kB / 0.5242 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4357, allocations: 3.25 kB / 0.5242 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.4357, allocations: 0 / 0.5242 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.4369, allocations: 0.8416 MB / 0.525 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.437, allocations: 162.2 kB / 0.5252 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.4371, allocations: 13.5 kB / 0.5252 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.4377, allocations: 87.11 kB / 0.5253 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.4378, allocations: 43.77 kB / 0.5253 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.4379, allocations: 9.812 kB / 0.5253 GB, free: 6.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00146/0.4393, allocations: 0.6545 MB / 0.526 GB, free: 6.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4393, allocations: 4 kB / 0.526 GB, free: 6.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.4399, allocations: 125.5 kB / 0.5261 GB, free: 6.18 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.0001834/0.44, allocations: 122.5 kB / 0.5262 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.4413, allocations: 0.5565 MB / 0.5267 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4413, allocations: 0 / 0.5267 GB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.4416, allocations: 221.3 kB / 0.5269 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.4422, allocations: 97.98 kB / 0.527 GB, free: 5.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.4442, allocations: 1.326 MB / 0.5283 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.4446, allocations: 0.9519 MB / 0.5293 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.445, allocations: 112.5 kB / 0.5294 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.4451, allocations: 52.53 kB / 0.5294 GB, free: 4.363 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4451, allocations: 0 / 0.5294 GB, free: 4.363 MB / 382.1 MB Notification: Performance of Templates: time 0.01233/0.4575, allocations: 6.654 MB / 0.5359 GB, free: 2.453 MB / 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] [Calling sys.exit(0), Time elapsed: 5.352989819832146]