Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.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_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") translateModel(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 102.3 kB / 15.98 MB, free: 6.344 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.001222/0.001222, allocations: 197.7 kB / 16.91 MB, free: 6.184 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.205/1.205, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08666/0.08666, allocations: 22.32 MB / 313.1 MB, free: 9.164 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 69.36 kB / 380.9 MB, free: 41.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06975/0.0709, allocations: 54.95 MB / 435.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003102/0.07403, allocations: 2.33 MB / 438.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.07482, allocations: 0.5104 MB / 438.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.07495, allocations: 4 kB / 438.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.07509, allocations: 27.83 kB / 438.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.07522, allocations: 51.55 kB / 438.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.07536, allocations: 43.91 kB / 438.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.07558, allocations: 215 kB / 439 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.07576, allocations: 92.03 kB / 439.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.07586, allocations: 83.72 kB / 439.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.07598, allocations: 91.61 kB / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.07602, allocations: 16 kB / 439.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.006e-05/0.07606, allocations: 20 kB / 439.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.07609, allocations: 39.84 kB / 439.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.325e-05/0.07619, allocations: 91.59 kB / 439.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.07636, allocations: 167.9 kB / 439.6 MB, free: 9.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.07637, allocations: 3.938 kB / 439.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.07637, allocations: 0 / 439.6 MB, free: 9.777 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.07639, allocations: 4 kB / 439.6 MB, free: 9.773 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005648/0.07696, allocations: 477.7 kB / 440.1 MB, free: 9.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.07699, allocations: 12.03 kB / 440.1 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.07704, allocations: 16.75 kB / 440.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.07723, allocations: 216 kB / 440.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.07726, allocations: 12.81 kB / 440.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.0773, allocations: 28.38 kB / 440.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.07762, allocations: 175.6 kB / 440.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.07765, allocations: 0 / 440.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.07767, allocations: 12 kB / 440.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.07768, allocations: 4 kB / 440.6 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.07793, allocations: 121.7 kB / 440.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.07883, allocations: 0.6796 MB / 441.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.0791, allocations: 130.5 kB / 441.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.07923, allocations: 72.81 kB / 441.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.07925, allocations: 4 kB / 441.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.07928, allocations: 30.56 kB / 441.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.07928, allocations: 0 / 441.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003516/0.07964, allocations: 181.6 kB / 441.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.07968, allocations: 55.34 kB / 441.8 MB, free: 7.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.07977, allocations: 121.8 kB / 442 MB, free: 7.258 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.07979, allocations: 33.7 kB / 442 MB, free: 7.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.07986, allocations: 132.1 kB / 442.1 MB, free: 7.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.0799, allocations: 51.2 kB / 442.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.07995, allocations: 33.7 kB / 442.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.08006, allocations: 330.8 kB / 442.5 MB, free: 6.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.08016, allocations: 39.92 kB / 442.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.08027, allocations: 71.41 kB / 442.6 MB, free: 6.543 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.08047, allocations: 121.9 kB / 442.7 MB, free: 6.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.08048, allocations: 3.938 kB / 442.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002549/0.08074, allocations: 161.3 kB / 442.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.08076, allocations: 4 kB / 442.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.08077, allocations: 4 kB / 442.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.08079, allocations: 0 / 442.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.08095, allocations: 47.92 kB / 443 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.08096, allocations: 0 / 443 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.08106, allocations: 23.92 kB / 443 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.08108, allocations: 8 kB / 443 MB, free: 6.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (21): * Single equations (assignments): 21 * 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 8.341e-05/0.08116, allocations: 129.7 kB / 443.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.08121, allocations: 15.75 kB / 443.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.08125, allocations: 16.84 kB / 443.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.08126, allocations: 4 kB / 443.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.08127, allocations: 0 / 443.2 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.08128, allocations: 3.984 kB / 443.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.08152, allocations: 257.5 kB / 443.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.08153, allocations: 3.938 kB / 443.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.0817, allocations: 31.98 kB / 443.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.08172, allocations: 0 / 443.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.08173, allocations: 15.92 kB / 443.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.08174, allocations: 0 / 443.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.08175, allocations: 0 / 443.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.08211, allocations: 289.8 kB / 443.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.08216, allocations: 88.98 kB / 443.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.08219, allocations: 0 / 443.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.0823, allocations: 12 kB / 443.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.08235, allocations: 11.98 kB / 443.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.08236, allocations: 4 kB / 443.9 MB, free: 5.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.528e-05/0.08241, allocations: 95.27 kB / 444 MB, free: 5.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08242, allocations: 0 / 444 MB, free: 5.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.08268, allocations: 51.91 kB / 444 MB, free: 5.062 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cbody.T,Ccont.T) * 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 (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 8.45e-05/0.08277, allocations: 107.2 kB / 444.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.08302, allocations: 114.9 kB / 444.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.08303, allocations: 0 / 444.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.584e-05/0.08313, allocations: 55.91 kB / 444.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.08341, allocations: 24.12 kB / 444.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.0842, allocations: 0.5652 MB / 444.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.08446, allocations: 0.724 MB / 445.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.08451, allocations: 15.44 kB / 445.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08452, allocations: 0 / 445.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of Templates: time 0.002904/0.08743, allocations: 1.752 MB / 447.4 MB, free: 1.637 MB / 318.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile (rm -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1)