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.005932/0.005932, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001364/0.001364, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.306/1.306, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2114/0.2114, allocations: 22.36 MB / 313 MB, free: 12.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 63.89 kB / 380.8 MB, free: 11.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.24, allocations: 54.94 MB / 435.7 MB, free: 39.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003276/0.2433, allocations: 2.34 MB / 438 MB, free: 38.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007808/0.2442, allocations: 0.4978 MB / 438.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.2444, allocations: 7.156 kB / 438.6 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.2445, allocations: 20.75 kB / 438.6 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.2447, allocations: 54.28 kB / 438.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.2449, allocations: 39.28 kB / 438.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.2451, allocations: 209.2 kB / 438.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.2453, allocations: 90.41 kB / 439 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.2454, allocations: 71.02 kB / 439 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.2456, allocations: 82.86 kB / 439.1 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.2456, allocations: 19.41 kB / 439.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.2457, allocations: 13.28 kB / 439.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.2457, allocations: 37.5 kB / 439.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.2458, allocations: 97.41 kB / 439.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.2459, allocations: 159.9 kB / 439.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2459, allocations: 0 / 439.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.246, allocations: 0 / 439.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.246, allocations: 4 kB / 439.4 MB, free: 37.36 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.0005525/0.2465, allocations: 475.8 kB / 439.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2466, allocations: 8.062 kB / 439.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.2466, allocations: 20.06 kB / 439.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.2468, allocations: 208.8 kB / 440.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.2468, allocations: 22.81 kB / 440.1 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.2469, allocations: 19.94 kB / 440.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.2472, allocations: 177.6 kB / 440.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2472, allocations: 2.656 kB / 440.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2472, allocations: 8 kB / 440.4 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2473, allocations: 5.469 kB / 440.4 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.2475, allocations: 120.4 kB / 440.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.2483, allocations: 0.6789 MB / 441.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.2486, allocations: 125.8 kB / 441.3 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.2488, allocations: 74.91 kB / 441.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.2488, allocations: 10.48 kB / 441.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.2488, allocations: 34.56 kB / 441.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.2488, allocations: 0 / 441.4 MB, free: 35.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003767/0.2492, allocations: 166 kB / 441.6 MB, free: 35.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.2492, allocations: 57.97 kB / 441.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.2493, allocations: 126.4 kB / 441.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2493, allocations: 29.7 kB / 441.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.2494, allocations: 138.6 kB / 441.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.2494, allocations: 57.31 kB / 442 MB, free: 35.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.2495, allocations: 32.17 kB / 442 MB, free: 35.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.223e-05/0.2495, allocations: 329 kB / 442.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.2496, allocations: 43.69 kB / 442.3 MB, free: 35.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.2497, allocations: 73.62 kB / 442.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.2499, allocations: 118.7 kB / 442.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2499, allocations: 0 / 442.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002332/0.2502, allocations: 163.1 kB / 442.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2502, allocations: 5.625 kB / 442.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2502, allocations: 6.125 kB / 442.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2502, allocations: 0 / 442.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.2504, allocations: 46 kB / 442.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2504, allocations: 0 / 442.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.2505, allocations: 24.06 kB / 442.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.2505, allocations: 10.8 kB / 442.8 MB, free: 34.84 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.579e-05/0.2506, allocations: 126.7 kB / 442.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.2506, allocations: 17.5 kB / 442.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.2507, allocations: 20.22 kB / 442.9 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2507, allocations: 3.031 kB / 443 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2507, allocations: 0 / 443 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2507, allocations: 7.938 kB / 443 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.2509, allocations: 258.4 kB / 443.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.2509, allocations: 3.938 kB / 443.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.2511, allocations: 34.75 kB / 443.2 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2511, allocations: 3.875 kB / 443.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.2512, allocations: 4 kB / 443.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2512, allocations: 0 / 443.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2512, allocations: 0 / 443.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.2515, allocations: 290.2 kB / 443.5 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.2516, allocations: 95.73 kB / 443.6 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.2516, allocations: 6.906 kB / 443.6 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2517, allocations: 9.172 kB / 443.6 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.2518, allocations: 7.031 kB / 443.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2518, allocations: 7.75 kB / 443.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.758e-05/0.2518, allocations: 93.5 kB / 443.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2518, allocations: 0 / 443.8 MB, free: 34.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.2521, allocations: 51.59 kB / 443.8 MB, free: 34.03 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.927e-05/0.2522, allocations: 100.2 kB / 443.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002332/0.2524, allocations: 111.9 kB / 444 MB, free: 33.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.2524, allocations: 7.875 kB / 444 MB, free: 33.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.458e-05/0.2525, allocations: 52.7 kB / 444.1 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.2529, allocations: 25.52 kB / 444.1 MB, free: 33.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.2537, allocations: 0.5548 MB / 444.7 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2538, allocations: 0.7226 MB / 445.4 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.2538, allocations: 16.06 kB / 445.4 MB, free: 32.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2539, allocations: 0 / 445.4 MB, free: 32.74 MB / 350.1 MB Notification: Performance of Templates: time 0.00283/0.2567, allocations: 1.765 MB / 447.2 MB, free: 32.57 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)