Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00722/0.00722, allocations: 101 kB / 15.73 MB, free: 6.051 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.001394/0.001394, allocations: 208.5 kB / 16.68 MB, free: 5.969 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2278/0.2278, allocations: 22.36 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 58.69 kB / 437.1 MB, free: 33.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 54.97 MB / 492 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002629/0.143, allocations: 0.9798 MB / 493 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.145, allocations: 1.202 MB / 494.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.1452, allocations: 0 / 494.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.1457, allocations: 39.77 kB / 494.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1459, allocations: 43.77 kB / 494.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1461, allocations: 67.89 kB / 494.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.1464, allocations: 199.6 kB / 494.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1466, allocations: 33.44 kB / 494.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1467, allocations: 83.67 kB / 494.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.1469, allocations: 95.69 kB / 494.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.147, allocations: 12 kB / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.371e-05/0.147, allocations: 8 kB / 494.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1472, allocations: 51.83 kB / 494.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.1473, allocations: 55.66 kB / 494.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.1475, allocations: 143.5 kB / 495 MB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1475, allocations: 0 / 495 MB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1475, allocations: 0 / 495 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1476, allocations: 0 / 495 MB, free: 14.2 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001241/0.1488, allocations: 0.522 MB / 495.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1489, allocations: 8.031 kB / 495.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.1489, allocations: 16.75 kB / 495.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006176/0.1495, allocations: 288.7 kB / 495.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1496, allocations: 16.22 kB / 495.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.1496, allocations: 8.375 kB / 495.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.1498, allocations: 116.8 kB / 496 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.1499, allocations: 0 / 496 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1499, allocations: 0 / 496 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1499, allocations: 0 / 496 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.1501, allocations: 103.9 kB / 496.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/0.1509, allocations: 468.3 kB / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.1514, allocations: 150.5 kB / 496.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.1515, allocations: 72.75 kB / 496.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1516, allocations: 8 kB / 496.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1516, allocations: 30.56 kB / 496.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.1516, allocations: 0 / 496.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.001135/0.1527, allocations: 403.5 kB / 497.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1528, allocations: 51.41 kB / 497.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004932/0.1533, allocations: 246.6 kB / 497.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1533, allocations: 25.7 kB / 497.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.44e-05/0.1534, allocations: 116 kB / 497.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.1535, allocations: 43.3 kB / 497.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.1535, allocations: 25.72 kB / 497.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1537, allocations: 330.8 kB / 498 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1538, allocations: 47.97 kB / 498.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.1539, allocations: 51.97 kB / 498.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.155, allocations: 335.2 kB / 498.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.155, allocations: 0 / 498.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004784/0.1555, allocations: 250 kB / 498.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1556, allocations: 4 kB / 498.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1556, allocations: 4 kB / 498.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.1558, allocations: 52.81 kB / 498.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1559, allocations: 23.92 kB / 498.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.1576, allocations: 1.594 MB / 0.4886 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.1578, allocations: 27.94 kB / 0.4887 GB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.1579, allocations: 11.98 kB / 0.4887 GB, free: 8.426 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.1581, allocations: 145.9 kB / 0.4888 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.1581, allocations: 11.81 kB / 0.4888 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.1582, allocations: 25.41 kB / 0.4888 GB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1582, allocations: 3.938 kB / 0.4888 GB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1582, allocations: 0 / 0.4888 GB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1582, allocations: 3.938 kB / 0.4889 GB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.1585, allocations: 249.5 kB / 0.4891 GB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1585, allocations: 4 kB / 0.4891 GB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1586, allocations: 15.98 kB / 0.4891 GB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.1588, allocations: 56.81 kB / 0.4892 GB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1588, allocations: 3.984 kB / 0.4892 GB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.1603, allocations: 1.603 MB / 0.4907 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1603, allocations: 0 / 0.4907 GB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006608/0.1609, allocations: 380.5 kB / 0.4911 GB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.161, allocations: 97.16 kB / 0.4912 GB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1611, allocations: 4.031 kB / 0.4912 GB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.1613, allocations: 23.97 kB / 0.4912 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1614, allocations: 19.91 kB / 0.4912 GB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.1614, allocations: 4 kB / 0.4912 GB, free: 5.555 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.1618, allocations: 212.1 kB / 0.4914 GB, free: 5.348 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1618, allocations: 0 / 0.4914 GB, free: 5.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1621, allocations: 32 kB / 0.4915 GB, free: 5.316 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1]) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1622, allocations: 95.25 kB / 0.4916 GB, free: 5.215 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.1627, allocations: 276.7 kB / 0.4918 GB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1628, allocations: 0 / 0.4918 GB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.163, allocations: 198.6 kB / 0.492 GB, free: 4.727 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1634, allocations: 19.98 kB / 0.492 GB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006516/0.164, allocations: 352.2 kB / 0.4924 GB, free: 4.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1644, allocations: 0.7319 MB / 0.4931 GB, free: 3.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.412e-05/0.1645, allocations: 33.05 kB / 0.4931 GB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1646, allocations: 15.44 kB / 0.4931 GB, free: 3.531 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1646, allocations: 0 / 0.4931 GB, free: 3.531 MB / 366.1 MB Notification: Performance of Templates: time 0.004915/0.1695, allocations: 1.899 MB / 0.495 GB, free: 1.637 MB / 366.1 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)