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.001612/0.001612, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001761/0.001761, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.206/0.206, allocations: 22.36 MB / 312.3 MB, free: 12.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 380.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.252, allocations: 54.94 MB / 435 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002737/0.2548, allocations: 2.343 MB / 437.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006015/0.2554, allocations: 0.4988 MB / 437.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.2555, allocations: 2.812 kB / 437.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.2556, allocations: 21.53 kB / 437.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.167e-05/0.2557, allocations: 55.27 kB / 438 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.2559, allocations: 36.39 kB / 438 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001583/0.2561, allocations: 207.6 kB / 438.2 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.2562, allocations: 92.67 kB / 438.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.783e-05/0.2563, allocations: 71.67 kB / 438.4 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.984e-05/0.2564, allocations: 84.55 kB / 438.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.2564, allocations: 12.72 kB / 438.5 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.2565, allocations: 18.62 kB / 438.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.2565, allocations: 37.53 kB / 438.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.64e-05/0.2566, allocations: 96.81 kB / 438.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.2568, allocations: 204.1 kB / 438.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2568, allocations: 0 / 438.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2568, allocations: 0 / 438.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.2568, allocations: 3.938 kB / 438.8 MB, free: 37.15 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.00051/0.2573, allocations: 481.9 kB / 439.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2573, allocations: 12 kB / 439.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.2574, allocations: 21.12 kB / 439.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2576, allocations: 210.4 kB / 439.5 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2576, allocations: 17.47 kB / 439.5 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.2577, allocations: 16 kB / 439.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.258, allocations: 182.2 kB / 439.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.258, allocations: 0 / 439.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.258, allocations: 8 kB / 439.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.258, allocations: 5.406 kB / 439.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.2583, allocations: 120.3 kB / 439.9 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007911/0.2591, allocations: 0.6748 MB / 440.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.2593, allocations: 143.9 kB / 440.7 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.2594, allocations: 65.17 kB / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2595, allocations: 2.875 kB / 440.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.2595, allocations: 37.38 kB / 440.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.2595, allocations: 0 / 440.8 MB, free: 35.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003517/0.2599, allocations: 170.8 kB / 440.9 MB, free: 35.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.2599, allocations: 58.22 kB / 441 MB, free: 35.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.148e-05/0.26, allocations: 132.3 kB / 441.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.26, allocations: 29.7 kB / 441.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.26, allocations: 125.7 kB / 441.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.2601, allocations: 65.91 kB / 441.3 MB, free: 35.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.2601, allocations: 36.16 kB / 441.4 MB, free: 35.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.202e-05/0.2602, allocations: 321 kB / 441.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.2603, allocations: 38.66 kB / 441.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/0.2604, allocations: 72.91 kB / 441.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2606, allocations: 117.8 kB / 441.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2606, allocations: 4 kB / 441.9 MB, free: 34.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002329/0.2608, allocations: 166.6 kB / 442.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2608, allocations: 14.92 kB / 442.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2608, allocations: 3.938 kB / 442.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2609, allocations: 3.844 kB / 442.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.261, allocations: 35 kB / 442.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.261, allocations: 2.812 kB / 442.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.2611, allocations: 24.83 kB / 442.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2612, allocations: 5.562 kB / 442.2 MB, free: 34.63 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.622e-05/0.2612, allocations: 134.2 kB / 442.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.2613, allocations: 13.47 kB / 442.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.2613, allocations: 16.36 kB / 442.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2613, allocations: 2.688 kB / 442.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2613, allocations: 4 kB / 442.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2613, allocations: 0 / 442.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.2616, allocations: 263.5 kB / 442.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2616, allocations: 3.938 kB / 442.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.2617, allocations: 38.86 kB / 442.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2617, allocations: 0 / 442.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2618, allocations: 4 kB / 442.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2618, allocations: 0 / 442.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2618, allocations: 6.938 kB / 442.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.2621, allocations: 273.3 kB / 442.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.2621, allocations: 98.33 kB / 443 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2622, allocations: 7.281 kB / 443 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2623, allocations: 5.562 kB / 443 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/0.2623, allocations: 13.42 kB / 443 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.2623, allocations: 2.906 kB / 443 MB, free: 33.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.2624, allocations: 99.34 kB / 443.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2624, allocations: 0 / 443.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.2627, allocations: 51.69 kB / 443.2 MB, free: 33.83 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 8.343e-05/0.2627, allocations: 105.8 kB / 443.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.263, allocations: 108.3 kB / 443.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.263, allocations: 0 / 443.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.2631, allocations: 57.91 kB / 443.5 MB, free: 33.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.2634, allocations: 21.7 kB / 443.5 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000698/0.2641, allocations: 0.5411 MB / 444 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.2642, allocations: 0.7201 MB / 444.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.899e-05/0.2643, allocations: 9.609 kB / 444.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.2644, allocations: 17.31 kB / 444.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2644, allocations: 0 / 444.8 MB, free: 32.56 MB / 350.1 MB Notification: Performance of Templates: time 0.003176/0.2675, allocations: 1.12 MB / 445.9 MB, free: 32.46 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)