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.001333/0.001333, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001299/0.001299, allocations: 183 kB / 17.34 MB, free: 5.734 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0947/0.0947, allocations: 22.32 MB / 313.5 MB, free: 8.852 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 67.88 kB / 437.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1103, allocations: 54.95 MB / 492.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002374/0.1127, allocations: 0.9674 MB / 493.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1143, allocations: 1.198 MB / 494.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.1145, allocations: 4 kB / 494.8 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.1147, allocations: 31.78 kB / 494.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1149, allocations: 51.69 kB / 494.9 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1151, allocations: 67.89 kB / 495 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.1154, allocations: 203.6 kB / 495.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1155, allocations: 37.38 kB / 495.2 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1157, allocations: 83.78 kB / 495.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1159, allocations: 91.66 kB / 495.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.1159, allocations: 15.94 kB / 495.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.285e-05/0.116, allocations: 12 kB / 495.4 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.549e-05/0.116, allocations: 55.86 kB / 495.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.1161, allocations: 59.61 kB / 495.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1163, allocations: 135.5 kB / 495.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1163, allocations: 0 / 495.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1163, allocations: 0 / 495.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1163, allocations: 0 / 495.7 MB, free: 1.699 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.001111/0.1174, allocations: 0.5221 MB / 496.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1175, allocations: 12.03 kB / 496.2 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1175, allocations: 16.69 kB / 496.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.1181, allocations: 296.6 kB / 496.5 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1182, allocations: 8.375 kB / 496.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.1182, allocations: 4.375 kB / 496.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.1184, allocations: 117.9 kB / 496.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1184, allocations: 3.938 kB / 496.6 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.1185, allocations: 4 kB / 496.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1185, allocations: 4 kB / 496.6 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.1187, allocations: 95.92 kB / 496.7 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.1194, allocations: 456.5 kB / 497.2 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.1198, allocations: 158.5 kB / 497.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.12, allocations: 68.81 kB / 497.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.12, allocations: 0 / 497.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.12, allocations: 34.56 kB / 497.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.12, allocations: 0 / 497.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001035/0.1211, allocations: 395.5 kB / 497.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.1211, allocations: 55.41 kB / 497.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.1216, allocations: 246.6 kB / 498.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1216, allocations: 29.7 kB / 498.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.1217, allocations: 115.9 kB / 498.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1218, allocations: 43.36 kB / 498.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.1218, allocations: 33.7 kB / 498.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.122, allocations: 322.8 kB / 498.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.1221, allocations: 47.97 kB / 498.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1222, allocations: 55.95 kB / 498.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1233, allocations: 339.8 kB / 499.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1233, allocations: 0 / 499.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004848/0.1238, allocations: 234.1 kB / 499.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1239, allocations: 10.19 kB / 499.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1239, allocations: 4 kB / 499.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002135/0.1241, allocations: 56.8 kB / 499.4 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1242, allocations: 16 kB / 499.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1257, allocations: 1.606 MB / 0.4893 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.1259, allocations: 27.98 kB / 0.4893 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.126, allocations: 3.938 kB / 0.4893 GB, free: 11.93 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.0001767/0.1261, allocations: 141.8 kB / 0.4894 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.1262, allocations: 15.81 kB / 0.4894 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.353e-05/0.1263, allocations: 29.39 kB / 0.4895 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1263, allocations: 7.875 kB / 0.4895 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1263, allocations: 4 kB / 0.4895 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1263, allocations: 0 / 0.4895 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.1266, allocations: 261.3 kB / 0.4897 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1266, allocations: 0 / 0.4897 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.1267, allocations: 15.98 kB / 0.4897 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.1269, allocations: 48.81 kB / 0.4898 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1269, allocations: 8.094 kB / 0.4898 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.1282, allocations: 1.602 MB / 0.4914 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1283, allocations: 0 / 0.4914 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.1289, allocations: 380 kB / 0.4917 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.1289, allocations: 92.98 kB / 0.4918 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.129, allocations: 8 kB / 0.4918 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.1293, allocations: 27.95 kB / 0.4918 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.1293, allocations: 15.92 kB / 0.4919 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.1293, allocations: 4 kB / 0.4919 GB, free: 9.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004196/0.1298, allocations: 200.2 kB / 0.4921 GB, free: 8.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1298, allocations: 0 / 0.4921 GB, free: 8.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.1301, allocations: 35.91 kB / 0.4921 GB, free: 8.82 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.0001123/0.1302, allocations: 103.2 kB / 0.4922 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.1307, allocations: 254.5 kB / 0.4924 GB, free: 8.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1307, allocations: 0 / 0.4924 GB, free: 8.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.131, allocations: 194.7 kB / 0.4926 GB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1313, allocations: 19.98 kB / 0.4926 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.132, allocations: 393.7 kB / 0.493 GB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1323, allocations: 0.728 MB / 0.4937 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.1324, allocations: 15.44 kB / 0.4937 GB, free: 7.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1324, allocations: 0 / 0.4937 GB, free: 7.039 MB / 382.1 MB Notification: Performance of Templates: time 0.004781/0.1372, allocations: 2.52 MB / 0.4962 GB, free: 4.516 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)