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.001003/0.001003, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002314, allocations: 435.8 kB / 10.33 MB, free: 368 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.001066/0.001066, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002404, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9462/0.9462, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08276/1.029, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.07714/0.07714, allocations: 18.12 MB / 262.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01178/0.08891, allocations: 6.77 MB / 268.9 MB, free: 6.352 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.645e-06/2.645e-06, allocations: 4 kB / 270.3 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.461e-05, allocations: 2.312 kB / 270.3 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002467/0.002491, allocations: 1.902 MB / 272.2 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003255/0.002817, allocations: 207.1 kB / 272.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.002909, allocations: 7.938 kB / 272.4 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.408e-05/0.002993, allocations: 39.53 kB / 272.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.003044, allocations: 19.8 kB / 272.5 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.003191, allocations: 91.86 kB / 272.6 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.003395, allocations: 228.8 kB / 272.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.003507, allocations: 46.52 kB / 272.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.003629, allocations: 131.7 kB / 273 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.983e-05/0.003728, allocations: 75.7 kB / 273 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.003759, allocations: 16 kB / 273.1 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.011e-05/0.00378, allocations: 20 kB / 273.1 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.00381, allocations: 35.88 kB / 273.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.003854, allocations: 43.88 kB / 273.2 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.004004, allocations: 123.4 kB / 273.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.414e-05/0.004018, allocations: 0 / 273.3 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004019, allocations: 3.938 kB / 273.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.004032, allocations: 0 / 273.3 MB, free: 1.898 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.0005734/0.004605, allocations: 464.1 kB / 273.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.004642, allocations: 12.03 kB / 273.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.0047, allocations: 36.91 kB / 273.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.004895, allocations: 170.1 kB / 273.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.004923, allocations: 20.88 kB / 274 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.004956, allocations: 24.38 kB / 274 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.005186, allocations: 210.3 kB / 274.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.005195, allocations: 192 / 274.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.005209, allocations: 12.38 kB / 274.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.005216, allocations: 4.375 kB / 274.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.313e-05/0.005309, allocations: 72.94 kB / 274.3 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.00617, allocations: 0.7816 MB / 275.1 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.123/0.1292, allocations: 87.42 kB / 275.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1293, allocations: 32.48 kB / 275.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.1293, allocations: 4 kB / 275.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1293, allocations: 41.75 kB / 275.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.765e-06/0.1293, allocations: 0 / 275.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.000236/0.1296, allocations: 130.6 kB / 275.4 MB, free: 3.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1296, allocations: 53.81 kB / 275.4 MB, free: 3.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.1297, allocations: 206.5 kB / 275.6 MB, free: 3.695 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1297, allocations: 30.55 kB / 275.6 MB, free: 3.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.1298, allocations: 144.2 kB / 275.8 MB, free: 3.574 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.1298, allocations: 84.2 kB / 275.9 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.1299, allocations: 72.31 kB / 275.9 MB, free: 3.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.13, allocations: 338.7 kB / 276.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.13, allocations: 28.11 kB / 276.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1301, allocations: 127.9 kB / 276.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.1304, allocations: 220.4 kB / 276.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1304, allocations: 1.094 kB / 276.6 MB, free: 2.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002278/0.1306, allocations: 194.7 kB / 276.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1306, allocations: 6.812 kB / 276.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1306, allocations: 7.25 kB / 276.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1307, allocations: 5.469 kB / 276.8 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.131, allocations: 106.6 kB / 276.9 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.131, allocations: 7.312 kB / 277 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.1311, allocations: 44.94 kB / 277 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.1311, allocations: 9.297 kB / 277 MB, free: 2.945 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.000116/0.1312, allocations: 135.3 kB / 277.1 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1313, allocations: 20.03 kB / 277.2 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.1315, allocations: 142 kB / 277.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1315, allocations: 8.969 kB / 277.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.1315, allocations: 1.609 kB / 277.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1315, allocations: 4.453 kB / 277.3 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1318, allocations: 165.5 kB / 277.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.1318, allocations: 0.5625 kB / 277.5 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.132, allocations: 84.05 kB / 277.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.1321, allocations: 21.08 kB / 277.6 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1321, allocations: 2.703 kB / 277.6 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1321, allocations: 10.53 kB / 277.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1321, allocations: 1.906 kB / 277.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1321, allocations: 0 / 277.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.1324, allocations: 273.6 kB / 277.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1324, allocations: 6.156 kB / 277.9 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.1325, allocations: 16.33 kB / 277.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.1325, allocations: 23.12 kB / 277.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1325, allocations: 5.281 kB / 277.9 MB, free: 2.555 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.976e-05/0.1326, allocations: 59.95 kB / 278 MB, free: 2.543 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1326, allocations: 0.5625 kB / 278 MB, free: 2.543 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001906/0.1328, allocations: 50.92 kB / 278 MB, free: 2.539 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.018e-05/0.1329, allocations: 82.67 kB / 278.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1331, allocations: 133 kB / 278.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/0.1331, allocations: 3.781 kB / 278.2 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.511e-05/0.1331, allocations: 73.25 kB / 278.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.1333, allocations: 37.59 kB / 278.3 MB, free: 2.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.1341, allocations: 454.4 kB / 278.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.892e-05/0.1341, allocations: 89.47 kB / 278.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.705e-05/0.1342, allocations: 32.22 kB / 278.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.1343, allocations: 80.69 kB / 279 MB, free: 2.078 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1343, allocations: 0 / 279 MB, free: 2.078 MB / 266.7 MB Notification: Performance of Templates: time 0.00512/0.1394, allocations: 2.445 MB / 281.4 MB, free: 1.949 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.7207138910889626]