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.00119/0.001191, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001272/0.001272, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.226/1.226, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08699/0.08699, allocations: 22.32 MB / 313.1 MB, free: 9.109 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.47 kB / 380.9 MB, free: 41.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07366/0.07493, allocations: 54.96 MB / 435.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.002266/0.07723, allocations: 1.021 MB / 436.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.07868, allocations: 1.19 MB / 438.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.07878, allocations: 4 kB / 438.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.07906, allocations: 27.84 kB / 438.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.07924, allocations: 43.83 kB / 438.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.07942, allocations: 59.91 kB / 438.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.07965, allocations: 207.6 kB / 438.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.07976, allocations: 29.72 kB / 438.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.0799, allocations: 79.73 kB / 438.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.08008, allocations: 103.6 kB / 438.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.08012, allocations: 12 kB / 438.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.404e-05/0.08015, allocations: 16 kB / 438.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.508e-05/0.08024, allocations: 51.88 kB / 438.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.08032, allocations: 59.59 kB / 438.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.08046, allocations: 103.8 kB / 438.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.08047, allocations: 3.984 kB / 438.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.08048, allocations: 0 / 438.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.08049, allocations: 0 / 438.9 MB, free: 10.45 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.001148/0.08164, allocations: 0.5182 MB / 439.4 MB, free: 9.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.08169, allocations: 12.03 kB / 439.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.08174, allocations: 12.75 kB / 439.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/0.0823, allocations: 295.7 kB / 439.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.08233, allocations: 12.36 kB / 439.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.08236, allocations: 12.38 kB / 439.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.0826, allocations: 108.3 kB / 439.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.08262, allocations: 7.938 kB / 439.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.08265, allocations: 3.984 kB / 439.8 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.08266, allocations: 4 kB / 439.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.08289, allocations: 103.9 kB / 439.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007178/0.08362, allocations: 456.5 kB / 440.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/0.08402, allocations: 158.4 kB / 440.5 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.08415, allocations: 68.81 kB / 440.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.08417, allocations: 0 / 440.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.0842, allocations: 30.56 kB / 440.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.08421, allocations: 0 / 440.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.00104/0.08525, allocations: 407.4 kB / 441 MB, free: 8.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.0853, allocations: 55.41 kB / 441.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.08578, allocations: 251.1 kB / 441.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.08581, allocations: 25.7 kB / 441.4 MB, free: 7.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.08588, allocations: 116.1 kB / 441.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.08593, allocations: 43.34 kB / 441.5 MB, free: 7.578 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.086, allocations: 37.7 kB / 441.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.08611, allocations: 326.8 kB / 441.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.08622, allocations: 43.97 kB / 441.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.591e-05/0.08633, allocations: 51.97 kB / 442 MB, free: 7.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.08744, allocations: 340.4 kB / 442.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.08745, allocations: 3.938 kB / 442.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004576/0.08791, allocations: 236.6 kB / 442.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.08794, allocations: 8 kB / 442.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.08795, allocations: 0 / 442.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.08815, allocations: 48.81 kB / 442.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.08826, allocations: 23.98 kB / 442.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.08958, allocations: 1.598 MB / 444.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.08982, allocations: 31.86 kB / 444.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.08984, allocations: 8 kB / 444.3 MB, free: 4.672 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.0001459/0.08999, allocations: 142 kB / 444.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.09004, allocations: 11.91 kB / 444.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.09009, allocations: 25.39 kB / 444.4 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.0901, allocations: 3.938 kB / 444.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.09012, allocations: 7.938 kB / 444.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.09013, allocations: 4 kB / 444.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.09037, allocations: 249.4 kB / 444.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.09038, allocations: 0 / 444.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.0905, allocations: 15.94 kB / 444.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001638/0.09068, allocations: 60.8 kB / 444.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.0907, allocations: 0 / 444.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.09195, allocations: 1.603 MB / 446.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.09196, allocations: 0 / 446.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.09255, allocations: 384 kB / 446.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.09262, allocations: 96.98 kB / 446.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.09266, allocations: 4 kB / 446.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.0929, allocations: 31.95 kB / 446.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.09296, allocations: 11.92 kB / 446.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.09297, allocations: 0 / 446.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003875/0.09336, allocations: 196.2 kB / 447.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.09337, allocations: 0 / 447.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.09364, allocations: 35.91 kB / 447.1 MB, free: 1.582 MB / 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 9.486e-05/0.09374, allocations: 99.25 kB / 447.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.09423, allocations: 267.2 kB / 447.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.09424, allocations: 3.938 kB / 447.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.09452, allocations: 194.6 kB / 447.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.09483, allocations: 28.14 kB / 447.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.09546, allocations: 425.9 kB / 448.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.09576, allocations: 0.7319 MB / 448.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.09581, allocations: 15.44 kB / 448.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.09582, allocations: 0 / 448.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of Templates: time 0.004139/0.09996, allocations: 2.506 MB / 451.4 MB, free: 13.23 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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)