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.001077/0.001078, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001645/0.001645, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2697/0.2697, allocations: 22.34 MB / 313.4 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004101, allocations: 15.98 kB / 381.9 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3427, allocations: 55.98 MB / 437.9 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.00205/0.3448, allocations: 1.911 MB / 439.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006874/0.3455, allocations: 492.5 kB / 440.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.3456, allocations: 5.188 kB / 440.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.3457, allocations: 21.52 kB / 440.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.3458, allocations: 51.78 kB / 440.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.346, allocations: 37.34 kB / 440.4 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.3461, allocations: 195.9 kB / 440.6 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.3463, allocations: 74.08 kB / 440.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.825e-05/0.3464, allocations: 62.11 kB / 440.7 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.3466, allocations: 80.2 kB / 440.8 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.3466, allocations: 6.938 kB / 440.8 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.048e-05/0.3466, allocations: 10.34 kB / 440.8 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.3467, allocations: 32.19 kB / 440.9 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.607e-05/0.3467, allocations: 58.08 kB / 440.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.3469, allocations: 158.4 kB / 441.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3469, allocations: 0 / 441.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3469, allocations: 3.969 kB / 441.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.3469, allocations: 0 / 441.1 MB, free: 37.13 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.000532/0.3474, allocations: 446 kB / 441.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.3475, allocations: 11.66 kB / 441.5 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.3475, allocations: 25.78 kB / 441.6 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.3477, allocations: 203.7 kB / 441.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.3478, allocations: 13.47 kB / 441.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.3478, allocations: 19.22 kB / 441.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.3481, allocations: 176.8 kB / 442 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.3482, allocations: 6.484 kB / 442 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3482, allocations: 4 kB / 442 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3482, allocations: 5.656 kB / 442 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.3484, allocations: 124.1 kB / 442.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008414/0.3493, allocations: 0.6752 MB / 442.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.3496, allocations: 132.5 kB / 442.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.3497, allocations: 69.64 kB / 443 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3497, allocations: 3.656 kB / 443 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.3497, allocations: 34.56 kB / 443 MB, free: 35.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3497, allocations: 0 / 443 MB, free: 35.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003457/0.3501, allocations: 173.3 kB / 443.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3501, allocations: 58.09 kB / 443.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.593e-05/0.3502, allocations: 123.1 kB / 443.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.3502, allocations: 28.36 kB / 443.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.3503, allocations: 135.2 kB / 443.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.3503, allocations: 64.62 kB / 443.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.3503, allocations: 4 kB / 443.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.246e-05/0.3504, allocations: 324.8 kB / 443.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.3505, allocations: 39.91 kB / 443.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.3506, allocations: 72.81 kB / 444 MB, free: 34.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.3507, allocations: 48.25 kB / 444.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3508, allocations: 2.875 kB / 444.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002343/0.351, allocations: 159.6 kB / 444.2 MB, free: 34.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.351, allocations: 9.031 kB / 444.2 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.351, allocations: 0 / 444.2 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3511, allocations: 2.688 kB / 444.2 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.3512, allocations: 45.88 kB / 444.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3512, allocations: 2.969 kB / 444.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.3513, allocations: 18.5 kB / 444.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3513, allocations: 7.062 kB / 444.3 MB, free: 34.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.888e-05/0.3514, allocations: 131.8 kB / 444.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3515, allocations: 9.688 kB / 444.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.3515, allocations: 23.86 kB / 444.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3515, allocations: 10.19 kB / 444.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3515, allocations: 4 kB / 444.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3515, allocations: 0 / 444.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.3517, allocations: 259.5 kB / 444.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3518, allocations: 0 / 444.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.3519, allocations: 31.11 kB / 444.8 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3519, allocations: 3.938 kB / 444.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3519, allocations: 10.62 kB / 444.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.352, allocations: 0 / 444.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.352, allocations: 3.328 kB / 444.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.3523, allocations: 280.2 kB / 445 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.3523, allocations: 92.55 kB / 445.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.3524, allocations: 3.141 kB / 445.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3525, allocations: 15.69 kB / 445.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3525, allocations: 8.641 kB / 445.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3525, allocations: 7.688 kB / 445.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.3526, allocations: 94.84 kB / 445.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3526, allocations: 0 / 445.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.3529, allocations: 46.09 kB / 445.3 MB, free: 33.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.324e-05/0.353, allocations: 103 kB / 445.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.3532, allocations: 114.4 kB / 445.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3532, allocations: 0 / 445.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.042e-05/0.3533, allocations: 55.84 kB / 445.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3536, allocations: 25.27 kB / 445.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008637/0.3545, allocations: 0.5653 MB / 446.2 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.3547, allocations: 0.7196 MB / 446.9 MB, free: 32.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.529e-05/0.3548, allocations: 17.86 kB / 446.9 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.3548, allocations: 16.12 kB / 446.9 MB, free: 32.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3548, allocations: 0 / 446.9 MB, free: 32.65 MB / 350.1 MB Notification: Performance of Templates: time 0.003662/0.3585, allocations: 1.067 MB / 448 MB, free: 32.55 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)