Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.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.001022/0.001022, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.0011/0.0011, allocations: 173.3 kB / 24.17 MB, free: 336 kB / 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 0.9661/0.9661, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.06521/0.06521, allocations: 18.14 MB / 279.2 MB, free: 11.21 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.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 304.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.973e-05, allocations: 2.312 kB / 304.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002531/0.002551, allocations: 1.996 MB / 306.5 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00122/0.003771, allocations: 0.6598 MB / 307.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.003881, allocations: 6.844 kB / 307.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.004176, allocations: 55.45 kB / 307.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.004309, allocations: 42.06 kB / 307.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.004599, allocations: 150 kB / 307.4 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.004917, allocations: 299.4 kB / 307.7 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.005049, allocations: 73.2 kB / 307.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.005182, allocations: 107.1 kB / 307.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.005333, allocations: 119.8 kB / 308 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.005384, allocations: 24 kB / 308 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.58e-05/0.005409, allocations: 32 kB / 308.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.684e-05/0.005496, allocations: 80.7 kB / 308.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.005565, allocations: 85.23 kB / 308.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.005791, allocations: 205 kB / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005793, allocations: 0 / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005794, allocations: 0 / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005799, allocations: 0 / 308.4 MB, free: 14.02 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007404/0.006539, allocations: 0.5013 MB / 308.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.006571, allocations: 8.922 kB / 308.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.006629, allocations: 40.91 kB / 309 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.006867, allocations: 209.7 kB / 309.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.006893, allocations: 29.03 kB / 309.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.00693, allocations: 32.31 kB / 309.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.007207, allocations: 234.7 kB / 309.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.00722, allocations: 4.125 kB / 309.5 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.007237, allocations: 12.38 kB / 309.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.007248, allocations: 11.94 kB / 309.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.007371, allocations: 94.19 kB / 309.6 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.008376, allocations: 0.8656 MB / 310.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.008567, allocations: 161.7 kB / 310.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.008619, allocations: 49.25 kB / 310.7 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.00864, allocations: 8.219 kB / 310.7 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.00866, allocations: 42.73 kB / 310.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 1.473e-06/0.008662, allocations: 0 / 310.7 MB, free: 11.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0002297/0.008891, allocations: 157.1 kB / 310.9 MB, free: 11.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.008922, allocations: 55.41 kB / 310.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.009073, allocations: 232.9 kB / 311.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.009094, allocations: 37.7 kB / 311.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.009158, allocations: 156.6 kB / 311.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.009209, allocations: 99.14 kB / 311.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.009424, allocations: 85.97 kB / 311.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.009507, allocations: 342.7 kB / 311.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.269e-05/0.009559, allocations: 43.62 kB / 311.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.394e-05/0.009643, allocations: 121.8 kB / 312 MB, free: 10.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.009855, allocations: 240.3 kB / 312.2 MB, free: 9.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.009857, allocations: 0 / 312.2 MB, free: 9.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002054/0.01006, allocations: 208.8 kB / 312.4 MB, free: 9.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01008, allocations: 8 kB / 312.5 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01008, allocations: 0 / 312.5 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01009, allocations: 8.297 kB / 312.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.01037, allocations: 99.83 kB / 312.6 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01037, allocations: 4 kB / 312.6 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.652e-05/0.01047, allocations: 47.7 kB / 312.6 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.01048, allocations: 16 kB / 312.6 MB, free: 9.59 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: y_filter.y:VARIABLE(flow=false start = y_filter.y_start fixed = true ) \"Connector of Real output signal\" type: Real Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 9 (not1.y,PI_2.LOsat,PI_2.HIsat,PI_1.LOsat,PI_1.HIsat,PI_1.iNoInc,PI_1.iNoDec,PI_2.iNoInc,PI_2.iNoDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001325/0.01061, allocations: 149.7 kB / 312.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.143e-05/0.01065, allocations: 27.98 kB / 312.8 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.01084, allocations: 174.5 kB / 313 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01085, allocations: 4 kB / 313 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01085, allocations: 0 / 313 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01085, allocations: 3.984 kB / 313 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.01123, allocations: 193.6 kB / 313.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01124, allocations: 0 / 313.2 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.01142, allocations: 67.91 kB / 313.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01142, allocations: 0 / 313.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.01144, allocations: 12 kB / 313.2 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01144, allocations: 3.938 kB / 313.2 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01144, allocations: 0 / 313.2 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.01173, allocations: 363.2 kB / 313.6 MB, free: 8.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.01176, allocations: 27.75 kB / 313.6 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.01178, allocations: 8 kB / 313.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.01187, allocations: 15.98 kB / 313.7 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.01192, allocations: 23.95 kB / 313.7 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01193, allocations: 4 kB / 313.7 MB, free: 8.484 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.492e-05/0.01198, allocations: 78.77 kB / 313.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01198, allocations: 0 / 313.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001816/0.01216, allocations: 59.89 kB / 313.8 MB, free: 8.348 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (PI_1.xfb,PI_1.xBias,PI_1.u,PI_1.csfil,PI_2.xfb,PI_2.xBias,PI_2.u,PI_2.csfil,Process.x_scaled[1],Process.x_scaled[2],y_filter.y) * Number of discrete variables: 5 (PI_1.HIsat,PI_1.LOsat,PI_2.HIsat,PI_2.LOsat,not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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 8.334e-05/0.01225, allocations: 92.34 kB / 313.9 MB, free: 8.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.01244, allocations: 154.3 kB / 314.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01244, allocations: 0 / 314.1 MB, free: 8.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.01252, allocations: 84.7 kB / 314.1 MB, free: 8.008 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.01269, allocations: 35.25 kB / 314.2 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.01337, allocations: 0.6064 MB / 314.8 MB, free: 7.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.435e-05/0.01342, allocations: 96.3 kB / 314.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.81e-05/0.0135, allocations: 30.97 kB / 314.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.0138, allocations: 87.38 kB / 315 MB, free: 7.109 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0138, allocations: 0 / 315 MB, free: 7.109 MB / 282.7 MB Notification: Performance of Templates: time 0.004564/0.01836, allocations: 2.887 MB / 317.9 MB, free: 4.273 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.sim & ./AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.984916403889656]