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.0006536/0.0006536, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008736/0.001527, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006709/0.0006709, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008901/0.001561, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09474/1.139, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.09754/0.09754, allocations: 18.12 MB / 262.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01132/0.1089, allocations: 6.782 MB / 269.1 MB, free: 6.227 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.413e-06/1.413e-06, allocations: 0 / 270.5 MB, free: 4.762 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.83e-05, allocations: 2.312 kB / 270.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.0021/0.002118, allocations: 1.906 MB / 272.4 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.00238, allocations: 211.1 kB / 272.6 MB, free: 2.625 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.002454, allocations: 7.938 kB / 272.6 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.64e-05/0.002521, allocations: 35.55 kB / 272.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.002566, allocations: 15.81 kB / 272.7 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.002694, allocations: 95.84 kB / 272.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.002896, allocations: 232.8 kB / 273 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.002996, allocations: 46.52 kB / 273.1 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.003109, allocations: 135.7 kB / 273.2 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.003193, allocations: 59.78 kB / 273.2 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.003225, allocations: 20 kB / 273.3 MB, free: 1.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.918e-05/0.003244, allocations: 20 kB / 273.3 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.003275, allocations: 35.81 kB / 273.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.003313, allocations: 51.88 kB / 273.4 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.003484, allocations: 119.4 kB / 273.5 MB, free: 1.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/0.003495, allocations: 3.938 kB / 273.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003495, allocations: 0 / 273.5 MB, free: 1.762 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.003504, allocations: 0 / 273.5 MB, free: 1.762 MB / 266.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.0005077/0.004012, allocations: 468.1 kB / 274 MB, free: 1.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.004039, allocations: 12.03 kB / 274 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.004086, allocations: 36.91 kB / 274 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.00425, allocations: 166.1 kB / 274.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.004277, allocations: 24.86 kB / 274.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.004309, allocations: 24.38 kB / 274.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.004601, allocations: 214.2 kB / 274.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.00461, allocations: 192 / 274.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.004624, allocations: 8.375 kB / 274.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.004631, allocations: 8.375 kB / 274.4 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.213e-05/0.004714, allocations: 68.95 kB / 274.5 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1471/0.1518, allocations: 0.783 MB / 275.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.152, allocations: 86.75 kB / 275.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.152, allocations: 32.19 kB / 275.4 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.152, allocations: 5 kB / 275.4 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1521, allocations: 36.73 kB / 275.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.833e-06/0.1521, allocations: 2.688 kB / 275.4 MB, free: 3.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002318/0.1523, allocations: 129.8 kB / 275.6 MB, free: 3.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.1523, allocations: 54.09 kB / 275.6 MB, free: 3.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1524, allocations: 201.1 kB / 275.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1525, allocations: 31.2 kB / 275.9 MB, free: 3.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.1525, allocations: 147.7 kB / 276 MB, free: 3.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.1526, allocations: 84.97 kB / 276.1 MB, free: 2.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.271e-05/0.1526, allocations: 72.8 kB / 276.2 MB, free: 2.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.1527, allocations: 339.7 kB / 276.5 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.1528, allocations: 28.53 kB / 276.5 MB, free: 2.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1529, allocations: 122.7 kB / 276.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.1532, allocations: 229.4 kB / 276.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1532, allocations: 1.781 kB / 276.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003632/0.1536, allocations: 195.3 kB / 277 MB, free: 2.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.1536, allocations: 7.25 kB / 277.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1536, allocations: 5.375 kB / 277.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.1536, allocations: 6.844 kB / 277.1 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.154, allocations: 109.5 kB / 277.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1541, allocations: 6.781 kB / 277.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/0.1542, allocations: 41.7 kB / 277.2 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.1542, allocations: 12.69 kB / 277.2 MB, free: 2.414 MB / 266.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.000136/0.1543, allocations: 139.1 kB / 277.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.1543, allocations: 19.5 kB / 277.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.1545, allocations: 141.2 kB / 277.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1546, allocations: 3.766 kB / 277.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1546, allocations: 1.969 kB / 277.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1546, allocations: 0.8438 kB / 277.5 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.1548, allocations: 167.8 kB / 277.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1548, allocations: 1.875 kB / 277.7 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.1551, allocations: 86.58 kB / 277.8 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.1551, allocations: 22.84 kB / 277.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1551, allocations: 1.781 kB / 277.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.1551, allocations: 8.234 kB / 277.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1551, allocations: 0 / 277.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1551, allocations: 1.406 kB / 277.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1554, allocations: 271.7 kB / 278.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.1554, allocations: 7.781 kB / 278.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.869e-05/0.1554, allocations: 14.08 kB / 278.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.1555, allocations: 23.27 kB / 278.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1555, allocations: 2.844 kB / 278.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.922e-05/0.1556, allocations: 58.12 kB / 278.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1556, allocations: 0.7188 kB / 278.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.1557, allocations: 44.98 kB / 278.2 MB, free: 2.008 MB / 266.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.694e-05/0.1558, allocations: 89.36 kB / 278.3 MB, free: 1.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.156, allocations: 139.2 kB / 278.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/0.156, allocations: 6.938 kB / 278.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1561, allocations: 81.11 kB / 278.5 MB, free: 1.918 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.1564, allocations: 216.9 kB / 278.7 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.1572, allocations: 450.8 kB / 279.2 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.83e-05/0.1573, allocations: 86.44 kB / 279.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.39e-05/0.1574, allocations: 29.08 kB / 279.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.1575, allocations: 88.81 kB / 279.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1575, allocations: 0 / 279.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of Templates: time 0.005369/0.1628, allocations: 2.424 MB / 281.8 MB, free: 1.215 MB / 266.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.7150754993781447]