Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_basic.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.001369/0.001369, allocations: 114.3 kB / 19.72 MB, free: 2.168 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.001576/0.001576, allocations: 215.3 kB / 23.03 MB, free: 4.969 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8 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.1198/0.1198, allocations: 24.53 MB / 337.7 MB, free: 11.08 MB / 270.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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") [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.002399/0.002399, allocations: 71.89 kB / 476 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3314, allocations: 59.71 MB / 0.5231 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002788/0.3342, allocations: 1.901 MB / 0.525 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004684/0.3346, allocations: 197.6 kB / 0.5251 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3347, allocations: 9.062 kB / 0.5252 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.3349, allocations: 39.28 kB / 0.5252 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.3349, allocations: 15.14 kB / 0.5252 GB, free: 9.293 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.0002873/0.3352, allocations: 99.55 kB / 0.5253 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.3355, allocations: 237.4 kB / 0.5255 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3357, allocations: 44.22 kB / 0.5256 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3358, allocations: 86.58 kB / 0.5257 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3359, allocations: 96.05 kB / 0.5257 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.336, allocations: 19.84 kB / 0.5258 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.536e-05/0.336, allocations: 18.47 kB / 0.5258 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.3361, allocations: 48.44 kB / 0.5258 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.627e-05/0.3362, allocations: 96.48 kB / 0.5259 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.3364, allocations: 197.6 kB / 0.5261 GB, free: 8.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3364, allocations: 1.344 kB / 0.5261 GB, free: 8.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3364, allocations: 0 / 0.5261 GB, free: 8.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3364, allocations: 0 / 0.5261 GB, free: 8.82 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007258/0.3371, allocations: 447.2 kB / 0.5265 GB, free: 8.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3372, allocations: 10.78 kB / 0.5265 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.3372, allocations: 26.39 kB / 0.5266 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.3375, allocations: 188.3 kB / 0.5268 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.3376, allocations: 18.56 kB / 0.5268 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.3376, allocations: 24.97 kB / 0.5268 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.338, allocations: 233.7 kB / 0.527 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.338, allocations: 8.062 kB / 0.527 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.338, allocations: 14.06 kB / 0.527 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.338, allocations: 5.469 kB / 0.527 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.3383, allocations: 153.7 kB / 0.5272 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.3398, allocations: 0.9929 MB / 0.5282 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.3401, allocations: 150.9 kB / 0.5283 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.3402, allocations: 61.23 kB / 0.5284 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.3402, allocations: 2.281 kB / 0.5284 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.3402, allocations: 45.19 kB / 0.5284 GB, free: 7.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.385e-06/0.3402, allocations: 0 / 0.5284 GB, free: 7.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005058/0.3408, allocations: 237.9 kB / 0.5286 GB, free: 7.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.3408, allocations: 54.58 kB / 0.5287 GB, free: 6.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.341, allocations: 211.8 kB / 0.5289 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.341, allocations: 31.75 kB / 0.5289 GB, free: 6.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3411, allocations: 162 kB / 0.5291 GB, free: 6.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.3411, allocations: 80.48 kB / 0.5292 GB, free: 6.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.3412, allocations: 72.19 kB / 0.5292 GB, free: 6.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.3413, allocations: 331.2 kB / 0.5295 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.3414, allocations: 75 kB / 0.5296 GB, free: 6.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3416, allocations: 167.8 kB / 0.5298 GB, free: 6.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.3429, allocations: 459.2 kB / 0.5302 GB, free: 5.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3429, allocations: 1.219 kB / 0.5302 GB, free: 5.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005033/0.3434, allocations: 309.3 kB / 0.5305 GB, free: 5.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3435, allocations: 6.812 kB / 0.5305 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3435, allocations: 3.438 kB / 0.5305 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.3435, allocations: 5.156 kB / 0.5305 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.3438, allocations: 81.34 kB / 0.5306 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3438, allocations: 5.578 kB / 0.5306 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.344, allocations: 43.12 kB / 0.5306 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.344, allocations: 15.59 kB / 0.5307 GB, free: 5.66 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: P_I.y:VARIABLE(flow=false start = P_I.y_start fixed = true ) \"Connector of Real output signal\" type: Real P_E.y:VARIABLE(flow=false start = P_E.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_I.iNoDec,PI_I.iNoInc,PI_I.iTS,PI_E.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001807/0.3442, allocations: 152.6 kB / 0.5308 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.3443, allocations: 24.89 kB / 0.5308 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.3447, allocations: 216.2 kB / 0.531 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3447, allocations: 6.344 kB / 0.531 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3447, allocations: 0 / 0.531 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.3447, allocations: 1.547 kB / 0.531 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.3452, allocations: 284.4 kB / 0.5313 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3452, allocations: 3.938 kB / 0.5313 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003303/0.3455, allocations: 60.28 kB / 0.5314 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3455, allocations: 5.75 kB / 0.5314 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.3455, allocations: 6.953 kB / 0.5314 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3455, allocations: 5.031 kB / 0.5314 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3455, allocations: 5.031 kB / 0.5314 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.346, allocations: 375.2 kB / 0.5317 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.265e-05/0.3461, allocations: 27.08 kB / 0.5318 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.3461, allocations: 6.344 kB / 0.5318 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001559/0.3463, allocations: 11.19 kB / 0.5318 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.3463, allocations: 22.17 kB / 0.5318 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3463, allocations: 6.375 kB / 0.5318 GB, free: 4.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3464, allocations: 146.9 kB / 0.532 GB, free: 4.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3464, allocations: 0 / 0.532 GB, free: 4.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.3468, allocations: 40.25 kB / 0.532 GB, free: 4.777 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 9.562e-05/0.3469, allocations: 108.8 kB / 0.5321 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.3473, allocations: 189.4 kB / 0.5323 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3473, allocations: 4.125 kB / 0.5323 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.3475, allocations: 90.86 kB / 0.5324 GB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3478, allocations: 31.86 kB / 0.5324 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009936/0.3488, allocations: 0.5277 MB / 0.5329 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3491, allocations: 0.7491 MB / 0.5336 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3492, allocations: 31.39 kB / 0.5337 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.3493, allocations: 27.66 kB / 0.5337 GB, free: 3.523 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3493, allocations: 0 / 0.5337 GB, free: 3.523 MB / 382.1 MB Notification: Performance of Templates: time 0.006652/0.3559, allocations: 2.245 MB / 0.5359 GB, free: 3.336 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_basic.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.150916464626789] Failed to read output from testmodel.py, exit status != 0: 0.365333991125226 0.381318898 0.041254950000000006 Calling exit ...