Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001416/0.001416, allocations: 182.3 kB / 17.34 MB, free: 5.629 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.289/1.289, allocations: 222.9 MB / 241 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.08835/0.08835, allocations: 22.34 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 437.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1093, allocations: 54.95 MB / 492.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002655/0.112, allocations: 0.9713 MB / 493.6 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1138, allocations: 1.198 MB / 494.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.114, allocations: 0 / 494.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.1143, allocations: 35.78 kB / 494.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1146, allocations: 39.77 kB / 494.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.1148, allocations: 67.89 kB / 495 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1152, allocations: 215.5 kB / 495.2 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1153, allocations: 37.38 kB / 495.2 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.1155, allocations: 75.8 kB / 495.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1157, allocations: 99.64 kB / 495.4 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.1158, allocations: 11.94 kB / 495.4 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.124e-05/0.1158, allocations: 12 kB / 495.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.821e-05/0.1159, allocations: 51.88 kB / 495.5 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.116, allocations: 67.59 kB / 495.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1162, allocations: 123.6 kB / 495.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.1162, allocations: 4 kB / 495.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1162, allocations: 7.875 kB / 495.7 MB, free: 1.785 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.1162, allocations: 0 / 495.7 MB, free: 1.785 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001263/0.1175, allocations: 0.526 MB / 496.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1176, allocations: 8.031 kB / 496.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.1176, allocations: 16.75 kB / 496.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.1182, allocations: 292.6 kB / 496.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1183, allocations: 384 / 496.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1183, allocations: 12.38 kB / 496.5 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.1186, allocations: 113.9 kB / 496.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1186, allocations: 0 / 496.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1186, allocations: 8 kB / 496.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1186, allocations: 0 / 496.6 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.1189, allocations: 103.9 kB / 496.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.1196, allocations: 452.5 kB / 497.2 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.1201, allocations: 158.4 kB / 497.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1202, allocations: 68.83 kB / 497.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.1202, allocations: 0 / 497.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1203, allocations: 34.56 kB / 497.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.1203, allocations: 0 / 497.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001071/0.1214, allocations: 399.5 kB / 497.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1214, allocations: 59.34 kB / 497.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.1219, allocations: 246.6 kB / 498.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1219, allocations: 29.7 kB / 498.1 MB, free: 15.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.122, allocations: 112 kB / 498.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.1221, allocations: 51.34 kB / 498.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.1221, allocations: 21.72 kB / 498.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1223, allocations: 330.8 kB / 498.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.1224, allocations: 47.97 kB / 498.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1225, allocations: 51.97 kB / 498.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.1236, allocations: 339.1 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1236, allocations: 0 / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004643/0.1241, allocations: 238.1 kB / 499.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1241, allocations: 8 kB / 499.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1241, allocations: 4 kB / 499.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002155/0.1243, allocations: 52.81 kB / 499.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1244, allocations: 15.98 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.1258, allocations: 1.606 MB / 0.4893 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.1261, allocations: 31.98 kB / 0.4893 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1261, allocations: 4 kB / 0.4893 GB, free: 12.02 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001849/0.1263, allocations: 141.8 kB / 0.4894 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.1263, allocations: 11.81 kB / 0.4894 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.1264, allocations: 25.34 kB / 0.4895 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1264, allocations: 7.938 kB / 0.4895 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1264, allocations: 0 / 0.4895 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1264, allocations: 0 / 0.4895 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.1267, allocations: 261.3 kB / 0.4897 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1267, allocations: 0 / 0.4897 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1268, allocations: 15.98 kB / 0.4897 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001632/0.127, allocations: 48.81 kB / 0.4898 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.127, allocations: 11.98 kB / 0.4898 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.1283, allocations: 1.603 MB / 0.4914 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1283, allocations: 0 / 0.4914 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.1289, allocations: 384 kB / 0.4917 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.129, allocations: 92.95 kB / 0.4918 GB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.129, allocations: 4.031 kB / 0.4918 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.1293, allocations: 27.97 kB / 0.4918 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.1293, allocations: 11.92 kB / 0.4918 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.1293, allocations: 8 kB / 0.4919 GB, free: 9.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004099/0.1298, allocations: 208.2 kB / 0.4921 GB, free: 8.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1298, allocations: 0 / 0.4921 GB, free: 8.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.1301, allocations: 31.91 kB / 0.4921 GB, free: 8.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001249/0.1302, allocations: 99.25 kB / 0.4922 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.1307, allocations: 261.5 kB / 0.4924 GB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1307, allocations: 0 / 0.4924 GB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.131, allocations: 195.3 kB / 0.4926 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1314, allocations: 24.95 kB / 0.4926 GB, free: 8.316 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006633/0.132, allocations: 393.9 kB / 0.493 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1324, allocations: 0.7319 MB / 0.4937 GB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.1324, allocations: 15.44 kB / 0.4937 GB, free: 7.125 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1324, allocations: 0 / 0.4937 GB, free: 7.125 MB / 382.1 MB Notification: Performance of Templates: time 0.005133/0.1376, allocations: 2.521 MB / 0.4962 GB, free: 4.605 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)