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.00136/0.00136, allocations: 106.5 kB / 16.36 MB, free: 5.824 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.001349/0.001349, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09226/0.09226, allocations: 22.32 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 60.91 kB / 382.2 MB, free: 41.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09399, allocations: 54.97 MB / 437.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003398/0.09743, allocations: 2.276 MB / 439.5 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008197/0.09827, allocations: 0.5143 MB / 440 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.909e-05/0.09838, allocations: 4 kB / 440 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.09857, allocations: 31.64 kB / 440 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.09869, allocations: 59.48 kB / 440.1 MB, free: 9.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.09884, allocations: 39.94 kB / 440.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.0991, allocations: 230.9 kB / 440.3 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.09931, allocations: 96.03 kB / 440.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.09941, allocations: 71.78 kB / 440.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.09955, allocations: 95.56 kB / 440.6 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.0996, allocations: 20 kB / 440.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.982e-05/0.09963, allocations: 16 kB / 440.6 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.09968, allocations: 39.84 kB / 440.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.09978, allocations: 95.59 kB / 440.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1, allocations: 219.2 kB / 441 MB, free: 8.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1, allocations: 0 / 441 MB, free: 8.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1, allocations: 0 / 441 MB, free: 8.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1, allocations: 0 / 441 MB, free: 8.43 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.0006207/0.1007, allocations: 483.3 kB / 441.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1007, allocations: 8.031 kB / 441.5 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.1008, allocations: 20.75 kB / 441.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.101, allocations: 208.1 kB / 441.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.101, allocations: 20.75 kB / 441.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.1011, allocations: 20.38 kB / 441.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.1014, allocations: 183.6 kB / 441.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1014, allocations: 0 / 441.9 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1015, allocations: 4 kB / 441.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1015, allocations: 12 kB / 441.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.1017, allocations: 117.7 kB / 442 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009756/0.1027, allocations: 0.6796 MB / 442.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.103, allocations: 130.5 kB / 442.8 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1032, allocations: 64.83 kB / 442.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1032, allocations: 4 kB / 442.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1032, allocations: 38.56 kB / 442.9 MB, free: 6.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.1032, allocations: 3.938 kB / 443 MB, free: 6.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003948/0.1036, allocations: 172.5 kB / 443.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1037, allocations: 63.27 kB / 443.2 MB, free: 6.039 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.1038, allocations: 121.8 kB / 443.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1038, allocations: 29.7 kB / 443.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.1039, allocations: 132.1 kB / 443.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/0.1039, allocations: 63.19 kB / 443.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.104, allocations: 37.7 kB / 443.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1041, allocations: 322.8 kB / 443.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.443e-05/0.1042, allocations: 39.98 kB / 443.9 MB, free: 5.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1043, allocations: 67.41 kB / 444 MB, free: 5.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1045, allocations: 125.2 kB / 444.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1046, allocations: 0 / 444.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002746/0.1048, allocations: 163.5 kB / 444.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1049, allocations: 8 kB / 444.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1049, allocations: 96 / 444.3 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1049, allocations: 8 kB / 444.3 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1051, allocations: 39.92 kB / 444.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1051, allocations: 0 / 444.3 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.787e-05/0.1052, allocations: 15.84 kB / 444.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1052, allocations: 11.98 kB / 444.3 MB, free: 4.816 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 0.0001033/0.1053, allocations: 130.5 kB / 444.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.1053, allocations: 19.75 kB / 444.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.1054, allocations: 12.84 kB / 444.5 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1054, allocations: 8 kB / 444.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1054, allocations: 0 / 444.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1054, allocations: 0 / 444.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.1057, allocations: 257.5 kB / 444.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1057, allocations: 3.938 kB / 444.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.1059, allocations: 35.98 kB / 444.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1059, allocations: 0 / 444.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1059, allocations: 0 / 444.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1059, allocations: 4 kB / 444.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1059, allocations: 3.984 kB / 444.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.1063, allocations: 287.2 kB / 445.1 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.1064, allocations: 92.97 kB / 445.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1064, allocations: 4 kB / 445.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1065, allocations: 8 kB / 445.2 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.1066, allocations: 11.98 kB / 445.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.1066, allocations: 4 kB / 445.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.5e-05/0.1067, allocations: 103.3 kB / 445.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1067, allocations: 0 / 445.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.107, allocations: 51.78 kB / 445.4 MB, free: 3.711 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.0001006/0.1071, allocations: 99.19 kB / 445.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1073, allocations: 115.8 kB / 445.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1073, allocations: 0 / 445.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1075, allocations: 52.11 kB / 445.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1077, allocations: 29.98 kB / 445.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008226/0.1086, allocations: 457.2 kB / 446.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1088, allocations: 0.724 MB / 446.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.1089, allocations: 8.656 kB / 446.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.109, allocations: 15.44 kB / 446.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.109, allocations: 0 / 446.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of Templates: time 0.003636/0.1126, allocations: 1.2 MB / 448 MB, free: 0.9727 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 gbode -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1)