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.001033/0.001033, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001199/0.001199, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2495/0.2495, allocations: 22.33 MB / 313.3 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 8 kB / 381.8 MB, free: 10.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3189, allocations: 55.98 MB / 437.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop): time 0.001733/0.3207, allocations: 1.837 MB / 439.6 MB, free: 38.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005878/0.3213, allocations: 498.9 kB / 440.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.3214, allocations: 2.844 kB / 440.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.759e-05/0.3215, allocations: 20.89 kB / 440.2 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.3216, allocations: 70.56 kB / 440.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000129/0.3217, allocations: 35.75 kB / 440.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3219, allocations: 148.3 kB / 440.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.3221, allocations: 70.61 kB / 440.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.9e-05/0.3222, allocations: 64.84 kB / 440.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3223, allocations: 75.52 kB / 440.6 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3223, allocations: 10.38 kB / 440.6 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.462e-05/0.3223, allocations: 7.938 kB / 440.6 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.3224, allocations: 27.91 kB / 440.7 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.3224, allocations: 56.33 kB / 440.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3225, allocations: 156.2 kB / 440.9 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.3225, allocations: 3.938 kB / 440.9 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3225, allocations: 4 kB / 440.9 MB, free: 37.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3226, allocations: 0 / 440.9 MB, free: 37.48 MB / 350.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.0004377/0.323, allocations: 448 kB / 441.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.323, allocations: 10.88 kB / 441.3 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.748e-05/0.3231, allocations: 21.81 kB / 441.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3233, allocations: 200.6 kB / 441.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3233, allocations: 15.53 kB / 441.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.3234, allocations: 20.69 kB / 441.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.3237, allocations: 170.9 kB / 441.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3237, allocations: 3.953 kB / 441.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.3237, allocations: 7.031 kB / 441.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3237, allocations: 2.906 kB / 441.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.3239, allocations: 127.4 kB / 441.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008254/0.3248, allocations: 0.6791 MB / 442.6 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003728/0.3252, allocations: 123.2 kB / 442.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3252, allocations: 6.109 kB / 442.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3252, allocations: 33.34 kB / 442.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3252, allocations: 0 / 442.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005549/0.3258, allocations: 179.8 kB / 442.9 MB, free: 35.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3258, allocations: 53.88 kB / 442.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.326, allocations: 125.5 kB / 443.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.326, allocations: 33.64 kB / 443.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.3261, allocations: 135.5 kB / 443.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.3261, allocations: 55.47 kB / 443.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.3261, allocations: 2.875 kB / 443.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.3262, allocations: 332.8 kB / 443.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3264, allocations: 33.95 kB / 443.6 MB, free: 35.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.3265, allocations: 70.17 kB / 443.7 MB, free: 35.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3267, allocations: 47.89 kB / 443.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3267, allocations: 3.938 kB / 443.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003845/0.3271, allocations: 165.2 kB / 443.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3271, allocations: 5.906 kB / 443.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3271, allocations: 0 / 443.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3272, allocations: 6.688 kB / 443.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3274, allocations: 48.5 kB / 444 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3275, allocations: 3 kB / 444 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.3276, allocations: 9.781 kB / 444 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.3276, allocations: 13.94 kB / 444 MB, free: 35.1 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3278, allocations: 133.3 kB / 444.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.3278, allocations: 13.06 kB / 444.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.3279, allocations: 15.78 kB / 444.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3279, allocations: 0 / 444.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3279, allocations: 0 / 444.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3279, allocations: 3 kB / 444.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.3283, allocations: 258.1 kB / 444.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3283, allocations: 3.938 kB / 444.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.3285, allocations: 39.56 kB / 444.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3286, allocations: 0 / 444.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3286, allocations: 6.969 kB / 444.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3286, allocations: 0 / 444.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3286, allocations: 0 / 444.5 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.3291, allocations: 282.1 kB / 444.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.3292, allocations: 101.8 kB / 444.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.3292, allocations: 12.06 kB / 444.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3294, allocations: 5.594 kB / 444.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.3295, allocations: 10.34 kB / 444.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3295, allocations: 7.422 kB / 444.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.252e-05/0.3296, allocations: 94.64 kB / 445 MB, free: 34.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3296, allocations: 0 / 445 MB, free: 34.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.33, allocations: 47.53 kB / 445 MB, free: 34.3 MB / 350.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 (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.0001217/0.3302, allocations: 102 kB / 445.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.3305, allocations: 106.7 kB / 445.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3305, allocations: 0 / 445.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.3307, allocations: 61.44 kB / 445.3 MB, free: 34.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.331, allocations: 9.594 kB / 445.3 MB, free: 34.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3321, allocations: 0.5688 MB / 445.9 MB, free: 33.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.3322, allocations: 0.7307 MB / 446.6 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.86e-05/0.3324, allocations: 13.62 kB / 446.6 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.3324, allocations: 13.28 kB / 446.6 MB, free: 33.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3324, allocations: 0 / 446.6 MB, free: 33.04 MB / 350.1 MB Notification: Performance of Templates: time 0.004536/0.337, allocations: 1.076 MB / 447.7 MB, free: 32.94 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_electrical_thermal_OpenLoop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: