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.001983/0.001983, allocations: 80.52 kB / 19.95 MB, free: 1.75 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.002258/0.002258, allocations: 168.4 kB / 23.22 MB, free: 4.871 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.489/1.489, allocations: 177.2 MB / 203.6 MB, free: 9.172 MB / 190.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.1196/0.1196, allocations: 18.04 MB / 278.1 MB, free: 15.15 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) 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.002224/0.002224, allocations: 71.89 kB / 416.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3212, allocations: 59.64 MB / 476 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002954/0.3241, allocations: 1.81 MB / 477.8 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004436/0.3246, allocations: 196.1 kB / 478 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.3247, allocations: 10.16 kB / 478 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.3248, allocations: 40.56 kB / 478 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.227e-05/0.3249, allocations: 18 kB / 478 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.3251, allocations: 92.31 kB / 478.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.3254, allocations: 237 kB / 478.4 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3256, allocations: 47.52 kB / 478.4 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3257, allocations: 81.92 kB / 478.5 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3259, allocations: 82.62 kB / 478.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.3259, allocations: 18.75 kB / 478.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.905e-05/0.3259, allocations: 19.53 kB / 478.6 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.326, allocations: 55.2 kB / 478.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.3261, allocations: 77.73 kB / 478.7 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.3263, allocations: 213.4 kB / 478.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3263, allocations: 1.469 kB / 478.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3263, allocations: 0 / 478.9 MB, free: 1.777 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3263, allocations: 0 / 478.9 MB, free: 1.777 MB / 366.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.0008456/0.3272, allocations: 450.6 kB / 479.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3272, allocations: 9.797 kB / 479.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.3273, allocations: 34.64 kB / 479.4 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3276, allocations: 185.7 kB / 479.6 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.212e-05/0.3276, allocations: 18.67 kB / 479.6 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.3277, allocations: 28.31 kB / 479.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.3281, allocations: 237.2 kB / 479.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3281, allocations: 1.281 kB / 479.9 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.3282, allocations: 10.12 kB / 479.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.3282, allocations: 5.188 kB / 479.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.3285, allocations: 156.2 kB / 480.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.33, allocations: 0.9091 MB / 481 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.3303, allocations: 150.4 kB / 481.1 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.3305, allocations: 59.5 kB / 481.2 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.3305, allocations: 6.438 kB / 481.2 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.84e-05/0.3306, allocations: 35.94 kB / 481.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.3306, allocations: 1.25 kB / 481.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.000656/0.3312, allocations: 231.5 kB / 481.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.3313, allocations: 58.47 kB / 481.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.3316, allocations: 207.9 kB / 481.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3316, allocations: 29.7 kB / 481.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.3317, allocations: 160.3 kB / 481.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.923e-05/0.3318, allocations: 81.36 kB / 482 MB, free: 15.35 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3319, allocations: 71.62 kB / 482 MB, free: 15.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3321, allocations: 336.3 kB / 482.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.3323, allocations: 82.2 kB / 482.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.3325, allocations: 173 kB / 482.6 MB, free: 14.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.3339, allocations: 460.8 kB / 483.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3339, allocations: 1.125 kB / 483.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006041/0.3345, allocations: 306.1 kB / 483.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3345, allocations: 10.47 kB / 483.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3345, allocations: 2.406 kB / 483.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.3346, allocations: 5.125 kB / 483.4 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.3349, allocations: 72.72 kB / 483.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.3349, allocations: 8.344 kB / 483.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.3351, allocations: 39.7 kB / 483.5 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.3351, allocations: 10.97 kB / 483.5 MB, free: 14.27 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.0002447/0.3354, allocations: 154.6 kB / 483.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.3354, allocations: 25.86 kB / 483.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.3359, allocations: 224.9 kB / 483.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3359, allocations: 2.531 kB / 483.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3359, allocations: 0 / 483.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3359, allocations: 1.062 kB / 483.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.3364, allocations: 218.8 kB / 484.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3364, allocations: 1.094 kB / 484.1 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.3368, allocations: 61.31 kB / 484.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3368, allocations: 1.125 kB / 484.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.3368, allocations: 10.03 kB / 484.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3368, allocations: 1.125 kB / 484.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3368, allocations: 0 / 484.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.3374, allocations: 376.9 kB / 484.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.3374, allocations: 14.19 kB / 484.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.3375, allocations: 9.031 kB / 484.6 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3376, allocations: 13.64 kB / 484.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.3377, allocations: 18.84 kB / 484.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.3377, allocations: 12.98 kB / 484.6 MB, free: 13.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.3378, allocations: 135.7 kB / 484.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3378, allocations: 0 / 484.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003255/0.3382, allocations: 49.39 kB / 484.8 MB, free: 13.34 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 0.0001736/0.3383, allocations: 114.4 kB / 484.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.3389, allocations: 189.5 kB / 485.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3389, allocations: 4 kB / 485.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.3391, allocations: 92.36 kB / 485.2 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3395, allocations: 26.09 kB / 485.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.3406, allocations: 0.5341 MB / 485.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.3407, allocations: 141 kB / 485.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.3408, allocations: 27.25 kB / 485.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.3409, allocations: 27.91 kB / 485.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3409, allocations: 0 / 485.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Templates: time 0.006338/0.3472, allocations: 2.025 MB / 488 MB, free: 10.82 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 -variableFilter=.* -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: 4.915358826518059] Failed to read output from testmodel.py, exit status != 0: 0.35681781359016895 0.37816374 0.048672372000000005 Calling exit ...