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.0011/0.0011, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2237/0.2237, allocations: 22.35 MB / 312.7 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 55.91 kB / 380.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.311, allocations: 54.95 MB / 435.8 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003622/0.3147, allocations: 2.275 MB / 438 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007802/0.3155, allocations: 0.5169 MB / 438.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.357e-05/0.3156, allocations: 2.469 kB / 438.6 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.3157, allocations: 27.78 kB / 438.6 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.245e-05/0.3158, allocations: 62.5 kB / 438.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.3159, allocations: 50.56 kB / 438.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3161, allocations: 210.7 kB / 438.9 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.3163, allocations: 102 kB / 439 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.809e-05/0.3164, allocations: 79.81 kB / 439.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.3165, allocations: 85.67 kB / 439.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.3165, allocations: 20.22 kB / 439.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.173e-05/0.3166, allocations: 17.59 kB / 439.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.3166, allocations: 41.73 kB / 439.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.757e-05/0.3167, allocations: 101.8 kB / 439.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.3168, allocations: 205 kB / 439.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3169, allocations: 3.328 kB / 439.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3169, allocations: 0 / 439.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3169, allocations: 0 / 439.5 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.0005137/0.3174, allocations: 475.1 kB / 440 MB, free: 36.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3174, allocations: 16.25 kB / 440 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.3175, allocations: 24.38 kB / 440 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3177, allocations: 213.6 kB / 440.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3177, allocations: 14.97 kB / 440.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.3178, allocations: 19.72 kB / 440.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.3181, allocations: 173 kB / 440.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.3181, allocations: 0 / 440.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3181, allocations: 10.81 kB / 440.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3182, allocations: 8.5 kB / 440.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.3184, allocations: 122.6 kB / 440.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009342/0.3194, allocations: 0.6762 MB / 441.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.3196, allocations: 134.3 kB / 441.4 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3197, allocations: 73.77 kB / 441.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.3198, allocations: 4 kB / 441.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.3198, allocations: 37.53 kB / 441.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.3198, allocations: 0 / 441.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003474/0.3202, allocations: 169.5 kB / 441.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.3202, allocations: 58.16 kB / 441.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.3203, allocations: 130 kB / 441.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3203, allocations: 32.61 kB / 441.9 MB, free: 35.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.3203, allocations: 131.9 kB / 442 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.3204, allocations: 56.48 kB / 442.1 MB, free: 35.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.3204, allocations: 36.86 kB / 442.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.3205, allocations: 321.1 kB / 442.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.3206, allocations: 42.47 kB / 442.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.3207, allocations: 66.39 kB / 442.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.3208, allocations: 124.4 kB / 442.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3209, allocations: 0 / 442.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002288/0.3211, allocations: 163.5 kB / 442.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3211, allocations: 8.672 kB / 442.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3211, allocations: 7.094 kB / 442.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3211, allocations: 0 / 442.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3213, allocations: 41.75 kB / 442.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3213, allocations: 2.688 kB / 442.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.3214, allocations: 14.06 kB / 442.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3214, allocations: 13.53 kB / 442.9 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.03e-05/0.3215, allocations: 128.2 kB / 443 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.3215, allocations: 18.61 kB / 443 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.3216, allocations: 23.66 kB / 443.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3216, allocations: 0 / 443.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3216, allocations: 0 / 443.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3216, allocations: 6.172 kB / 443.1 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3218, allocations: 254.9 kB / 443.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3218, allocations: 3.938 kB / 443.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.322, allocations: 41.3 kB / 443.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.322, allocations: 0 / 443.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.322, allocations: 6.5 kB / 443.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.322, allocations: 4 kB / 443.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.322, allocations: 4 kB / 443.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3223, allocations: 279.7 kB / 443.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.3224, allocations: 100.7 kB / 443.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3224, allocations: 0 / 443.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3225, allocations: 7.781 kB / 443.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3226, allocations: 13.56 kB / 443.8 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3226, allocations: 10.91 kB / 443.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.54e-05/0.3226, allocations: 95.88 kB / 443.9 MB, free: 33.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3226, allocations: 0 / 443.9 MB, free: 33.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.3229, allocations: 47.44 kB / 443.9 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.636e-05/0.323, allocations: 101.9 kB / 444 MB, free: 33.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.3232, allocations: 116.5 kB / 444.1 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3232, allocations: 192 / 444.1 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.3233, allocations: 58.95 kB / 444.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3237, allocations: 23.47 kB / 444.2 MB, free: 33.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.3245, allocations: 469.7 kB / 444.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.3246, allocations: 0.7205 MB / 445.4 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.776e-05/0.3247, allocations: 14.31 kB / 445.4 MB, free: 32.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.3247, allocations: 16.38 kB / 445.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3247, allocations: 0 / 445.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of Templates: time 0.003332/0.3281, allocations: 1.194 MB / 446.6 MB, free: 32.56 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)