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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07458/0.07459, allocations: 17.68 MB / 33.63 MB, free: 1.746 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 178.3 kB / 38.91 MB, free: 12 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 249.5 MB, free: 2.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.000902, allocations: 101.4 kB / 302.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003475/0.0003476, allocations: 16 kB / 366.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2449, allocations: 51.98 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.002313/0.2473, allocations: 1.891 MB / 420.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007308/0.2481, allocations: 0.5194 MB / 421.3 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2482, allocations: 4 kB / 421.3 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.2483, allocations: 23.83 kB / 421.4 MB, free: 21.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.2484, allocations: 55.53 kB / 421.4 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.2486, allocations: 31.97 kB / 421.4 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.2488, allocations: 199 kB / 421.6 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.249, allocations: 88.53 kB / 421.7 MB, free: 21.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.249, allocations: 63.78 kB / 421.8 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.2492, allocations: 75.64 kB / 421.9 MB, free: 21.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.2492, allocations: 11.98 kB / 421.9 MB, free: 21.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.534e-05/0.2492, allocations: 8 kB / 421.9 MB, free: 21.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.2492, allocations: 27.91 kB / 421.9 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.2493, allocations: 109.3 kB / 422 MB, free: 21.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.2495, allocations: 195.3 kB / 422.2 MB, free: 21.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2495, allocations: 0 / 422.2 MB, free: 21.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2495, allocations: 0 / 422.2 MB, free: 21.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2495, allocations: 0 / 422.2 MB, free: 21.07 MB / 298.7 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.0004946/0.25, allocations: 443.5 kB / 422.6 MB, free: 20.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2501, allocations: 8.031 kB / 422.7 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.2501, allocations: 24.69 kB / 422.7 MB, free: 20.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.2503, allocations: 216 kB / 422.9 MB, free: 20.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2504, allocations: 16.8 kB / 422.9 MB, free: 20.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.2504, allocations: 20.38 kB / 422.9 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2507, allocations: 175.6 kB / 423.1 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2507, allocations: 7.906 kB / 423.1 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.2507, allocations: 4 kB / 423.1 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2507, allocations: 4 kB / 423.1 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.251, allocations: 125.7 kB / 423.2 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.2518, allocations: 0.6718 MB / 423.9 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.252, allocations: 141.6 kB / 424 MB, free: 19.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.2522, allocations: 69.11 kB / 424.1 MB, free: 19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2522, allocations: 7.938 kB / 424.1 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2522, allocations: 30.56 kB / 424.1 MB, free: 18.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.2522, allocations: 0 / 424.1 MB, free: 18.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003468/0.2526, allocations: 169.5 kB / 424.3 MB, free: 18.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.2526, allocations: 55.34 kB / 424.4 MB, free: 18.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.2527, allocations: 126.5 kB / 424.5 MB, free: 18.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2527, allocations: 33.64 kB / 424.5 MB, free: 18.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.2528, allocations: 136 kB / 424.7 MB, free: 18.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2528, allocations: 51.2 kB / 424.7 MB, free: 18.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.2528, allocations: 8 kB / 424.7 MB, free: 18.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.2529, allocations: 318.8 kB / 425 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.253, allocations: 39.98 kB / 425.1 MB, free: 17.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.2531, allocations: 71.41 kB / 425.1 MB, free: 17.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.2532, allocations: 118.3 kB / 425.3 MB, free: 17.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2532, allocations: 4 kB / 425.3 MB, free: 17.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002146/0.2535, allocations: 165.3 kB / 425.4 MB, free: 17.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2535, allocations: 8 kB / 425.4 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2535, allocations: 0 / 425.4 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2535, allocations: 0 / 425.4 MB, free: 17.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.2537, allocations: 47.91 kB / 425.5 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2537, allocations: 0 / 425.5 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.2538, allocations: 23.94 kB / 425.5 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.2538, allocations: 4 kB / 425.5 MB, free: 17.53 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/0.2539, allocations: 133.7 kB / 425.6 MB, free: 17.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.2539, allocations: 15.75 kB / 425.6 MB, free: 17.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.002e-05/0.2539, allocations: 20.83 kB / 425.7 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.254, allocations: 3.938 kB / 425.7 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.254, allocations: 0 / 425.7 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.254, allocations: 0 / 425.7 MB, free: 17.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.2542, allocations: 253.6 kB / 425.9 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2542, allocations: 4 kB / 425.9 MB, free: 17.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.2544, allocations: 39.92 kB / 426 MB, free: 17.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2544, allocations: 4 kB / 426 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2544, allocations: 4 kB / 426 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2544, allocations: 0 / 426 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2544, allocations: 3.938 kB / 426 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.2548, allocations: 283.2 kB / 426.2 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.2548, allocations: 96.98 kB / 426.3 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.2548, allocations: 4 kB / 426.3 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.2549, allocations: 11.98 kB / 426.4 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.259e-05/0.255, allocations: 11.98 kB / 426.4 MB, free: 16.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.944e-06/0.255, allocations: 4 kB / 426.4 MB, free: 16.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.911e-05/0.2551, allocations: 98.33 kB / 426.5 MB, free: 16.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2551, allocations: 0 / 426.5 MB, free: 16.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.2553, allocations: 51.84 kB / 426.5 MB, free: 16.41 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001054/0.2554, allocations: 103.2 kB / 426.6 MB, free: 16.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.2557, allocations: 107.9 kB / 426.7 MB, free: 16.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2557, allocations: 0 / 426.7 MB, free: 16.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.2558, allocations: 56.84 kB / 426.8 MB, free: 16.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.2561, allocations: 23.92 kB / 426.8 MB, free: 16.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.257, allocations: 0.5663 MB / 427.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.2572, allocations: 0.7243 MB / 428.1 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.848e-05/0.2573, allocations: 16.59 kB / 428.1 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.2573, allocations: 11.44 kB / 428.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2574, allocations: 4 kB / 428.1 MB, free: 14.74 MB / 298.7 MB Notification: Performance of Templates: time 0.00323/0.2606, allocations: 1.085 MB / 429.2 MB, free: 13.66 MB / 298.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.pipe 2>&1)