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.001088/0.001088, allocations: 73.98 kB / 20.67 MB, free: 3.828 MB / 18.57 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.001173/0.001173, allocations: 181 kB / 24.08 MB, free: 428 kB / 18.57 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 0.9941/0.9941, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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.06444/0.06444, allocations: 18.14 MB / 279.2 MB, free: 11.16 MB / 266.7 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.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: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 358.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.22e-05/3.458e-05, allocations: 6.312 kB / 358.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.003012/0.003046, allocations: 1.852 MB / 360.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004327/0.003479, allocations: 191.3 kB / 360.6 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.003578, allocations: 3.938 kB / 360.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.003703, allocations: 43.55 kB / 360.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.003765, allocations: 11.81 kB / 360.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002068/0.003972, allocations: 95.84 kB / 360.8 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.00421, allocations: 240.7 kB / 361 MB, free: 5.297 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.004359, allocations: 40.56 kB / 361.1 MB, free: 5.258 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004462, allocations: 75.81 kB / 361.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.004563, allocations: 63.77 kB / 361.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.004598, allocations: 24 kB / 361.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.467e-05/0.004622, allocations: 20 kB / 361.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.004666, allocations: 51.77 kB / 361.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.004728, allocations: 63.8 kB / 361.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.0049, allocations: 147.4 kB / 361.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.004903, allocations: 0 / 361.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004903, allocations: 0 / 361.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004907, allocations: 3.938 kB / 361.5 MB, free: 4.816 MB / 330.7 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.0006361/0.005544, allocations: 0.5352 MB / 362 MB, free: 4.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.005582, allocations: 8.922 kB / 362 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.005644, allocations: 40.8 kB / 362.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.005845, allocations: 188.9 kB / 362.3 MB, free: 3.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.005875, allocations: 20.88 kB / 362.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.005915, allocations: 28.36 kB / 362.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.006209, allocations: 216.4 kB / 362.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.00622, allocations: 192 / 362.5 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.006236, allocations: 4.375 kB / 362.5 MB, free: 3.684 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.006246, allocations: 12.38 kB / 362.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.00637, allocations: 84.91 kB / 362.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.007535, allocations: 1.099 MB / 363.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.007733, allocations: 105.4 kB / 363.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.007798, allocations: 39.67 kB / 363.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.007826, allocations: 7.984 kB / 363.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.007855, allocations: 41.33 kB / 363.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.007856, allocations: 0 / 363.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003164/0.008173, allocations: 168.6 kB / 364.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.008204, allocations: 51.41 kB / 364.1 MB, free: 2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.008376, allocations: 262.6 kB / 364.4 MB, free: 1.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.008397, allocations: 33.7 kB / 364.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.008499, allocations: 195 kB / 364.6 MB, free: 1.492 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.985e-05/0.008559, allocations: 83.31 kB / 364.7 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.008659, allocations: 79.25 kB / 364.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.008819, allocations: 0.5156 MB / 365.3 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.008896, allocations: 31.97 kB / 365.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.009038, allocations: 163.8 kB / 365.5 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.00933, allocations: 257.2 kB / 365.7 MB, free: 252 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.009333, allocations: 0 / 365.7 MB, free: 252 kB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003326/0.009666, allocations: 241.2 kB / 366 MB, free: 4 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.009682, allocations: 6.031 kB / 366 MB, free: 0 / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.009707, allocations: 7.984 kB / 366 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.009723, allocations: 7.938 kB / 366 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.009987, allocations: 76.28 kB / 366.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.009997, allocations: 15.94 kB / 366.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.01012, allocations: 35.77 kB / 366.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01014, allocations: 12 kB / 366.1 MB, free: 15.85 MB / 346.7 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_E.iTS,PI_I.iTS,PI_I.iNoInc,PI_I.iNoDec) * 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.0001506/0.01029, allocations: 180.4 kB / 366.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.01033, allocations: 27.86 kB / 366.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.01058, allocations: 173.8 kB / 366.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01059, allocations: 8 kB / 366.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.01059, allocations: 7.938 kB / 366.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.0106, allocations: 0 / 366.5 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.0109, allocations: 193.1 kB / 366.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.0109, allocations: 3.938 kB / 366.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002064/0.01111, allocations: 55.91 kB / 366.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.01111, allocations: 4 kB / 366.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.01113, allocations: 7.984 kB / 366.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01113, allocations: 0 / 366.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01113, allocations: 0 / 366.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.01146, allocations: 370.2 kB / 367.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.01148, allocations: 15.84 kB / 367.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.0115, allocations: 8 kB / 367.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.315e-05/0.0116, allocations: 11.98 kB / 367.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.01165, allocations: 19.97 kB / 367.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.01166, allocations: 11.98 kB / 367.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.328e-05/0.01173, allocations: 165.4 kB / 367.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01173, allocations: 0 / 367.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.012, allocations: 51.83 kB / 367.4 MB, free: 14.5 MB / 346.7 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.102e-05/0.01209, allocations: 107.2 kB / 367.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.0123, allocations: 139.4 kB / 367.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.0123, allocations: 0 / 367.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.315e-05/0.01238, allocations: 67.58 kB / 367.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.01264, allocations: 31.48 kB / 367.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.01329, allocations: 494 kB / 368.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.605e-05/0.01335, allocations: 84.31 kB / 368.3 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.154e-05/0.01343, allocations: 26.28 kB / 368.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.01353, allocations: 102.2 kB / 368.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01353, allocations: 0 / 368.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of Templates: time 0.005058/0.01859, allocations: 2.245 MB / 370.7 MB, free: 11.18 MB / 346.7 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 -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9217051998712122]