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.0008866/0.0008866, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 182 kB / 16.92 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2053/0.2053, allocations: 22.33 MB / 314.4 MB, free: 13.01 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 15.94 kB / 383.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2453, allocations: 55.98 MB / 439.2 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.0009448/0.2463, allocations: 0.6878 MB / 439.9 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.2474, allocations: 1.184 MB / 441.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.2474, allocations: 0 / 441.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.2477, allocations: 37.31 kB / 441.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.2478, allocations: 37 kB / 441.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.248, allocations: 68.03 kB / 441.2 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.2482, allocations: 190 kB / 441.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.421e-05/0.2483, allocations: 22.7 kB / 441.5 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.871e-05/0.2484, allocations: 77.5 kB / 441.5 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.2485, allocations: 91.02 kB / 441.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.2485, allocations: 5.875 kB / 441.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.597e-05/0.2486, allocations: 5.844 kB / 441.6 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.44e-05/0.2487, allocations: 49.31 kB / 441.7 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.2487, allocations: 72.59 kB / 441.7 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.979e-05/0.2488, allocations: 97.8 kB / 441.8 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2488, allocations: 0 / 441.8 MB, free: 37.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2488, allocations: 4 kB / 441.8 MB, free: 37.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.2488, allocations: 0 / 441.8 MB, free: 37.53 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000929/0.2498, allocations: 0.5059 MB / 442.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2498, allocations: 13.41 kB / 442.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.2499, allocations: 21.44 kB / 442.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.2503, allocations: 277.7 kB / 442.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2504, allocations: 3.531 kB / 442.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.2504, allocations: 22.3 kB / 442.7 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.2506, allocations: 107.5 kB / 442.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2506, allocations: 3.938 kB / 442.8 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.2506, allocations: 6.797 kB / 442.8 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2506, allocations: 0 / 442.8 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.2508, allocations: 103.1 kB / 442.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.2514, allocations: 460.9 kB / 443.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.2518, allocations: 158.3 kB / 443.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2519, allocations: 62.64 kB / 443.6 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.2519, allocations: 2.938 kB / 443.6 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.2519, allocations: 34.41 kB / 443.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.143e-06/0.2519, allocations: 0 / 443.6 MB, free: 36.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009472/0.2529, allocations: 405.8 kB / 444 MB, free: 36.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.2529, allocations: 54.5 kB / 444.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.2534, allocations: 256.9 kB / 444.3 MB, free: 35.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2534, allocations: 25.7 kB / 444.3 MB, free: 35.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.2534, allocations: 112.9 kB / 444.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.2535, allocations: 51.77 kB / 444.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.2535, allocations: 16.75 kB / 444.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.793e-05/0.2536, allocations: 331.4 kB / 444.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.2537, allocations: 53.36 kB / 444.9 MB, free: 35.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.2538, allocations: 47.55 kB / 444.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009963/0.2548, allocations: 341.9 kB / 445.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2548, allocations: 0 / 445.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004016/0.2552, allocations: 241.4 kB / 445.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.2552, allocations: 3.906 kB / 445.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2552, allocations: 3.031 kB / 445.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.2554, allocations: 60.19 kB / 445.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.2555, allocations: 17.36 kB / 445.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009491/0.2565, allocations: 1.491 MB / 447.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.2567, allocations: 53.7 kB / 447.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2567, allocations: 2.875 kB / 447.1 MB, free: 33.72 MB / 350.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.0001204/0.2568, allocations: 133.5 kB / 447.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.2569, allocations: 13.53 kB / 447.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.2569, allocations: 26.44 kB / 447.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2569, allocations: 2.688 kB / 447.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.257, allocations: 4 kB / 447.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.257, allocations: 3.938 kB / 447.3 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2572, allocations: 246.9 kB / 447.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2572, allocations: 0 / 447.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.2573, allocations: 19.28 kB / 447.6 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001454/0.2574, allocations: 52.09 kB / 447.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2575, allocations: 2.812 kB / 447.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008975/0.2584, allocations: 1.506 MB / 449.1 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2584, allocations: 0 / 449.1 MB, free: 31.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.2589, allocations: 388.1 kB / 449.5 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.259, allocations: 94.7 kB / 449.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.259, allocations: 3.062 kB / 449.6 MB, free: 31.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.2593, allocations: 31.62 kB / 449.6 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.2593, allocations: 13.17 kB / 449.6 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.2593, allocations: 3.156 kB / 449.6 MB, free: 31.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003778/0.2597, allocations: 194.5 kB / 449.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2597, allocations: 0 / 449.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.26, allocations: 35.22 kB / 449.9 MB, free: 31.49 MB / 350.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.352e-05/0.2601, allocations: 100.9 kB / 450 MB, free: 31.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004348/0.2605, allocations: 259.9 kB / 450.2 MB, free: 31.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2606, allocations: 0 / 450.2 MB, free: 31.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.2608, allocations: 190.5 kB / 450.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.2611, allocations: 39.5 kB / 450.4 MB, free: 31.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.2617, allocations: 433.8 kB / 450.9 MB, free: 30.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2618, allocations: 0.7386 MB / 451.6 MB, free: 30.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.2619, allocations: 15.42 kB / 451.6 MB, free: 30.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2619, allocations: 0 / 451.6 MB, free: 30.07 MB / 350.1 MB Notification: Performance of Templates: time 0.003541/0.2655, allocations: 2.482 MB / 454.1 MB, free: 29.91 MB / 350.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)