Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.0009778/0.0009778, 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.001018/0.001018, allocations: 169.3 kB / 23.82 MB, free: 0.7539 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.013/1.013, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.09483/0.09483, allocations: 18.14 MB / 278.9 MB, free: 11.33 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_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 358.1 MB, free: 8.059 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.876e-05, allocations: 6.312 kB / 358.1 MB, free: 8.051 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.002651/0.00268, allocations: 1.868 MB / 360 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004169/0.003097, allocations: 195.3 kB / 360.2 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.003199, allocations: 3.938 kB / 360.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.003332, allocations: 39.55 kB / 360.2 MB, free: 5.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.003396, allocations: 19.8 kB / 360.2 MB, free: 5.914 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.003604, allocations: 87.86 kB / 360.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.003835, allocations: 244.7 kB / 360.6 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.00396, allocations: 40.56 kB / 360.6 MB, free: 5.551 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.738e-05/0.004048, allocations: 79.8 kB / 360.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.824e-05/0.004146, allocations: 63.78 kB / 360.8 MB, free: 5.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.00418, allocations: 24 kB / 360.8 MB, free: 5.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.092e-05/0.004201, allocations: 16 kB / 360.8 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.004239, allocations: 59.73 kB / 360.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.00429, allocations: 59.83 kB / 360.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.004453, allocations: 139.4 kB / 361 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.004456, allocations: 0 / 361 MB, free: 5.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.004457, allocations: 0 / 361 MB, free: 5.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.004463, allocations: 0 / 361 MB, free: 5.117 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.0006122/0.005075, allocations: 0.543 MB / 361.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.005122, allocations: 8.922 kB / 361.6 MB, free: 4.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.005198, allocations: 40.8 kB / 361.6 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.005423, allocations: 192.9 kB / 361.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.005459, allocations: 16.88 kB / 361.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.005503, allocations: 24.38 kB / 361.9 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.005842, allocations: 232.5 kB / 362.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.005854, allocations: 192 / 362.1 MB, free: 3.969 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.005875, allocations: 12.38 kB / 362.1 MB, free: 3.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.005888, allocations: 4.375 kB / 362.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.006034, allocations: 104.9 kB / 362.2 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.007229, allocations: 1.129 MB / 363.3 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.007455, allocations: 111.1 kB / 363.4 MB, free: 2.547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.007527, allocations: 47.67 kB / 363.5 MB, free: 2.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.007558, allocations: 4 kB / 363.5 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.007588, allocations: 37.38 kB / 363.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.355e-06/0.00759, allocations: 0 / 363.5 MB, free: 2.445 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.000322/0.007912, allocations: 185.8 kB / 363.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.007943, allocations: 59.41 kB / 363.8 MB, free: 2.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.008097, allocations: 258.7 kB / 364 MB, free: 1.918 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.008114, allocations: 25.7 kB / 364.1 MB, free: 1.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.008202, allocations: 211 kB / 364.3 MB, free: 1.676 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/0.008244, allocations: 79.33 kB / 364.3 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.008322, allocations: 79.3 kB / 364.4 MB, free: 1.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.008444, allocations: 0.5001 MB / 364.9 MB, free: 1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.00852, allocations: 43.97 kB / 365 MB, free: 0.957 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.008641, allocations: 171.8 kB / 365.1 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.008918, allocations: 277.2 kB / 365.4 MB, free: 420 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008921, allocations: 4 kB / 365.4 MB, free: 416 kB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002907/0.009212, allocations: 261.2 kB / 365.7 MB, free: 148 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.00923, allocations: 11.98 kB / 365.7 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.009236, allocations: 4 kB / 365.7 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.009254, allocations: 8.312 kB / 365.7 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.009447, allocations: 83.84 kB / 365.8 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.009455, allocations: 4 kB / 365.8 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.009538, allocations: 35.77 kB / 365.8 MB, free: 0 / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.009567, allocations: 16.05 kB / 365.8 MB, free: 15.98 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_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.0001463/0.009714, allocations: 180.3 kB / 366 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.00975, allocations: 27.8 kB / 366 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002479/0.009998, allocations: 191.3 kB / 366.2 MB, free: 15.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01, allocations: 3.938 kB / 366.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01001, allocations: 0 / 366.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01001, allocations: 4 kB / 366.2 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.01028, allocations: 228.4 kB / 366.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.01029, allocations: 0 / 366.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.01046, allocations: 59.91 kB / 366.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01046, allocations: 4 kB / 366.5 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.01048, allocations: 8 kB / 366.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01048, allocations: 0 / 366.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.01049, allocations: 11.94 kB / 366.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.01081, allocations: 367.6 kB / 366.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.01083, allocations: 15.84 kB / 366.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.01085, allocations: 8 kB / 366.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.01093, allocations: 11.98 kB / 366.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.011, allocations: 31.83 kB / 366.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.01101, allocations: 8 kB / 366.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.01108, allocations: 173.4 kB / 367.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01108, allocations: 4 kB / 367.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002056/0.01129, allocations: 47.89 kB / 367.2 MB, free: 14.56 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.954e-05/0.01139, allocations: 111.2 kB / 367.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.01163, allocations: 159.4 kB / 367.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01163, allocations: 0.75 kB / 367.4 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.01171, allocations: 79.59 kB / 367.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.01195, allocations: 31.08 kB / 367.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006577/0.01261, allocations: 493.9 kB / 368 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.799e-05/0.01266, allocations: 88.31 kB / 368.1 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.933e-05/0.01273, allocations: 30.28 kB / 368.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.01279, allocations: 28.5 kB / 368.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01279, allocations: 0 / 368.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of Templates: time 0.00483/0.01762, allocations: 2.18 MB / 370.3 MB, free: 11.34 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_with_locks -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0866679516620934]