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.0009718/0.0009722, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006499/0.006499, allocations: 174.1 kB / 16.26 MB, free: 6.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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2316/0.2316, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 16.2 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 55.98 MB / 438.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002099/0.2907, allocations: 1.975 MB / 440.5 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006651/0.2914, allocations: 0.4995 MB / 441 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.2915, allocations: 5.188 kB / 441 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.2916, allocations: 21.06 kB / 441.1 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2917, allocations: 47.31 kB / 441.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.2919, allocations: 37.86 kB / 441.2 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2921, allocations: 205.7 kB / 441.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.2923, allocations: 84.52 kB / 441.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.2924, allocations: 62.11 kB / 441.5 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.2925, allocations: 80.22 kB / 441.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.874e-05/0.2925, allocations: 12.91 kB / 441.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.609e-05/0.2926, allocations: 11.56 kB / 441.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.2926, allocations: 32.39 kB / 441.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.2927, allocations: 114.2 kB / 441.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2929, allocations: 200.7 kB / 441.9 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2929, allocations: 0 / 441.9 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2929, allocations: 0 / 441.9 MB, free: 37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2929, allocations: 0 / 441.9 MB, free: 37 MB / 350.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.0004751/0.2934, allocations: 448.4 kB / 442.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2934, allocations: 13.12 kB / 442.4 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.2935, allocations: 22.09 kB / 442.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.2937, allocations: 211.9 kB / 442.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.2937, allocations: 16.86 kB / 442.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.2937, allocations: 23.88 kB / 442.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.294, allocations: 174 kB / 442.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2941, allocations: 3.984 kB / 442.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.2941, allocations: 10.91 kB / 442.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2941, allocations: 2.844 kB / 442.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.2943, allocations: 127.4 kB / 443 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.2952, allocations: 0.6727 MB / 443.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.2954, allocations: 139.1 kB / 443.8 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.2955, allocations: 70.08 kB / 443.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.2956, allocations: 0 / 443.8 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.2956, allocations: 33.47 kB / 443.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 8.71e-07/0.2956, allocations: 0 / 443.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003588/0.296, allocations: 162.2 kB / 444 MB, free: 35.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.296, allocations: 58.25 kB / 444.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.2961, allocations: 139.8 kB / 444.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.2961, allocations: 25.7 kB / 444.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.2962, allocations: 131.7 kB / 444.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.2962, allocations: 55.73 kB / 444.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.2962, allocations: 30.56 kB / 444.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.2963, allocations: 321.1 kB / 444.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.344e-05/0.2964, allocations: 41.02 kB / 444.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.2965, allocations: 73.42 kB / 444.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.2967, allocations: 121.7 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2967, allocations: 2.906 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002381/0.2969, allocations: 163.6 kB / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2969, allocations: 5.812 kB / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.297, allocations: 3.938 kB / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.297, allocations: 3.625 kB / 445.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.2971, allocations: 47.91 kB / 445.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.2971, allocations: 0 / 445.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.2972, allocations: 14 kB / 445.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.2973, allocations: 10.06 kB / 445.3 MB, free: 34.5 MB / 350.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 7.976e-05/0.2973, allocations: 139.6 kB / 445.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.2974, allocations: 14.89 kB / 445.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.253e-05/0.2974, allocations: 12.84 kB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2974, allocations: 3.812 kB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2974, allocations: 4 kB / 445.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2974, allocations: 0 / 445.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2977, allocations: 255.8 kB / 445.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2977, allocations: 0 / 445.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.2978, allocations: 39.98 kB / 445.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2978, allocations: 4 kB / 445.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2979, allocations: 4 kB / 445.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2979, allocations: 2.906 kB / 445.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2979, allocations: 0 / 445.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.2982, allocations: 283.6 kB / 446 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.2983, allocations: 98.5 kB / 446.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2983, allocations: 4 kB / 446.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2984, allocations: 9.469 kB / 446.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.2985, allocations: 14.33 kB / 446.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.2985, allocations: 3.562 kB / 446.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.2985, allocations: 97.88 kB / 446.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2985, allocations: 0 / 446.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000246/0.2988, allocations: 47.19 kB / 446.3 MB, free: 33.7 MB / 350.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 7.757e-05/0.2989, allocations: 109.7 kB / 446.4 MB, free: 33.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2991, allocations: 114.5 kB / 446.5 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2991, allocations: 0 / 446.5 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.2992, allocations: 58.19 kB / 446.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2995, allocations: 23.62 kB / 446.6 MB, free: 33.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007368/0.3003, allocations: 0.5785 MB / 447.1 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3004, allocations: 0.7231 MB / 447.9 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.456e-05/0.3005, allocations: 14.53 kB / 447.9 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.3005, allocations: 11.34 kB / 447.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3005, allocations: 0 / 447.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of Templates: time 0.003369/0.3039, allocations: 1.112 MB / 449 MB, free: 32.31 MB / 350.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)