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.001315/0.001315, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001266/0.001266, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2051/0.2051, allocations: 22.37 MB / 312.4 MB, free: 12.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 55.91 kB / 380.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2826, allocations: 54.94 MB / 435.2 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003296/0.286, allocations: 2.335 MB / 437.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.2868, allocations: 0.5021 MB / 438.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2869, allocations: 2.906 kB / 438.1 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2871, allocations: 20.47 kB / 438.1 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2872, allocations: 57.17 kB / 438.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.2874, allocations: 39.11 kB / 438.2 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.2876, allocations: 210.7 kB / 438.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.2878, allocations: 102.3 kB / 438.5 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.2879, allocations: 78.77 kB / 438.6 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.288, allocations: 94.3 kB / 438.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.288, allocations: 16.78 kB / 438.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.2881, allocations: 19.81 kB / 438.7 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.2881, allocations: 43.67 kB / 438.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.2882, allocations: 100.2 kB / 438.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2884, allocations: 208.7 kB / 439.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2884, allocations: 0 / 439.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2884, allocations: 0 / 439.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2884, allocations: 0 / 439.1 MB, free: 37.19 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.0005386/0.2889, allocations: 478.8 kB / 439.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.289, allocations: 7.875 kB / 439.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.289, allocations: 28.53 kB / 439.6 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.2892, allocations: 211.9 kB / 439.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2892, allocations: 18.19 kB / 439.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.2893, allocations: 17.72 kB / 439.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.2896, allocations: 175.4 kB / 440 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2896, allocations: 0 / 440 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.2896, allocations: 10.84 kB / 440 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.2897, allocations: 5.688 kB / 440 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.2899, allocations: 121.1 kB / 440.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000839/0.2907, allocations: 0.6838 MB / 440.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.291, allocations: 135.7 kB / 440.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.2912, allocations: 64.41 kB / 441 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2912, allocations: 2.781 kB / 441 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2912, allocations: 38.56 kB / 441 MB, free: 35.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2912, allocations: 0 / 441 MB, free: 35.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003726/0.2916, allocations: 166.1 kB / 441.2 MB, free: 35.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.2916, allocations: 61.03 kB / 441.2 MB, free: 35.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.2917, allocations: 132.2 kB / 441.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2917, allocations: 29.7 kB / 441.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.2918, allocations: 127.6 kB / 441.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.2919, allocations: 67.08 kB / 441.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.2919, allocations: 35.25 kB / 441.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.292, allocations: 318.2 kB / 441.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.985e-05/0.2921, allocations: 41.31 kB / 442 MB, free: 34.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.2922, allocations: 66.75 kB / 442 MB, free: 34.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.2923, allocations: 124 kB / 442.2 MB, free: 34.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2924, allocations: 0 / 442.2 MB, free: 34.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002316/0.2926, allocations: 168.9 kB / 442.3 MB, free: 34.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2926, allocations: 9.094 kB / 442.3 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2926, allocations: 0 / 442.3 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2926, allocations: 6.719 kB / 442.3 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.2928, allocations: 41.28 kB / 442.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2928, allocations: 0 / 442.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.2929, allocations: 21.75 kB / 442.4 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.2929, allocations: 2.719 kB / 442.4 MB, free: 34.67 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.573e-05/0.293, allocations: 132 kB / 442.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.293, allocations: 20.86 kB / 442.6 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.464e-05/0.2931, allocations: 19.41 kB / 442.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2931, allocations: 3.094 kB / 442.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2931, allocations: 0 / 442.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2931, allocations: 0 / 442.6 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.2933, allocations: 257.1 kB / 442.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2933, allocations: 6.656 kB / 442.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.2935, allocations: 38.5 kB / 442.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2935, allocations: 0 / 442.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2935, allocations: 7.312 kB / 442.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.2936, allocations: 7.984 kB / 442.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2936, allocations: 0 / 442.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.2939, allocations: 280.4 kB / 443.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.2939, allocations: 95.55 kB / 443.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.294, allocations: 6.781 kB / 443.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.2941, allocations: 8.719 kB / 443.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.2941, allocations: 10.31 kB / 443.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.2941, allocations: 7.031 kB / 443.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.964e-05/0.2942, allocations: 96.55 kB / 443.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2942, allocations: 0 / 443.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.2945, allocations: 52.12 kB / 443.4 MB, free: 33.86 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.492e-05/0.2945, allocations: 98.91 kB / 443.5 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002551/0.2948, allocations: 118.5 kB / 443.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2948, allocations: 192 / 443.7 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.2949, allocations: 61.23 kB / 443.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2953, allocations: 17.34 kB / 443.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.296, allocations: 0.5341 MB / 444.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.2961, allocations: 0.7271 MB / 445 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.833e-05/0.2962, allocations: 10.75 kB / 445 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.2963, allocations: 19.84 kB / 445 MB, free: 32.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2963, allocations: 0 / 445 MB, free: 32.59 MB / 350.1 MB Notification: Performance of Templates: time 0.00338/0.2997, allocations: 1.164 MB / 446.2 MB, free: 32.48 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)