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.001557/0.001557, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001969/0.001969, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0908/0.0908, allocations: 22.33 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002217, allocations: 61.41 kB / 382.2 MB, free: 41.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1216, allocations: 54.96 MB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002493/0.1242, allocations: 0.9731 MB / 438.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1256, allocations: 1.194 MB / 439.4 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.1257, allocations: 4 kB / 439.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.126, allocations: 27.78 kB / 439.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1262, allocations: 51.77 kB / 439.4 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1264, allocations: 67.89 kB / 439.5 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1267, allocations: 207.5 kB / 439.7 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1268, allocations: 25.44 kB / 439.7 MB, free: 9.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1269, allocations: 87.78 kB / 439.8 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1271, allocations: 95.58 kB / 439.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.1271, allocations: 12 kB / 439.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.181e-05/0.1271, allocations: 12 kB / 439.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.564e-05/0.1272, allocations: 51.88 kB / 440 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.1273, allocations: 55.59 kB / 440 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1275, allocations: 135.5 kB / 440.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1275, allocations: 0 / 440.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1275, allocations: 0 / 440.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1275, allocations: 0 / 440.2 MB, free: 9.238 MB / 318.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.00109/0.1286, allocations: 0.5181 MB / 440.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1287, allocations: 12.03 kB / 440.7 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.1287, allocations: 16.75 kB / 440.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.1293, allocations: 296.6 kB / 441 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.1293, allocations: 4.375 kB / 441 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.1294, allocations: 8.375 kB / 441 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.1296, allocations: 121.9 kB / 441.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1297, allocations: 0 / 441.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1297, allocations: 0 / 441.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1297, allocations: 4 kB / 441.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.1301, allocations: 99.92 kB / 441.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007857/0.1309, allocations: 460.4 kB / 441.7 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003999/0.1313, allocations: 154.4 kB / 441.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.1314, allocations: 68.83 kB / 441.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1314, allocations: 4 kB / 441.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1315, allocations: 30.56 kB / 441.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1315, allocations: 4 kB / 442 MB, free: 7.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001073/0.1326, allocations: 403.2 kB / 442.3 MB, free: 6.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.1326, allocations: 55.39 kB / 442.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.1331, allocations: 242.8 kB / 442.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1331, allocations: 25.7 kB / 442.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.1332, allocations: 123.9 kB / 442.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.1333, allocations: 39.36 kB / 442.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.1333, allocations: 41.7 kB / 442.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1335, allocations: 326.8 kB / 443.2 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1336, allocations: 43.97 kB / 443.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1337, allocations: 62.42 kB / 443.3 MB, free: 5.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1348, allocations: 332.5 kB / 443.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1348, allocations: 0 / 443.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004607/0.1353, allocations: 236.8 kB / 443.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1353, allocations: 8 kB / 443.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1353, allocations: 0 / 443.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.1355, allocations: 52.8 kB / 443.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.707e-05/0.1357, allocations: 16 kB / 443.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1371, allocations: 1.606 MB / 445.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1374, allocations: 31.89 kB / 445.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1374, allocations: 8 kB / 445.6 MB, free: 3.461 MB / 318.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.0001599/0.1376, allocations: 138.2 kB / 445.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1376, allocations: 15.97 kB / 445.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.234e-05/0.1377, allocations: 25.39 kB / 445.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1377, allocations: 7.875 kB / 445.7 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1377, allocations: 4 kB / 445.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1377, allocations: 0 / 445.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.138, allocations: 257.5 kB / 446 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.138, allocations: 0 / 446 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.1381, allocations: 15.98 kB / 446 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000158/0.1383, allocations: 60.8 kB / 446.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1383, allocations: 4 kB / 446.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.1396, allocations: 1.599 MB / 447.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1396, allocations: 3.984 kB / 447.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.1402, allocations: 376 kB / 448 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1403, allocations: 92.95 kB / 448.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1403, allocations: 8.062 kB / 448.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.1405, allocations: 27.89 kB / 448.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.1406, allocations: 19.92 kB / 448.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1406, allocations: 0 / 448.2 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003868/0.141, allocations: 200.2 kB / 448.4 MB, free: 408 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.141, allocations: 0 / 448.4 MB, free: 408 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1413, allocations: 35.91 kB / 448.4 MB, free: 372 kB / 318.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.000119/0.1414, allocations: 103.2 kB / 448.5 MB, free: 260 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.142, allocations: 262.8 kB / 448.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.142, allocations: 0 / 448.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.1423, allocations: 198.6 kB / 449 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.1426, allocations: 22.66 kB / 449 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.1432, allocations: 360.2 kB / 449.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1436, allocations: 0.7358 MB / 450.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.657e-05/0.1436, allocations: 25.06 kB / 450.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.1437, allocations: 11.44 kB / 450.1 MB, free: 14.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1437, allocations: 3.938 kB / 450.1 MB, free: 14.57 MB / 334.1 MB Notification: Performance of Templates: time 0.004759/0.1485, allocations: 1.877 MB / 452 MB, free: 12.7 MB / 334.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 -s cvode -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)