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.00131/0.00131, allocations: 112.6 kB / 16.42 MB, free: 6.508 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.001453/0.001453, allocations: 186.7 kB / 17.35 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.327/1.327, allocations: 222.9 MB / 241.1 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.09482/0.09482, allocations: 22.32 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.89 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.08639, allocations: 54.96 MB / 492.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002032/0.08845, allocations: 0.9624 MB / 493.6 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.08983, allocations: 1.198 MB / 494.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.204e-05/0.08991, allocations: 0 / 494.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.0902, allocations: 39.78 kB / 494.9 MB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.09037, allocations: 39.77 kB / 494.9 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.09056, allocations: 71.89 kB / 495 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.09082, allocations: 207.6 kB / 495.2 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.09094, allocations: 33.44 kB / 495.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.09108, allocations: 79.8 kB / 495.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.09125, allocations: 99.58 kB / 495.4 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.09129, allocations: 12 kB / 495.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.029e-05/0.09132, allocations: 12 kB / 495.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.09141, allocations: 55.88 kB / 495.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.24e-05/0.09149, allocations: 59.59 kB / 495.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.09167, allocations: 135.4 kB / 495.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.09168, allocations: 0 / 495.7 MB, free: 1.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09168, allocations: 3.938 kB / 495.7 MB, free: 1.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.09169, allocations: 0 / 495.7 MB, free: 1.746 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.001116/0.09281, allocations: 0.5221 MB / 496.2 MB, free: 1.176 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.09286, allocations: 8.031 kB / 496.2 MB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.09291, allocations: 16.84 kB / 496.2 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005675/0.09348, allocations: 296.7 kB / 496.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.0935, allocations: 8.375 kB / 496.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.09354, allocations: 8.375 kB / 496.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.09377, allocations: 121.8 kB / 496.6 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.09379, allocations: 4 kB / 496.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.09381, allocations: 0 / 496.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.09382, allocations: 4 kB / 496.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.09407, allocations: 107.9 kB / 496.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.09475, allocations: 456.5 kB / 497.2 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.09516, allocations: 154.5 kB / 497.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.09531, allocations: 64.83 kB / 497.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.09533, allocations: 0 / 497.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.09536, allocations: 42.48 kB / 497.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.09537, allocations: 0 / 497.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001064/0.09644, allocations: 395.8 kB / 497.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.09647, allocations: 55.34 kB / 497.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.09698, allocations: 250.5 kB / 498.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.097, allocations: 25.7 kB / 498.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.09708, allocations: 116 kB / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.09713, allocations: 51.58 kB / 498.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.09718, allocations: 25.72 kB / 498.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.0973, allocations: 330.8 kB / 498.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.09742, allocations: 51.97 kB / 498.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.09753, allocations: 47.97 kB / 498.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.09864, allocations: 328.5 kB / 499.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.09866, allocations: 3.984 kB / 499.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004742/0.09914, allocations: 245.3 kB / 499.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.09916, allocations: 6.188 kB / 499.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.09917, allocations: 0 / 499.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.09938, allocations: 52.81 kB / 499.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.0995, allocations: 15.98 kB / 499.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1008, allocations: 1.606 MB / 0.4893 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1011, allocations: 36 kB / 0.4893 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.1011, allocations: 8 kB / 0.4893 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.0001451/0.1013, allocations: 137.7 kB / 0.4895 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1013, allocations: 11.91 kB / 0.4895 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.1014, allocations: 25.34 kB / 0.4895 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1014, allocations: 7.938 kB / 0.4895 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1014, allocations: 4 kB / 0.4895 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.1015, allocations: 92.98 kB / 0.4896 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1015, allocations: 12.14 kB / 0.4896 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.1018, allocations: 31.89 kB / 0.4896 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1018, allocations: 11.97 kB / 0.4896 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008014/0.1026, allocations: 341.5 kB / 0.49 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000498/0.1031, allocations: 430.4 kB / 0.4904 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001228/0.1033, allocations: 63.94 kB / 0.4904 GB, free: 10.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004212/0.1037, allocations: 200.2 kB / 0.4906 GB, free: 10.57 MB / 382.1 MB Notification: Performance of Backend: time 4.81e-07/0.1037, allocations: 0 / 0.4906 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.1044, allocations: 285.4 kB / 0.4909 GB, free: 10.27 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006892/0.1051, allocations: 0.7974 MB / 0.4917 GB, free: 9.418 MB / 382.1 MB Notification: Performance of Templates: time 0.0046/0.1097, allocations: 2.062 MB / 0.4937 GB, free: 7.359 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)