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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") translateModel(AES.Coursework.Tuning_brushup.Two_PIs_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.000997, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 180.9 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2143/0.2143, allocations: 22.35 MB / 314.4 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005064, allocations: 8 kB / 383.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2764, allocations: 55.99 MB / 439.2 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.002027/0.2785, allocations: 1.7 MB / 440.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.2793, allocations: 0.6065 MB / 441.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.725e-05/0.2795, allocations: 3.938 kB / 441.6 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002983/0.2798, allocations: 34.91 kB / 441.6 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.2799, allocations: 35.48 kB / 441.6 MB, free: 37.75 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.2801, allocations: 107.6 kB / 441.7 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.2804, allocations: 313.3 kB / 442 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.2806, allocations: 90.89 kB / 442.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2807, allocations: 93.94 kB / 442.2 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.2809, allocations: 132.7 kB / 442.3 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.281, allocations: 10.22 kB / 442.3 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.71e-05/0.281, allocations: 14.78 kB / 442.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.602e-05/0.2811, allocations: 65.58 kB / 442.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.758e-05/0.2812, allocations: 141.2 kB / 442.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.2813, allocations: 177.8 kB / 442.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2813, allocations: 3.375 kB / 442.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2814, allocations: 0 / 442.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.2814, allocations: 0 / 442.7 MB, free: 37.25 MB / 350.1 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.001087/0.2825, allocations: 0.5877 MB / 443.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2825, allocations: 14 kB / 443.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.2826, allocations: 35.16 kB / 443.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.283, allocations: 306.7 kB / 443.7 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.283, allocations: 25.53 kB / 443.7 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.691e-05/0.2831, allocations: 27.5 kB / 443.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.2835, allocations: 300.1 kB / 444 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2835, allocations: 10.56 kB / 444 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.2836, allocations: 10.66 kB / 444 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2836, allocations: 5.531 kB / 444 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.284, allocations: 220.8 kB / 444.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.2856, allocations: 1.192 MB / 445.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.286, allocations: 203.8 kB / 445.7 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2862, allocations: 102.9 kB / 445.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2862, allocations: 3.672 kB / 445.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.2862, allocations: 42.55 kB / 445.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.462e-06/0.2862, allocations: 0 / 445.8 MB, free: 35.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005705/0.2868, allocations: 321.4 kB / 446.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.2868, allocations: 53.94 kB / 446.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.2872, allocations: 289.1 kB / 446.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.2872, allocations: 29.7 kB / 446.5 MB, free: 34.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.2873, allocations: 169.5 kB / 446.6 MB, free: 34.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.2874, allocations: 104.1 kB / 446.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.2874, allocations: 47.33 kB / 446.8 MB, free: 34.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.653e-05/0.2875, allocations: 341.9 kB / 447.1 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2877, allocations: 95.69 kB / 447.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.2879, allocations: 180.1 kB / 447.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001704/0.2896, allocations: 0.6453 MB / 448 MB, free: 33.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2896, allocations: 0 / 448 MB, free: 33.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005066/0.2901, allocations: 374 kB / 448.4 MB, free: 33.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2901, allocations: 11.97 kB / 448.4 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2901, allocations: 10.91 kB / 448.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2902, allocations: 2.719 kB / 448.4 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005791/0.2907, allocations: 106.8 kB / 448.5 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2908, allocations: 2.75 kB / 448.5 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.291, allocations: 59.75 kB / 448.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.2911, allocations: 11.56 kB / 448.6 MB, free: 33.61 MB / 350.1 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_2.iNoDec,PI_2.iNoInc,PI_1.iNoDec,PI_1.iNoInc) * 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.0001627/0.2912, allocations: 163.4 kB / 448.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.2913, allocations: 32.56 kB / 448.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004617/0.2917, allocations: 298.3 kB / 449.1 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2918, allocations: 2.844 kB / 449.1 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2918, allocations: 0 / 449.1 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.2918, allocations: 7.281 kB / 449.1 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.2922, allocations: 369.3 kB / 449.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2922, allocations: 0 / 449.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.2926, allocations: 68.95 kB / 449.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.2926, allocations: 3.938 kB / 449.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/0.2927, allocations: 15.94 kB / 449.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2927, allocations: 0 / 449.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2927, allocations: 0 / 449.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.2932, allocations: 490.6 kB / 450 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.2933, allocations: 109.2 kB / 450.1 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.2933, allocations: 6.188 kB / 450.1 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.2936, allocations: 27.61 kB / 450.2 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.2937, allocations: 26.73 kB / 450.2 MB, free: 32.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.2937, allocations: 10.59 kB / 450.2 MB, free: 32.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002811/0.294, allocations: 202 kB / 450.4 MB, free: 32.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.294, allocations: 0 / 450.4 MB, free: 32.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.2943, allocations: 63.41 kB / 450.5 MB, free: 32.5 MB / 350.1 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 9.013e-05/0.2944, allocations: 102.9 kB / 450.6 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004025/0.2948, allocations: 268 kB / 450.8 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2948, allocations: 6.688 kB / 450.8 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.295, allocations: 131.8 kB / 451 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.2953, allocations: 36.28 kB / 451 MB, free: 32.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.2964, allocations: 0.8519 MB / 451.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.2966, allocations: 0.7837 MB / 452.6 MB, free: 31.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2968, allocations: 33.36 kB / 452.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2968, allocations: 0 / 452.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of Templates: time 0.004372/0.3011, allocations: 3.427 MB / 456.1 MB, free: 30.76 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.makefile (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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.Two_PIs_tracking.pipe 2>&1)