Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 165 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 204.2 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06559/0.06559, allocations: 18.13 MB / 278.9 MB, free: 11.3 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.182e-05, allocations: 2.312 kB / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.00267/0.002702, allocations: 1.115 MB / 358.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.004709, allocations: 1.357 MB / 359.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.004807, allocations: 4 kB / 359.8 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.005121, allocations: 71.48 kB / 359.8 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.005318, allocations: 91.52 kB / 359.9 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.005733, allocations: 215.5 kB / 360.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.006042, allocations: 259.4 kB / 360.4 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.006167, allocations: 44.53 kB / 360.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.006314, allocations: 119.6 kB / 360.6 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.006553, allocations: 171.6 kB / 360.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.006601, allocations: 20 kB / 360.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.756e-05/0.006639, allocations: 24 kB / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.006768, allocations: 119.6 kB / 360.9 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.737e-05/0.006855, allocations: 67.75 kB / 360.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.007112, allocations: 211.2 kB / 361.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.007114, allocations: 0 / 361.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.007115, allocations: 0 / 361.2 MB, free: 3.926 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.007121, allocations: 0 / 361.2 MB, free: 3.926 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001115/0.008235, allocations: 0.6984 MB / 361.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.008276, allocations: 12.92 kB / 361.9 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.008364, allocations: 40.75 kB / 361.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.008872, allocations: 293.2 kB / 362.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.008897, allocations: 12.66 kB / 362.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.295e-05/0.008939, allocations: 12.38 kB / 362.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.009179, allocations: 116.3 kB / 362.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.009192, allocations: 4.188 kB / 362.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.00921, allocations: 4.375 kB / 362.3 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.009222, allocations: 11.92 kB / 362.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.009459, allocations: 80.77 kB / 362.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009416/0.0104, allocations: 0.5617 MB / 363 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003943/0.01079, allocations: 158.9 kB / 363.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.01092, allocations: 59.66 kB / 363.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.01094, allocations: 4 kB / 363.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.01096, allocations: 33.39 kB / 363.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.01097, allocations: 0 / 363.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.001315/0.01228, allocations: 415 kB / 363.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.01232, allocations: 55.41 kB / 363.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.01264, allocations: 330.3 kB / 364 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.01266, allocations: 29.7 kB / 364.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01278, allocations: 203.2 kB / 364.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.071e-05/0.01286, allocations: 87.22 kB / 364.3 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-05/0.01294, allocations: 55.36 kB / 364.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.01313, allocations: 0.5157 MB / 364.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.01323, allocations: 31.98 kB / 364.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.159e-05/0.01332, allocations: 32.8 kB / 365 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.01367, allocations: 151.3 kB / 365.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01367, allocations: 0 / 365.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005688/0.01424, allocations: 256.9 kB / 365.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01426, allocations: 7.125 kB / 365.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.01426, allocations: 7.938 kB / 365.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.01457, allocations: 59.61 kB / 365.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.01473, allocations: 39.98 kB / 365.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.01628, allocations: 1.956 MB / 367.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.01646, allocations: 39.84 kB / 367.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.01648, allocations: 8 kB / 367.5 MB, free: 13.26 MB / 298.7 MB Warning: Assuming fixed start value for the following 7 variables: Cff.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.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 (25): * Single equations (assignments): 24 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.01669, allocations: 190.4 kB / 367.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.01676, allocations: 43.73 kB / 367.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.01682, allocations: 38.36 kB / 367.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01683, allocations: 4 kB / 367.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.01684, allocations: 3.984 kB / 367.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.01684, allocations: 0 / 367.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.01717, allocations: 244.4 kB / 368 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.01717, allocations: 0 / 368 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.01735, allocations: 32.11 kB / 368 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/0.0176, allocations: 75.48 kB / 368.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.01764, allocations: 8 kB / 368.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.01914, allocations: 1.952 MB / 370.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01914, allocations: 0 / 370.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.01989, allocations: 441.4 kB / 370.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.01996, allocations: 47.7 kB / 370.5 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.01999, allocations: 8 kB / 370.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.02019, allocations: 27.95 kB / 370.6 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.02027, allocations: 16.16 kB / 370.6 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.02029, allocations: 12 kB / 370.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.02054, allocations: 227 kB / 370.8 MB, free: 9.715 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02054, allocations: 0 / 370.8 MB, free: 9.715 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.02093, allocations: 60 kB / 370.9 MB, free: 9.656 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2],Cff.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 (18): * Single equations (assignments): 17 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.02109, allocations: 111.2 kB / 371 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005682/0.02166, allocations: 325.4 kB / 371.3 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.02166, allocations: 0 / 371.3 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.02195, allocations: 265.4 kB / 371.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.02235, allocations: 44.95 kB / 371.6 MB, free: 8.871 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.02359, allocations: 0.5952 MB / 372.2 MB, free: 8.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.654e-05/0.02369, allocations: 108.3 kB / 372.3 MB, free: 8.125 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.02381, allocations: 50.23 kB / 372.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.02389, allocations: 28.5 kB / 372.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.02389, allocations: 0 / 372.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of Templates: time 0.007595/0.03149, allocations: 3.776 MB / 376.2 MB, free: 4.309 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2208848111331463]