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.00104/0.00104, allocations: 114.9 kB / 16.42 MB, free: 6.496 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.001001/0.001001, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.28/1.28, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09368/0.09368, allocations: 22.33 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.91 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08657, allocations: 54.96 MB / 492.7 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003188/0.08979, allocations: 2.272 MB / 495 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.09064, allocations: 0.5143 MB / 495.5 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.09077, allocations: 4 kB / 495.5 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.09092, allocations: 31.66 kB / 495.5 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.09106, allocations: 59.47 kB / 495.6 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.09122, allocations: 47.94 kB / 495.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.09147, allocations: 214.9 kB / 495.8 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.09167, allocations: 100 kB / 495.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.09177, allocations: 75.78 kB / 496 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.09192, allocations: 87.61 kB / 496.1 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.09195, allocations: 20 kB / 496.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.09199, allocations: 20 kB / 496.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.09205, allocations: 43.8 kB / 496.2 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.768e-05/0.09215, allocations: 103.5 kB / 496.3 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.0924, allocations: 211.1 kB / 496.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.09241, allocations: 4 kB / 496.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09242, allocations: 0 / 496.5 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.09243, allocations: 0 / 496.5 MB, free: 0.9531 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.0006126/0.09305, allocations: 487 kB / 496.9 MB, free: 440 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.09309, allocations: 8.031 kB / 496.9 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.09314, allocations: 20.84 kB / 497 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.09339, allocations: 212.1 kB / 497.2 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.09342, allocations: 12.81 kB / 497.2 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.09346, allocations: 20.38 kB / 497.2 MB, free: 128 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.09381, allocations: 179.5 kB / 497.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.09383, allocations: 0 / 497.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.09386, allocations: 12 kB / 497.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.09387, allocations: 12 kB / 497.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.09416, allocations: 121.7 kB / 497.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009867/0.09516, allocations: 0.6759 MB / 498.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.09546, allocations: 126.5 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.0956, allocations: 76.77 kB / 498.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.09563, allocations: 0 / 498.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.09566, allocations: 30.56 kB / 498.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.09566, allocations: 0 / 498.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004033/0.09607, allocations: 176.6 kB / 498.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.09611, allocations: 55.34 kB / 498.7 MB, free: 14.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.09621, allocations: 125.8 kB / 498.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.09623, allocations: 33.64 kB / 498.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.09631, allocations: 144.2 kB / 499 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.09636, allocations: 55.55 kB / 499 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.09642, allocations: 29.72 kB / 499 MB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.09653, allocations: 326.8 kB / 499.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.09664, allocations: 47.97 kB / 499.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.09676, allocations: 66.23 kB / 499.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.09699, allocations: 127.3 kB / 499.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.097, allocations: 0 / 499.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002895/0.09729, allocations: 163.3 kB / 499.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.09731, allocations: 4 kB / 499.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.09732, allocations: 0 / 499.8 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.09734, allocations: 4 kB / 499.8 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/0.09753, allocations: 47.91 kB / 499.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.09754, allocations: 0 / 499.8 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.09762, allocations: 12.05 kB / 499.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.09764, allocations: 12 kB / 499.8 MB, free: 13.33 MB / 382.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.000105/0.09775, allocations: 134.5 kB / 500 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.09779, allocations: 19.78 kB / 500 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.09785, allocations: 20.83 kB / 0.4883 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.09786, allocations: 0 / 0.4883 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.09786, allocations: 4 kB / 0.4883 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.09791, allocations: 81.06 kB / 0.4884 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.09794, allocations: 4 kB / 0.4884 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.09807, allocations: 15.98 kB / 0.4884 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.09811, allocations: 4 kB / 0.4884 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004313/0.09855, allocations: 236.8 kB / 0.4886 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004432/0.099, allocations: 370.5 kB / 0.489 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001138/0.09913, allocations: 58.58 kB / 0.489 GB, free: 12.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.109e-05/0.09919, allocations: 99.27 kB / 0.4891 GB, free: 12.26 MB / 382.1 MB Notification: Performance of Backend: time 3.4e-07/0.0992, allocations: 0 / 0.4891 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004275/0.09963, allocations: 150.2 kB / 0.4893 GB, free: 12.1 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008122/0.1005, allocations: 0.858 MB / 0.4901 GB, free: 11.2 MB / 382.1 MB Notification: Performance of Templates: time 0.003848/0.1043, allocations: 1.431 MB / 0.4915 GB, free: 9.773 MB / 382.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)