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.001224/0.001224, allocations: 105.4 kB / 16.41 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.001318/0.001318, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09061/0.09061, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09172, allocations: 54.94 MB / 492.7 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.003325/0.09507, allocations: 2.272 MB / 494.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.09609, allocations: 0.5143 MB / 495.5 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.09628, allocations: 7.938 kB / 495.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.09645, allocations: 27.72 kB / 495.5 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.09668, allocations: 59.48 kB / 495.5 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.09687, allocations: 51.88 kB / 495.6 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.09716, allocations: 215 kB / 495.8 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.09737, allocations: 96.03 kB / 495.9 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.09748, allocations: 79.72 kB / 496 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.09763, allocations: 91.61 kB / 496.1 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.09768, allocations: 20 kB / 496.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.664e-05/0.09772, allocations: 16 kB / 496.1 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.09777, allocations: 39.86 kB / 496.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.09786, allocations: 95.53 kB / 496.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.0981, allocations: 215.2 kB / 496.4 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.09812, allocations: 4 kB / 496.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.09812, allocations: 4 kB / 496.5 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.09813, allocations: 0 / 496.5 MB, free: 0.9727 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.0006057/0.09874, allocations: 483.2 kB / 496.9 MB, free: 464 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.09879, allocations: 12.03 kB / 496.9 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.09884, allocations: 16.75 kB / 497 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.09909, allocations: 220 kB / 497.2 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.09911, allocations: 12.81 kB / 497.2 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.09916, allocations: 20.38 kB / 497.2 MB, free: 144 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.09948, allocations: 175.6 kB / 497.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.0995, allocations: 0 / 497.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.09953, allocations: 8 kB / 497.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.09954, allocations: 4 kB / 497.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002563/0.0998, allocations: 121.7 kB / 497.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.1008, allocations: 0.6757 MB / 498.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1011, allocations: 134.5 kB / 498.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1012, allocations: 79.36 kB / 498.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.1012, allocations: 0 / 498.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.1013, allocations: 30.56 kB / 498.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.1013, allocations: 4 kB / 498.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003776/0.1017, allocations: 165.7 kB / 498.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.1017, allocations: 63.28 kB / 498.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.1018, allocations: 129.7 kB / 498.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1018, allocations: 29.7 kB / 498.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.1019, allocations: 128.2 kB / 498.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1019, allocations: 63.09 kB / 499 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.102, allocations: 33.72 kB / 499 MB, free: 14.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.1021, allocations: 322.8 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.1022, allocations: 39.97 kB / 499.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.1023, allocations: 70.42 kB / 499.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.1025, allocations: 126.2 kB / 499.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1025, allocations: 0 / 499.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002577/0.1028, allocations: 169.4 kB / 499.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.1028, allocations: 4 kB / 499.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1028, allocations: 0 / 499.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1028, allocations: 4 kB / 499.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.103, allocations: 43.91 kB / 499.8 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.103, allocations: 4 kB / 499.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.1031, allocations: 15.84 kB / 499.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.1031, allocations: 4 kB / 499.8 MB, free: 13.36 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 9.398e-05/0.1032, allocations: 134.6 kB / 499.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.1033, allocations: 15.84 kB / 500 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.1033, allocations: 16.83 kB / 500 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1033, allocations: 4 kB / 500 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.1033, allocations: 3.938 kB / 500 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1033, allocations: 0 / 500 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002546/0.1036, allocations: 261.4 kB / 0.4885 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1036, allocations: 3.938 kB / 0.4885 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.1038, allocations: 35.98 kB / 0.4885 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1038, allocations: 0 / 0.4885 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1038, allocations: 4 kB / 0.4885 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1038, allocations: 7.938 kB / 0.4886 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1038, allocations: 0 / 0.4886 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.1042, allocations: 281.4 kB / 0.4888 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.1043, allocations: 92.89 kB / 0.4889 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1043, allocations: 4 kB / 0.4889 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1044, allocations: 11.98 kB / 0.4889 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1045, allocations: 12 kB / 0.4889 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1045, allocations: 11.98 kB / 0.489 GB, free: 12.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.187e-05/0.1045, allocations: 102.8 kB / 0.489 GB, free: 12.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1045, allocations: 0 / 0.489 GB, free: 12.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1048, allocations: 47.84 kB / 0.4891 GB, free: 12.25 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.325e-05/0.1049, allocations: 99.19 kB / 0.4892 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.1052, allocations: 114.7 kB / 0.4893 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1052, allocations: 4 kB / 0.4893 GB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1053, allocations: 59.92 kB / 0.4894 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.1056, allocations: 11.94 kB / 0.4894 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.1064, allocations: 498.7 kB / 0.4898 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.1066, allocations: 0.7201 MB / 0.4905 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.1067, allocations: 15.44 kB / 0.4906 GB, free: 10.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1067, allocations: 0 / 0.4906 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Templates: time 0.003224/0.1099, allocations: 1.79 MB / 0.4923 GB, free: 8.883 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)