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.001498/0.001498, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001134/0.001134, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0896/0.0896, allocations: 22.32 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 65.25 kB / 382.2 MB, free: 40.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08973/0.09095, allocations: 54.96 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003544/0.09453, allocations: 2.276 MB / 439.5 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.09536, allocations: 0.5104 MB / 440 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.0955, allocations: 4 kB / 440 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.09566, allocations: 35.66 kB / 440 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.09578, allocations: 55.48 kB / 440.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.09595, allocations: 47.88 kB / 440.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.09623, allocations: 222.9 kB / 440.4 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.09649, allocations: 92.03 kB / 440.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.874e-05/0.09659, allocations: 87.72 kB / 440.5 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.09673, allocations: 87.62 kB / 440.6 MB, free: 8.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.09677, allocations: 19.94 kB / 440.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.09681, allocations: 20 kB / 440.7 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.836e-05/0.09685, allocations: 35.91 kB / 440.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.879e-05/0.09696, allocations: 99.53 kB / 440.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.09719, allocations: 215.2 kB / 441 MB, free: 8.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.0972, allocations: 0 / 441 MB, free: 8.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.09721, allocations: 0 / 441 MB, free: 8.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.09722, allocations: 0 / 441 MB, free: 8.461 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.0006568/0.09788, allocations: 483.3 kB / 441.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.09792, allocations: 8.031 kB / 441.5 MB, free: 7.934 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.754e-05/0.09799, allocations: 24.73 kB / 441.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.09826, allocations: 212.1 kB / 441.7 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.09829, allocations: 20.75 kB / 441.7 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.09833, allocations: 20.38 kB / 441.7 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.09867, allocations: 175.6 kB / 441.9 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.09869, allocations: 4 kB / 441.9 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.09872, allocations: 4 kB / 441.9 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.09873, allocations: 4 kB / 441.9 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/0.099, allocations: 125.7 kB / 442.1 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.09997, allocations: 0.6757 MB / 442.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.1003, allocations: 130.4 kB / 442.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.1004, allocations: 68.83 kB / 442.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.1004, allocations: 4 kB / 442.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1004, allocations: 34.56 kB / 443 MB, free: 6.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.1005, allocations: 0 / 443 MB, free: 6.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003747/0.1008, allocations: 173.7 kB / 443.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.1009, allocations: 63.28 kB / 443.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/0.101, allocations: 117.8 kB / 443.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.101, allocations: 29.7 kB / 443.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.1011, allocations: 132.1 kB / 443.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.1011, allocations: 55.19 kB / 443.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.1012, allocations: 41.7 kB / 443.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1013, allocations: 322.8 kB / 443.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.1014, allocations: 39.92 kB / 443.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.1015, allocations: 73.66 kB / 444 MB, free: 5.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.1017, allocations: 123.4 kB / 444.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1017, allocations: 0 / 444.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002666/0.102, allocations: 163.8 kB / 444.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.102, allocations: 4 kB / 444.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.102, allocations: 4 kB / 444.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1021, allocations: 96 / 444.3 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.1022, allocations: 47.92 kB / 444.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1023, allocations: 0 / 444.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.1023, allocations: 19.83 kB / 444.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1024, allocations: 4 kB / 444.3 MB, free: 4.855 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 9.551e-05/0.1025, allocations: 134.5 kB / 444.5 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.1025, allocations: 15.75 kB / 444.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.1025, allocations: 20.84 kB / 444.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1026, allocations: 0 / 444.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1026, allocations: 8 kB / 444.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1026, allocations: 3.984 kB / 444.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.1028, allocations: 249.5 kB / 444.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1029, allocations: 3.938 kB / 444.8 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.103, allocations: 35.98 kB / 444.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1031, allocations: 0 / 444.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1031, allocations: 3.984 kB / 444.8 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1031, allocations: 3.938 kB / 444.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.1031, allocations: 4 kB / 444.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003964/0.1035, allocations: 302 kB / 445.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.1035, allocations: 88.98 kB / 445.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1036, allocations: 4 kB / 445.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1037, allocations: 8 kB / 445.2 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1037, allocations: 7.984 kB / 445.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.1038, allocations: 4 kB / 445.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.103e-05/0.1038, allocations: 99.27 kB / 445.3 MB, free: 3.793 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1038, allocations: 4.062 kB / 445.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1041, allocations: 47.84 kB / 445.4 MB, free: 3.742 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 0.0001012/0.1042, allocations: 103.2 kB / 445.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.1045, allocations: 111.8 kB / 445.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1045, allocations: 0 / 445.6 MB, free: 3.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.1046, allocations: 59.91 kB / 445.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.1049, allocations: 20.12 kB / 445.7 MB, free: 3.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.1056, allocations: 457.1 kB / 446.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1059, allocations: 0.724 MB / 446.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.106, allocations: 12.64 kB / 446.8 MB, free: 2.199 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.106, allocations: 15.44 kB / 446.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.106, allocations: 0 / 446.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of Templates: time 0.0035/0.1095, allocations: 1.193 MB / 448 MB, free: 1.004 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 -s cvode -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1)