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.001244/0.00125, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001208/0.001208, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09131/0.09131, allocations: 22.32 MB / 313.5 MB, free: 8.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.5 kB / 382.2 MB, free: 41.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09825, allocations: 54.96 MB / 437.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002289/0.1006, allocations: 0.9682 MB / 438.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.102, allocations: 1.198 MB / 439.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.862e-05/0.1021, allocations: 3.938 kB / 439.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1024, allocations: 35.77 kB / 439.4 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.1026, allocations: 39.83 kB / 439.4 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1028, allocations: 75.83 kB / 439.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.103, allocations: 199.6 kB / 439.7 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1031, allocations: 29.44 kB / 439.7 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1033, allocations: 79.73 kB / 439.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.1034, allocations: 99.62 kB / 439.9 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.1035, allocations: 12 kB / 439.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.08e-05/0.1035, allocations: 11.94 kB / 439.9 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.428e-05/0.1036, allocations: 47.89 kB / 440 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.1037, allocations: 63.59 kB / 440.1 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1039, allocations: 147.4 kB / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1039, allocations: 0 / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1039, allocations: 0 / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1039, allocations: 0 / 440.2 MB, free: 9.277 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.001187/0.1051, allocations: 0.5143 MB / 440.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1051, allocations: 8.031 kB / 440.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.1052, allocations: 16.75 kB / 440.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000583/0.1058, allocations: 296.6 kB / 441 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1058, allocations: 8.312 kB / 441 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.1058, allocations: 12.36 kB / 441 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.106, allocations: 114.7 kB / 441.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1061, allocations: 0 / 441.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.1061, allocations: 0 / 441.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1061, allocations: 0 / 441.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.1063, allocations: 110.3 kB / 441.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007191/0.1071, allocations: 460.4 kB / 441.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.1075, allocations: 150.5 kB / 441.9 MB, free: 7.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1076, allocations: 68.83 kB / 441.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1076, allocations: 4 kB / 441.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1077, allocations: 34.55 kB / 442 MB, free: 7.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.1077, allocations: 0 / 442 MB, free: 7.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001056/0.1087, allocations: 403.4 kB / 442.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.1088, allocations: 51.41 kB / 442.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.1093, allocations: 250.6 kB / 442.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1093, allocations: 25.7 kB / 442.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.1094, allocations: 116.1 kB / 442.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.1094, allocations: 43.3 kB / 442.8 MB, free: 6.418 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.1095, allocations: 29.72 kB / 442.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1096, allocations: 330.8 kB / 443.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.1097, allocations: 47.97 kB / 443.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.1098, allocations: 56.41 kB / 443.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.1109, allocations: 328.5 kB / 443.6 MB, free: 5.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1109, allocations: 3.984 kB / 443.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000462/0.1114, allocations: 240.6 kB / 443.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1114, allocations: 11.94 kB / 443.9 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1114, allocations: 4 kB / 443.9 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/0.1116, allocations: 48.81 kB / 443.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1117, allocations: 19.98 kB / 443.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.1131, allocations: 1.61 MB / 445.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.1134, allocations: 31.89 kB / 445.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1134, allocations: 8.062 kB / 445.6 MB, free: 3.5 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.000161/0.1135, allocations: 141.7 kB / 445.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1136, allocations: 11.91 kB / 445.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.1136, allocations: 21.41 kB / 445.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1136, allocations: 3.938 kB / 445.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1137, allocations: 0 / 445.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1137, allocations: 7.984 kB / 445.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.1139, allocations: 249.4 kB / 446 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1139, allocations: 0 / 446 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1141, allocations: 15.98 kB / 446 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.1142, allocations: 56.81 kB / 446.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1143, allocations: 3.984 kB / 446.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.1156, allocations: 1.603 MB / 447.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1156, allocations: 0 / 447.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006135/0.1162, allocations: 376 kB / 448.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.1163, allocations: 96.95 kB / 448.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1164, allocations: 12.03 kB / 448.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1166, allocations: 19.97 kB / 448.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.1167, allocations: 19.92 kB / 448.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1167, allocations: 4 kB / 448.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.1171, allocations: 200.2 kB / 448.4 MB, free: 460 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1171, allocations: 0 / 448.4 MB, free: 460 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1174, allocations: 35.91 kB / 448.4 MB, free: 424 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.0001237/0.1175, allocations: 105.2 kB / 448.5 MB, free: 312 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004857/0.118, allocations: 258.6 kB / 448.8 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.118, allocations: 0 / 448.8 MB, free: 40 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002941/0.1183, allocations: 198.5 kB / 449 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1187, allocations: 22.05 kB / 449 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.1192, allocations: 368.2 kB / 449.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1196, allocations: 0.728 MB / 450.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.56e-05/0.1197, allocations: 33.05 kB / 450.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.1197, allocations: 15.44 kB / 450.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1197, allocations: 0 / 450.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of Templates: time 0.004525/0.1242, allocations: 1.878 MB / 452 MB, free: 12.75 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 gbode -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)