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.009158/0.009158, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.001978/0.001978, allocations: 183.8 kB / 16.67 MB, free: 5.977 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2126/0.2126, allocations: 22.35 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 70.66 kB / 437.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 54.97 MB / 492 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003224/0.1306, allocations: 2.273 MB / 494.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.1316, allocations: 0.5259 MB / 494.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1318, allocations: 4 kB / 494.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.132, allocations: 31.72 kB / 494.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1321, allocations: 59.41 kB / 494.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.1323, allocations: 47.94 kB / 495 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.1325, allocations: 207 kB / 495.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.1328, allocations: 96.03 kB / 495.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1329, allocations: 91.66 kB / 495.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1331, allocations: 83.62 kB / 495.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.1331, allocations: 20 kB / 495.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.427e-05/0.1332, allocations: 16 kB / 495.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.1332, allocations: 47.83 kB / 495.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.1333, allocations: 91.59 kB / 495.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.1336, allocations: 215.2 kB / 495.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1336, allocations: 0 / 495.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1336, allocations: 4 kB / 495.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.1336, allocations: 0 / 495.8 MB, free: 13.42 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.0006461/0.1343, allocations: 479.3 kB / 496.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1343, allocations: 12.03 kB / 496.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.1344, allocations: 16.75 kB / 496.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1347, allocations: 212 kB / 496.5 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.1347, allocations: 16.8 kB / 496.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.1348, allocations: 20.38 kB / 496.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.1351, allocations: 179.6 kB / 496.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1351, allocations: 0 / 496.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1351, allocations: 8 kB / 496.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1352, allocations: 4 kB / 496.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.1354, allocations: 125.6 kB / 496.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000956/0.1364, allocations: 0.6718 MB / 497.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1367, allocations: 130.5 kB / 497.7 MB, free: 11.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1368, allocations: 72.83 kB / 497.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.1368, allocations: 288 / 497.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1369, allocations: 34.56 kB / 497.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.1369, allocations: 4 kB / 497.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004298/0.1373, allocations: 169.4 kB / 497.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.1374, allocations: 59.34 kB / 498 MB, free: 11.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.1375, allocations: 127.8 kB / 498.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1375, allocations: 25.7 kB / 498.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.473e-05/0.1376, allocations: 136 kB / 498.3 MB, free: 10.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.1376, allocations: 63.11 kB / 498.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.1377, allocations: 37.7 kB / 498.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1378, allocations: 322.8 kB / 498.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.1379, allocations: 35.98 kB / 498.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.138, allocations: 68.34 kB / 498.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.1382, allocations: 123.4 kB / 498.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1382, allocations: 0 / 498.9 MB, free: 10.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002574/0.1385, allocations: 171.3 kB / 499.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1385, allocations: 4 kB / 499.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1385, allocations: 0 / 499.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1386, allocations: 8.094 kB / 499.1 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1387, allocations: 43.97 kB / 499.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1388, allocations: 7.938 kB / 499.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.1388, allocations: 19.83 kB / 499.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1388, allocations: 4 kB / 499.2 MB, free: 9.805 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 9.636e-05/0.1389, allocations: 134.5 kB / 499.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.139, allocations: 15.78 kB / 499.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.139, allocations: 16.84 kB / 499.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.139, allocations: 4 kB / 499.3 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1391, allocations: 4 kB / 499.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1391, allocations: 3.984 kB / 499.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.1393, allocations: 249.5 kB / 499.6 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1393, allocations: 3.938 kB / 499.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.1395, allocations: 39.92 kB / 499.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1395, allocations: 0 / 499.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1396, allocations: 7.984 kB / 499.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1396, allocations: 0 / 499.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1396, allocations: 0 / 499.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.14, allocations: 289.5 kB / 499.9 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.14, allocations: 92.92 kB / 0.4883 GB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.14, allocations: 0 / 0.4883 GB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1401, allocations: 8 kB / 0.4883 GB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.1402, allocations: 11.92 kB / 0.4883 GB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1402, allocations: 4 kB / 0.4883 GB, free: 8.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.406e-05/0.1403, allocations: 101.4 kB / 0.4884 GB, free: 8.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1403, allocations: 4.062 kB / 0.4884 GB, free: 8.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1406, allocations: 51.75 kB / 0.4885 GB, free: 8.695 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.0001172/0.1407, allocations: 99.25 kB / 0.4886 GB, free: 8.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.141, allocations: 103.9 kB / 0.4887 GB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.141, allocations: 0 / 0.4887 GB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1411, allocations: 63.91 kB / 0.4887 GB, free: 8.422 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.1414, allocations: 18.16 kB / 0.4887 GB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008768/0.1423, allocations: 471.5 kB / 0.4892 GB, free: 7.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1426, allocations: 0.724 MB / 0.4899 GB, free: 7.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.349e-05/0.1427, allocations: 16.64 kB / 0.4899 GB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.1427, allocations: 11.44 kB / 0.4899 GB, free: 7.148 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1427, allocations: 0 / 0.4899 GB, free: 7.148 MB / 366.1 MB Notification: Performance of Templates: time 0.004274/0.147, allocations: 1.229 MB / 0.4911 GB, free: 5.926 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)