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.0009912/0.0009912, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001047/0.001047, allocations: 187 kB / 17.34 MB, free: 5.742 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09103/0.09103, allocations: 22.33 MB / 313.5 MB, free: 8.859 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.89 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.0967, allocations: 54.96 MB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003554/0.1003, allocations: 2.271 MB / 494.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009847/0.1013, allocations: 0.5143 MB / 495.5 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1015, allocations: 0 / 495.5 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.1017, allocations: 31.7 kB / 495.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.1018, allocations: 67.42 kB / 495.6 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.102, allocations: 47.86 kB / 495.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1023, allocations: 215 kB / 495.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.1025, allocations: 100 kB / 495.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1026, allocations: 75.72 kB / 496 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1028, allocations: 91.62 kB / 496.1 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.778e-05/0.1028, allocations: 20 kB / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.834e-05/0.1029, allocations: 16 kB / 496.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.1029, allocations: 43.84 kB / 496.2 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.103, allocations: 103.5 kB / 496.3 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1033, allocations: 207.3 kB / 496.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1033, allocations: 0 / 496.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1033, allocations: 0 / 496.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.1033, allocations: 0 / 496.5 MB, free: 0.9414 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.0006603/0.104, allocations: 479.2 kB / 496.9 MB, free: 436 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.104, allocations: 12.03 kB / 496.9 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.455e-05/0.1041, allocations: 24.75 kB / 497 MB, free: 400 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.1044, allocations: 208 kB / 497.2 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.1044, allocations: 16.81 kB / 497.2 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.1045, allocations: 20.38 kB / 497.2 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.1048, allocations: 179.6 kB / 497.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1048, allocations: 0 / 497.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.1049, allocations: 4 kB / 497.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.1049, allocations: 8 kB / 497.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.1052, allocations: 121.7 kB / 497.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.1062, allocations: 0.6679 MB / 498.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1065, allocations: 142.5 kB / 498.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.1067, allocations: 68.81 kB / 498.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1067, allocations: 8 kB / 498.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1067, allocations: 30.56 kB / 498.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.1068, allocations: 0 / 498.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004128/0.1072, allocations: 169.7 kB / 498.6 MB, free: 14.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1072, allocations: 59.34 kB / 498.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1073, allocations: 141.7 kB / 498.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1074, allocations: 25.7 kB / 498.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.1074, allocations: 132.2 kB / 498.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.1075, allocations: 59.11 kB / 499 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.1075, allocations: 37.7 kB / 499 MB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1077, allocations: 322.8 kB / 499.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1078, allocations: 43.98 kB / 499.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1079, allocations: 67.41 kB / 499.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.1081, allocations: 121.4 kB / 499.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1081, allocations: 0 / 499.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000282/0.1084, allocations: 165.3 kB / 499.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1084, allocations: 11.94 kB / 499.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1084, allocations: 0 / 499.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1085, allocations: 4 kB / 499.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1086, allocations: 35.98 kB / 499.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.1087, allocations: 0 / 499.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.1087, allocations: 15.84 kB / 499.8 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1088, allocations: 8 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.0001012/0.1089, allocations: 138.6 kB / 499.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.1089, allocations: 15.84 kB / 500 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.109, allocations: 12.84 kB / 500 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.109, allocations: 4 kB / 500 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.109, allocations: 0 / 500 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.109, allocations: 0 / 500 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.1093, allocations: 261.4 kB / 0.4885 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.1093, allocations: 3.938 kB / 0.4885 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.1095, allocations: 39.92 kB / 0.4885 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1095, allocations: 4 kB / 0.4886 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1095, allocations: 0 / 0.4886 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1095, allocations: 4 kB / 0.4886 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1095, allocations: 0 / 0.4886 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.1099, allocations: 281.9 kB / 0.4888 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.11, allocations: 88.89 kB / 0.4889 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.11, allocations: 11.98 kB / 0.4889 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.1102, allocations: 8.062 kB / 0.4889 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.1102, allocations: 11.98 kB / 0.4889 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.1102, allocations: 11.94 kB / 0.489 GB, free: 12.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.794e-05/0.1103, allocations: 101.9 kB / 0.489 GB, free: 12.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1103, allocations: 0 / 0.489 GB, free: 12.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1106, allocations: 47.84 kB / 0.4891 GB, free: 12.21 MB / 382.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 9.798e-05/0.1107, allocations: 95.19 kB / 0.4892 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.111, allocations: 121.5 kB / 0.4893 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.111, allocations: 0 / 0.4893 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1111, allocations: 51.92 kB / 0.4894 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1114, allocations: 27.86 kB / 0.4894 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.1123, allocations: 494.9 kB / 0.4898 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1125, allocations: 0.7201 MB / 0.4906 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.1126, allocations: 19.44 kB / 0.4906 GB, free: 10.64 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1126, allocations: 0 / 0.4906 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Templates: time 0.003492/0.1161, allocations: 1.766 MB / 0.4923 GB, free: 8.871 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)