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.001265/0.001265, allocations: 104.4 kB / 16.27 MB, free: 6.418 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.001288/0.001288, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09439/0.09439, allocations: 22.33 MB / 313.4 MB, free: 8.949 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 61.34 kB / 381.5 MB, free: 41.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07317/0.07443, allocations: 54.97 MB / 436.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003268/0.07773, allocations: 2.262 MB / 438.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007892/0.07854, allocations: 0.5142 MB / 439.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.642e-05/0.07865, allocations: 4 kB / 439.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.07878, allocations: 35.64 kB / 439.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.07891, allocations: 59.48 kB / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001333/0.07905, allocations: 39.95 kB / 439.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.07927, allocations: 222.9 kB / 439.5 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.07947, allocations: 100 kB / 439.6 MB, free: 9.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.07956, allocations: 75.78 kB / 439.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.07969, allocations: 95.62 kB / 439.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.07974, allocations: 16 kB / 439.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.615e-05/0.07978, allocations: 23.94 kB / 439.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.07982, allocations: 39.84 kB / 439.9 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.901e-05/0.07992, allocations: 87.61 kB / 440 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.08013, allocations: 215.5 kB / 440.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.08014, allocations: 0 / 440.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.08015, allocations: 0 / 440.2 MB, free: 9.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.08016, allocations: 0 / 440.2 MB, free: 9.207 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.0006015/0.08077, allocations: 483.2 kB / 440.7 MB, free: 8.688 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.0808, allocations: 11.97 kB / 440.7 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.08086, allocations: 20.75 kB / 440.7 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.08107, allocations: 212 kB / 440.9 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.0811, allocations: 16.81 kB / 440.9 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/0.08114, allocations: 20.38 kB / 440.9 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.08147, allocations: 179.5 kB / 441.1 MB, free: 8.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.0815, allocations: 7.938 kB / 441.1 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.08152, allocations: 4 kB / 441.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.08154, allocations: 4 kB / 441.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.08181, allocations: 125.7 kB / 441.2 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.08277, allocations: 0.6718 MB / 441.9 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.08307, allocations: 134.5 kB / 442.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.08321, allocations: 72.77 kB / 442.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.08323, allocations: 0 / 442.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.08325, allocations: 38.56 kB / 442.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.08326, allocations: 0 / 442.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003843/0.08365, allocations: 168.6 kB / 442.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.0837, allocations: 59.34 kB / 442.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.08379, allocations: 129.8 kB / 442.5 MB, free: 6.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.08382, allocations: 29.7 kB / 442.5 MB, free: 6.648 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.08389, allocations: 132.1 kB / 442.7 MB, free: 6.516 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.08394, allocations: 55.19 kB / 442.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.08399, allocations: 37.7 kB / 442.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.0841, allocations: 322.8 kB / 443.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.08421, allocations: 39.92 kB / 443.1 MB, free: 6.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.08432, allocations: 75.41 kB / 443.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.08453, allocations: 117.4 kB / 443.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.08454, allocations: 4 kB / 443.3 MB, free: 5.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002664/0.08481, allocations: 161.4 kB / 443.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.08484, allocations: 4 kB / 443.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.08485, allocations: 11.97 kB / 443.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.08487, allocations: 3.938 kB / 443.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.08505, allocations: 43.92 kB / 443.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.08507, allocations: 4 kB / 443.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.08515, allocations: 15.84 kB / 443.5 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.08516, allocations: 4 kB / 443.5 MB, free: 5.59 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.103e-05/0.08526, allocations: 134.7 kB / 443.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.0853, allocations: 15.75 kB / 443.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.08535, allocations: 24.77 kB / 443.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.08536, allocations: 0 / 443.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.08537, allocations: 0 / 443.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.08537, allocations: 0 / 443.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.08565, allocations: 257.5 kB / 444 MB, free: 5.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.08566, allocations: 3.938 kB / 444 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.08585, allocations: 39.92 kB / 444 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.08587, allocations: 8 kB / 444 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.08588, allocations: 0 / 444 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.08589, allocations: 0 / 444 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0859, allocations: 0 / 444 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.08629, allocations: 289.8 kB / 444.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.08634, allocations: 88.98 kB / 444.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.08637, allocations: 4 kB / 444.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.08649, allocations: 12.05 kB / 444.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.08654, allocations: 15.98 kB / 444.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.08655, allocations: 0 / 444.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.371e-05/0.08661, allocations: 102.4 kB / 444.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.08662, allocations: 0 / 444.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.08689, allocations: 47.84 kB / 444.6 MB, free: 4.484 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 9.334e-05/0.08699, allocations: 95.25 kB / 444.7 MB, free: 4.379 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002672/0.08726, allocations: 131.8 kB / 444.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.08727, allocations: 0 / 444.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.08738, allocations: 51.92 kB / 444.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.08769, allocations: 23.91 kB / 444.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008322/0.08853, allocations: 495.1 kB / 445.3 MB, free: 3.656 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.08882, allocations: 0.7162 MB / 446.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.08887, allocations: 19.42 kB / 446.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08888, allocations: 3.938 kB / 446.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of Templates: time 0.003183/0.09207, allocations: 1.758 MB / 447.8 MB, free: 1.133 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)