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.00146/0.00146, allocations: 115.4 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.338/1.338, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0935/0.0935, allocations: 22.33 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 437.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08614/0.08739, allocations: 54.95 MB / 492.7 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003044/0.09047, allocations: 2.008 MB / 494.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.09157, allocations: 0.6273 MB / 495.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.0917, allocations: 3.938 kB / 495.3 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.092, allocations: 51.47 kB / 495.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.09219, allocations: 43.64 kB / 495.4 MB, free: 2.031 MB / 366.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.0002762/0.09248, allocations: 127.8 kB / 495.5 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.09285, allocations: 324 kB / 495.9 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.09303, allocations: 98.25 kB / 495.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.09321, allocations: 127.5 kB / 496.1 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.09342, allocations: 151.3 kB / 496.2 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.09348, allocations: 28 kB / 496.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.925e-05/0.09353, allocations: 24 kB / 496.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.09364, allocations: 83.73 kB / 496.4 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.09376, allocations: 131.2 kB / 496.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.09405, allocations: 270.7 kB / 496.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09407, allocations: 4 kB / 496.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09407, allocations: 0 / 496.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.09409, allocations: 0 / 496.7 MB, free: 0.6875 MB / 366.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.00125/0.09534, allocations: 0.6411 MB / 497.4 MB, free: 0 / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.0954, allocations: 8.078 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.09548, allocations: 36.75 kB / 497.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.09598, allocations: 299.6 kB / 497.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.09604, allocations: 24.94 kB / 497.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.09609, allocations: 28.38 kB / 497.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.0966, allocations: 298.5 kB / 498.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.09662, allocations: 4 kB / 498.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.09666, allocations: 8 kB / 498.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.09667, allocations: 8 kB / 498.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.09712, allocations: 222 kB / 498.3 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.09905, allocations: 1.191 MB / 499.5 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004208/0.09949, allocations: 199.2 kB / 499.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.09969, allocations: 97.3 kB / 499.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.09973, allocations: 12.22 kB / 499.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.09976, allocations: 38.73 kB / 499.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.996e-06/0.09977, allocations: 11.92 kB / 499.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006714/0.1005, allocations: 313.4 kB / 0.4884 GB, free: 13.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1005, allocations: 55.41 kB / 0.4885 GB, free: 13.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.1009, allocations: 286.5 kB / 0.4888 GB, free: 12.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.101, allocations: 37.7 kB / 0.4888 GB, free: 12.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1011, allocations: 172.6 kB / 0.489 GB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.995e-05/0.1012, allocations: 99.19 kB / 0.4891 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.1013, allocations: 82 kB / 0.4891 GB, free: 12.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1014, allocations: 342.8 kB / 0.4895 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.1016, allocations: 92.77 kB / 0.4895 GB, free: 11.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.1019, allocations: 192.6 kB / 0.4897 GB, free: 11.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001867/0.1037, allocations: 0.6179 MB / 0.4903 GB, free: 11.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1038, allocations: 0 / 0.4903 GB, free: 11.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006319/0.1044, allocations: 372.9 kB / 0.4907 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1044, allocations: 10.12 kB / 0.4907 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1044, allocations: 4 kB / 0.4907 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1045, allocations: 4 kB / 0.4907 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.1051, allocations: 99.88 kB / 0.4908 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.1051, allocations: 15.94 kB / 0.4908 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.1054, allocations: 55.7 kB / 0.4909 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.1054, allocations: 8 kB / 0.4909 GB, free: 10.46 MB / 382.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.0001865/0.1056, allocations: 163 kB / 0.491 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.1057, allocations: 31.75 kB / 0.4911 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005318/0.1062, allocations: 305.5 kB / 0.4914 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1063, allocations: 3.984 kB / 0.4914 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1063, allocations: 0 / 0.4914 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.1063, allocations: 108.9 kB / 0.4915 GB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1064, allocations: 8 kB / 0.4915 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.1067, allocations: 23.97 kB / 0.4915 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.1068, allocations: 31.95 kB / 0.4915 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009357/0.1077, allocations: 404.7 kB / 0.4919 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007327/0.1084, allocations: 0.5842 MB / 0.4925 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001942/0.1086, allocations: 112.7 kB / 0.4926 GB, free: 8.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003346/0.109, allocations: 205.9 kB / 0.4928 GB, free: 8.457 MB / 382.1 MB Notification: Performance of Backend: time 2.214e-06/0.109, allocations: 112 / 0.4928 GB, free: 8.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006174/0.1096, allocations: 266 kB / 0.493 GB, free: 8.191 MB / 382.1 MB Notification: Performance of SimCode: time 0.001022/0.1107, allocations: 1.068 MB / 0.4941 GB, free: 7.07 MB / 382.1 MB Notification: Performance of Templates: time 0.007049/0.1177, allocations: 3.357 MB / 0.4974 GB, free: 3.723 MB / 382.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)