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.0009001/0.0009001, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001009/0.001009, allocations: 177 kB / 24.28 MB, free: 280 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 1.01/1.01, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.06575/0.06575, allocations: 18.14 MB / 279.2 MB, free: 11.39 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 1.913e-06/1.913e-06, allocations: 0 / 358 MB, free: 7.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.596e-05, allocations: 2.312 kB / 358 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002311/0.002337, allocations: 1.863 MB / 359.9 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003706/0.002707, allocations: 191.3 kB / 360.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.002791, allocations: 3.938 kB / 360.1 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.002914, allocations: 39.53 kB / 360.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.401e-05/0.002968, allocations: 15.81 kB / 360.2 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.003156, allocations: 87.86 kB / 360.2 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.003373, allocations: 240.7 kB / 360.5 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.003499, allocations: 52.55 kB / 360.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.003568, allocations: 75.81 kB / 360.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.003658, allocations: 67.77 kB / 360.7 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.00369, allocations: 19.98 kB / 360.7 MB, free: 4.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.964e-05/0.003709, allocations: 20 kB / 360.7 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.699e-05/0.003746, allocations: 51.77 kB / 360.8 MB, free: 4.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.003798, allocations: 59.83 kB / 360.8 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.003958, allocations: 139.4 kB / 360.9 MB, free: 4.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00396, allocations: 0 / 360.9 MB, free: 4.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003961, allocations: 0 / 360.9 MB, free: 4.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.003965, allocations: 0 / 360.9 MB, free: 4.457 MB / 282.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.0005938/0.004559, allocations: 0.5391 MB / 361.5 MB, free: 3.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.004597, allocations: 12.92 kB / 361.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.00466, allocations: 40.8 kB / 361.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.004857, allocations: 184.9 kB / 361.7 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.004887, allocations: 20.88 kB / 361.7 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.004922, allocations: 24.38 kB / 361.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.005208, allocations: 232.4 kB / 362 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005217, allocations: 8.172 kB / 362 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.005233, allocations: 8.375 kB / 362 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.005249, allocations: 4.375 kB / 362 MB, free: 3.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.005391, allocations: 104.9 kB / 362.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.006403, allocations: 1.133 MB / 363.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.006583, allocations: 118.6 kB / 363.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.006644, allocations: 43.67 kB / 363.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.006669, allocations: 7.984 kB / 363.4 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.006691, allocations: 41.33 kB / 363.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.006693, allocations: 0 / 363.5 MB, free: 1.777 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002905/0.006983, allocations: 184.3 kB / 363.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.007013, allocations: 51.41 kB / 363.7 MB, free: 1.531 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.007154, allocations: 262.6 kB / 363.9 MB, free: 1.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.007169, allocations: 29.7 kB / 364 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.198e-05/0.007251, allocations: 207 kB / 364.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.007294, allocations: 83.33 kB / 364.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.499e-05/0.007359, allocations: 71.34 kB / 364.3 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.007473, allocations: 0.504 MB / 364.8 MB, free: 348 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.007541, allocations: 39.97 kB / 364.9 MB, free: 308 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.007663, allocations: 179.8 kB / 365 MB, free: 72 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.007933, allocations: 272.7 kB / 365.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.007936, allocations: 4 kB / 365.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002802/0.008217, allocations: 265.2 kB / 365.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.008229, allocations: 7.5 kB / 365.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.008236, allocations: 8 kB / 365.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.008252, allocations: 7.938 kB / 365.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.008428, allocations: 79.84 kB / 365.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.008436, allocations: 8 kB / 365.7 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.008515, allocations: 35.77 kB / 365.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.00853, allocations: 16 kB / 365.7 MB, free: 15.32 MB / 298.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_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.0001395/0.008669, allocations: 181.5 kB / 365.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.008702, allocations: 31.84 kB / 365.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.008951, allocations: 180.2 kB / 366.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.008955, allocations: 7.938 kB / 366.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008959, allocations: 0 / 366.1 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.008969, allocations: 7.984 kB / 366.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.009232, allocations: 220.4 kB / 366.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009233, allocations: 0 / 366.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.009414, allocations: 63.91 kB / 366.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.009417, allocations: 0 / 366.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.009432, allocations: 8 kB / 366.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.009434, allocations: 0 / 366.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.009436, allocations: 3.938 kB / 366.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.009752, allocations: 370 kB / 366.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.009772, allocations: 23.8 kB / 366.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.009792, allocations: 7.984 kB / 366.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.009862, allocations: 12 kB / 366.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.009925, allocations: 27.89 kB / 366.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.009935, allocations: 4 kB / 366.9 MB, free: 14.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.669e-05/0.01001, allocations: 177.4 kB / 367 MB, free: 13.96 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01001, allocations: 0 / 367 MB, free: 13.96 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002/0.01021, allocations: 51.89 kB / 367.1 MB, free: 13.91 MB / 298.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 7.415e-05/0.01029, allocations: 99.25 kB / 367.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.0105, allocations: 164 kB / 367.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.0105, allocations: 128 / 367.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.01058, allocations: 81.22 kB / 367.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.0108, allocations: 31.92 kB / 367.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.0114, allocations: 490 kB / 367.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.966e-05/0.01145, allocations: 88.31 kB / 368 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.621e-05/0.01151, allocations: 30.28 kB / 368 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.01156, allocations: 28.5 kB / 368.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01156, allocations: 0 / 368.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004019/0.01558, allocations: 2.055 MB / 370.1 MB, free: 10.82 MB / 298.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.9925892108585685]