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.001084/0.001084, allocations: 87.58 kB / 20.45 MB, free: 4.125 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.001283/0.001283, allocations: 165 kB / 23.82 MB, free: 0.7578 MB / 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.09/1.09, allocations: 177.1 MB / 204.2 MB, free: 5.656 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.06853/0.06853, allocations: 18.14 MB / 278.9 MB, free: 11.34 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.444e-06/2.444e-06, allocations: 0 / 358.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.668e-05/3.912e-05, allocations: 5.266 kB / 358.1 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.003801/0.00384, allocations: 1.876 MB / 360 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006398/0.00448, allocations: 191.3 kB / 360.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.004612, allocations: 3.938 kB / 360.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.004783, allocations: 39.55 kB / 360.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.004865, allocations: 15.81 kB / 360.2 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.005166, allocations: 91.84 kB / 360.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.005513, allocations: 236.7 kB / 360.6 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.005698, allocations: 52.53 kB / 360.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.005822, allocations: 75.81 kB / 360.7 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.005952, allocations: 63.77 kB / 360.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.005998, allocations: 20 kB / 360.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.211e-05/0.00603, allocations: 24 kB / 360.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.006089, allocations: 55.75 kB / 360.8 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.961e-05/0.006169, allocations: 59.81 kB / 360.9 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.006432, allocations: 143.4 kB / 361 MB, free: 4.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.006436, allocations: 0 / 361 MB, free: 4.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.006438, allocations: 0 / 361 MB, free: 4.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.006e-06/0.006446, allocations: 0 / 361 MB, free: 4.07 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.0008516/0.007297, allocations: 0.5352 MB / 361.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.007349, allocations: 12.92 kB / 361.6 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.007573, allocations: 40.8 kB / 361.6 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.00786, allocations: 184.9 kB / 361.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.953e-05/0.007899, allocations: 20.88 kB / 361.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.007957, allocations: 28.36 kB / 361.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.008371, allocations: 228.5 kB / 362.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.008382, allocations: 192 / 362.1 MB, free: 2.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.008406, allocations: 8.375 kB / 362.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.008419, allocations: 4.375 kB / 362.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.008637, allocations: 112.9 kB / 362.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.01022, allocations: 1.125 MB / 363.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.01049, allocations: 119.1 kB / 363.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.121e-05/0.01058, allocations: 43.67 kB / 363.5 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.01062, allocations: 4 kB / 363.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.01066, allocations: 37.33 kB / 363.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.315e-06/0.01066, allocations: 0 / 363.5 MB, free: 1.402 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004417/0.0111, allocations: 184.5 kB / 363.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.01114, allocations: 51.41 kB / 363.8 MB, free: 1.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01135, allocations: 266.6 kB / 364 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.01138, allocations: 29.7 kB / 364 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.0115, allocations: 211 kB / 364.2 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.01156, allocations: 79.33 kB / 364.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.01166, allocations: 75.34 kB / 364.4 MB, free: 484 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.01181, allocations: 0.4962 MB / 364.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.01189, allocations: 47.97 kB / 364.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.01202, allocations: 175.8 kB / 365.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.01232, allocations: 272.7 kB / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.01232, allocations: 0 / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003146/0.01264, allocations: 273.2 kB / 365.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.01266, allocations: 4 kB / 365.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.01267, allocations: 4 kB / 365.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01268, allocations: 7.938 kB / 365.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.0129, allocations: 79.83 kB / 365.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.01291, allocations: 4 kB / 365.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.013, allocations: 44.16 kB / 365.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.01302, allocations: 11.98 kB / 365.8 MB, free: 14.95 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.0001892/0.01321, allocations: 185.4 kB / 366 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.01325, allocations: 27.86 kB / 366 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.01354, allocations: 184.2 kB / 366.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.01355, allocations: 7.938 kB / 366.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.01355, allocations: 0 / 366.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.01356, allocations: 4 kB / 366.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.01389, allocations: 224.4 kB / 366.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.01389, allocations: 0 / 366.4 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.01408, allocations: 59.91 kB / 366.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.01408, allocations: 4 kB / 366.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.01411, allocations: 7.984 kB / 366.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.01411, allocations: 4 kB / 366.5 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01412, allocations: 3.938 kB / 366.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.01455, allocations: 366.9 kB / 366.9 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.01457, allocations: 27.73 kB / 366.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.0146, allocations: 4 kB / 366.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.01468, allocations: 11.98 kB / 366.9 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.01476, allocations: 27.89 kB / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.01477, allocations: 4 kB / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.444e-05/0.01486, allocations: 177.4 kB / 367.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01486, allocations: 0 / 367.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.0151, allocations: 47.89 kB / 367.1 MB, free: 13.53 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 0.0001358/0.01523, allocations: 103.2 kB / 367.2 MB, free: 13.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.0155, allocations: 163.4 kB / 367.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0155, allocations: 0 / 367.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.217e-05/0.01559, allocations: 80.39 kB / 367.5 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.01585, allocations: 27.98 kB / 367.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.0166, allocations: 498.7 kB / 368 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.018e-05/0.01666, allocations: 80.33 kB / 368.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.548e-05/0.01673, allocations: 30.28 kB / 368.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.0168, allocations: 24.5 kB / 368.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.293e-06/0.0168, allocations: 0 / 368.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of Templates: time 0.004713/0.02151, allocations: 2.059 MB / 370.2 MB, free: 10.44 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: 3.1921925731003284]