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.00824/0.008239, allocations: 104.3 kB / 15.73 MB, free: 5.992 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.001674/0.001674, allocations: 187 kB / 16.67 MB, free: 5.93 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.584/1.584, allocations: 222.9 MB / 240.3 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2865/0.2865, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.45 kB / 437.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1321, allocations: 54.97 MB / 492 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003647/0.1358, allocations: 2.275 MB / 494.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1369, allocations: 0.5142 MB / 494.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.1371, allocations: 4 kB / 494.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.1374, allocations: 27.72 kB / 494.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1376, allocations: 63.42 kB / 494.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.1378, allocations: 51.92 kB / 495 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.1381, allocations: 207 kB / 495.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.1383, allocations: 96.03 kB / 495.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1384, allocations: 87.66 kB / 495.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.1386, allocations: 83.62 kB / 495.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.1387, allocations: 20 kB / 495.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.143e-05/0.1387, allocations: 16 kB / 495.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.629e-05/0.1388, allocations: 43.84 kB / 495.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.863e-05/0.1389, allocations: 99.58 kB / 495.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.1392, allocations: 215.2 kB / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1392, allocations: 0 / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1392, allocations: 4 kB / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1392, allocations: 0 / 495.8 MB, free: 13.41 MB / 366.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.0007632/0.14, allocations: 471.3 kB / 496.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.14, allocations: 20.02 kB / 496.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.1401, allocations: 20.75 kB / 496.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1404, allocations: 212 kB / 496.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.1404, allocations: 12.81 kB / 496.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.1405, allocations: 20.38 kB / 496.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003781/0.1409, allocations: 179.5 kB / 496.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1409, allocations: 0 / 496.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.1409, allocations: 8 kB / 496.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.141, allocations: 4 kB / 496.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.1413, allocations: 129.6 kB / 496.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.1423, allocations: 0.6718 MB / 497.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1426, allocations: 130.5 kB / 497.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1428, allocations: 75.08 kB / 497.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1428, allocations: 288 / 497.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.1428, allocations: 34.55 kB / 497.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.1428, allocations: 4 kB / 497.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003902/0.1432, allocations: 165.4 kB / 497.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1433, allocations: 67.34 kB / 498 MB, free: 11.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.1434, allocations: 127.3 kB / 498.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1434, allocations: 25.7 kB / 498.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.1435, allocations: 132 kB / 498.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.1435, allocations: 67.08 kB / 498.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.1436, allocations: 33.72 kB / 498.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1437, allocations: 322.8 kB / 498.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.1438, allocations: 35.98 kB / 498.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.1439, allocations: 72.53 kB / 498.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.1441, allocations: 123.3 kB / 498.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1442, allocations: 0 / 498.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002928/0.1445, allocations: 169.3 kB / 499.1 MB, free: 9.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1445, allocations: 6.031 kB / 499.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1445, allocations: 0 / 499.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1445, allocations: 4 kB / 499.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.1447, allocations: 39.97 kB / 499.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1447, allocations: 7.984 kB / 499.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.1448, allocations: 19.78 kB / 499.2 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1448, allocations: 4 kB / 499.2 MB, free: 9.793 MB / 366.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 0.0001101/0.1449, allocations: 138.6 kB / 499.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.145, allocations: 11.84 kB / 499.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.145, allocations: 16.84 kB / 499.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.145, allocations: 7.984 kB / 499.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.145, allocations: 0 / 499.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.145, allocations: 0 / 499.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.1453, allocations: 253.5 kB / 499.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1453, allocations: 7.875 kB / 499.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.1455, allocations: 39.91 kB / 499.6 MB, free: 9.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1455, allocations: 4 kB / 499.6 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1456, allocations: 4 kB / 499.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1456, allocations: 4 kB / 499.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1456, allocations: 0 / 499.7 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.146, allocations: 285.7 kB / 499.9 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.146, allocations: 92.92 kB / 0.4883 GB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.146, allocations: 0 / 0.4883 GB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1462, allocations: 12.06 kB / 0.4883 GB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1462, allocations: 7.984 kB / 0.4883 GB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.1462, allocations: 7.938 kB / 0.4883 GB, free: 8.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.913e-05/0.1463, allocations: 99.27 kB / 0.4884 GB, free: 8.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1463, allocations: 0 / 0.4884 GB, free: 8.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1466, allocations: 51.75 kB / 0.4885 GB, free: 8.68 MB / 366.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 0.0001064/0.1467, allocations: 103.2 kB / 0.4886 GB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.147, allocations: 103.9 kB / 0.4887 GB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.147, allocations: 0 / 0.4887 GB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1471, allocations: 63.91 kB / 0.4887 GB, free: 8.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.1474, allocations: 11.94 kB / 0.4887 GB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.1482, allocations: 473.2 kB / 0.4892 GB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1486, allocations: 0.7201 MB / 0.4899 GB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.919e-05/0.1487, allocations: 16.64 kB / 0.4899 GB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.1487, allocations: 11.44 kB / 0.4899 GB, free: 7.133 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1487, allocations: 0 / 0.4899 GB, free: 7.133 MB / 366.1 MB Notification: Performance of Templates: time 0.004224/0.1529, allocations: 1.216 MB / 0.4911 GB, free: 5.93 MB / 366.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)