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.001094/0.001094, allocations: 114.5 kB / 16.42 MB, free: 6.496 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.00119/0.00119, allocations: 188.3 kB / 17.35 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09286/0.09286, allocations: 22.33 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 437.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09741/0.09874, allocations: 54.95 MB / 492.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.Two_PIs_tracking): time 0.003281/0.1021, allocations: 2.014 MB / 494.7 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1033, allocations: 0.6234 MB / 495.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1035, allocations: 7.938 kB / 495.3 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.1039, allocations: 51.47 kB / 495.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.1041, allocations: 39.7 kB / 495.4 MB, free: 2.121 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.0003288/0.1045, allocations: 119.8 kB / 495.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000404/0.1049, allocations: 332 kB / 495.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1051, allocations: 102.2 kB / 496 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.1053, allocations: 123.5 kB / 496.1 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.1055, allocations: 147.3 kB / 496.2 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.1056, allocations: 24 kB / 496.2 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.782e-05/0.1057, allocations: 28 kB / 496.3 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1058, allocations: 83.73 kB / 496.4 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1059, allocations: 131.2 kB / 496.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1062, allocations: 274.6 kB / 496.7 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1062, allocations: 4 kB / 496.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1062, allocations: 0 / 496.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1062, allocations: 0 / 496.8 MB, free: 0.7773 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.001351/0.1076, allocations: 0.6429 MB / 497.4 MB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1076, allocations: 8.031 kB / 497.4 MB, free: 80 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.166e-05/0.1077, allocations: 32.75 kB / 497.4 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.1083, allocations: 299.5 kB / 497.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.1083, allocations: 24.94 kB / 497.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.553e-05/0.1084, allocations: 28.38 kB / 497.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.1089, allocations: 302.5 kB / 498.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1089, allocations: 0 / 498.1 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1089, allocations: 12 kB / 498.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1089, allocations: 4 kB / 498.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.1094, allocations: 226 kB / 498.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.1113, allocations: 1.187 MB / 499.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/0.1118, allocations: 206 kB / 499.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.112, allocations: 97.3 kB / 499.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.112, allocations: 12.16 kB / 499.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1121, allocations: 38.73 kB / 499.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.1121, allocations: 0 / 499.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006545/0.1127, allocations: 321.4 kB / 0.4884 GB, free: 13.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.1128, allocations: 55.41 kB / 0.4885 GB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004247/0.1132, allocations: 282.5 kB / 0.4888 GB, free: 12.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1132, allocations: 33.69 kB / 0.4888 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1134, allocations: 176.6 kB / 0.489 GB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.565e-05/0.1134, allocations: 103.2 kB / 0.4891 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.1136, allocations: 86 kB / 0.4891 GB, free: 12.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1137, allocations: 338.8 kB / 0.4895 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.1139, allocations: 96.77 kB / 0.4896 GB, free: 11.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.1142, allocations: 184.7 kB / 0.4897 GB, free: 11.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.116, allocations: 0.6218 MB / 0.4903 GB, free: 11.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.116, allocations: 0 / 0.4903 GB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005954/0.1166, allocations: 364.7 kB / 0.4907 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1167, allocations: 11.94 kB / 0.4907 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1167, allocations: 4.312 kB / 0.4907 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1167, allocations: 8 kB / 0.4907 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.1173, allocations: 99.88 kB / 0.4908 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.1173, allocations: 7.938 kB / 0.4908 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.1176, allocations: 55.7 kB / 0.4909 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.1177, allocations: 15.94 kB / 0.4909 GB, free: 10.55 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.0002312/0.1179, allocations: 162.9 kB / 0.491 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.118, allocations: 31.75 kB / 0.4911 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005521/0.1185, allocations: 305.5 kB / 0.4914 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1186, allocations: 7.984 kB / 0.4914 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1186, allocations: 0 / 0.4914 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.1187, allocations: 104.9 kB / 0.4915 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.584e-05/0.1187, allocations: 8 kB / 0.4915 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.119, allocations: 31.97 kB / 0.4915 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.1191, allocations: 27.95 kB / 0.4915 GB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000926/0.12, allocations: 404.7 kB / 0.4919 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000745/0.1208, allocations: 0.5803 MB / 0.4925 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001892/0.121, allocations: 112.7 kB / 0.4926 GB, free: 8.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003242/0.1213, allocations: 201.9 kB / 0.4928 GB, free: 8.551 MB / 382.1 MB Notification: Performance of Backend: time 3.877e-06/0.1213, allocations: 112 / 0.4928 GB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.122, allocations: 274 kB / 0.493 GB, free: 8.277 MB / 382.1 MB Notification: Performance of SimCode: time 0.001139/0.1231, allocations: 1.073 MB / 0.4941 GB, free: 7.152 MB / 382.1 MB Notification: Performance of Templates: time 0.007454/0.1306, allocations: 3.349 MB / 0.4974 GB, free: 3.809 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)