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.006198/0.006198, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001145/0.001145, allocations: 197 kB / 16.67 MB, free: 5.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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08907/0.08907, allocations: 22.33 MB / 312.9 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.89 kB / 437 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1062, allocations: 54.96 MB / 492 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002185/0.1084, allocations: 0.9751 MB / 493 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.11, allocations: 1.194 MB / 494.1 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.981e-05/0.1101, allocations: 0 / 494.1 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003649/0.1105, allocations: 39.72 kB / 494.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1107, allocations: 43.77 kB / 494.2 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.1109, allocations: 67.89 kB / 494.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1111, allocations: 203.6 kB / 494.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1113, allocations: 41.36 kB / 494.5 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1114, allocations: 75.75 kB / 494.6 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.1116, allocations: 103.6 kB / 494.7 MB, free: 2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.1116, allocations: 8 kB / 494.7 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.456e-05/0.1116, allocations: 12 kB / 494.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.924e-05/0.1117, allocations: 47.89 kB / 494.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.1118, allocations: 67.58 kB / 494.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.112, allocations: 135.5 kB / 495 MB, free: 1.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.112, allocations: 4 kB / 495 MB, free: 1.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.112, allocations: 0 / 495 MB, free: 1.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.112, allocations: 0 / 495 MB, free: 1.73 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.001118/0.1131, allocations: 0.5222 MB / 495.5 MB, free: 1.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1132, allocations: 8.031 kB / 495.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.1132, allocations: 16.75 kB / 495.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005989/0.1138, allocations: 288.6 kB / 495.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.1139, allocations: 8.375 kB / 495.8 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.1139, allocations: 12.36 kB / 495.8 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.1141, allocations: 113.9 kB / 495.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1142, allocations: 4 kB / 495.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1142, allocations: 0 / 495.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1142, allocations: 0 / 495.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.1144, allocations: 103.9 kB / 496 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007403/0.1152, allocations: 464.4 kB / 496.5 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.1156, allocations: 150.5 kB / 496.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.1157, allocations: 68.77 kB / 496.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1157, allocations: 4 kB / 496.7 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1158, allocations: 42.48 kB / 496.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.1158, allocations: 0 / 496.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001041/0.1168, allocations: 399.5 kB / 497.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1169, allocations: 51.41 kB / 497.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.1173, allocations: 242.6 kB / 497.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.1174, allocations: 33.7 kB / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.1174, allocations: 112 kB / 497.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.1175, allocations: 47.34 kB / 497.6 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.1176, allocations: 25.72 kB / 497.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1177, allocations: 330.8 kB / 498 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1178, allocations: 47.97 kB / 498 MB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.1179, allocations: 47.97 kB / 498.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.1189, allocations: 348 kB / 498.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.119, allocations: 0 / 498.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004533/0.1194, allocations: 234.1 kB / 498.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1194, allocations: 6.031 kB / 498.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1194, allocations: 0 / 498.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.1197, allocations: 56.81 kB / 498.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.1198, allocations: 19.92 kB / 498.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.1212, allocations: 1.602 MB / 0.4886 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1215, allocations: 35.92 kB / 0.4886 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1215, allocations: 4 kB / 0.4886 GB, free: 11.96 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.0001473/0.1216, allocations: 141.8 kB / 0.4888 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.1217, allocations: 11.81 kB / 0.4888 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.47e-05/0.1217, allocations: 21.41 kB / 0.4888 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1217, allocations: 7.938 kB / 0.4888 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1217, allocations: 0 / 0.4888 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1218, allocations: 3.984 kB / 0.4888 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.122, allocations: 245.4 kB / 0.489 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.122, allocations: 3.984 kB / 0.489 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1222, allocations: 20 kB / 0.4891 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001576/0.1223, allocations: 56.8 kB / 0.4891 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1223, allocations: 0 / 0.4891 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.1236, allocations: 1.603 MB / 0.4907 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1236, allocations: 8.016 kB / 0.4907 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/0.1242, allocations: 380.5 kB / 0.4911 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.1243, allocations: 93 kB / 0.4911 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1244, allocations: 7.922 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.1246, allocations: 27.97 kB / 0.4912 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.1247, allocations: 11.92 kB / 0.4912 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.1247, allocations: 7.984 kB / 0.4912 GB, free: 9.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004203/0.1251, allocations: 208.2 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1251, allocations: 0 / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1254, allocations: 31.91 kB / 0.4914 GB, free: 8.855 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.0001272/0.1255, allocations: 99.19 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005442/0.1261, allocations: 266.6 kB / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1261, allocations: 0 / 0.4918 GB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.1264, allocations: 198.6 kB / 0.492 GB, free: 8.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1267, allocations: 19.98 kB / 0.492 GB, free: 8.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006073/0.1273, allocations: 352.1 kB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.1277, allocations: 0.7319 MB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.625e-05/0.1278, allocations: 29.05 kB / 0.4931 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.1278, allocations: 19.44 kB / 0.4931 GB, free: 7.074 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1278, allocations: 0 / 0.4931 GB, free: 7.074 MB / 382.1 MB Notification: Performance of Templates: time 0.004853/0.1327, allocations: 1.953 MB / 0.495 GB, free: 5.133 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)