Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.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.001185/0.001185, allocations: 72.95 kB / 20.74 MB, free: 3.746 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.001378/0.001378, allocations: 177 kB / 24.17 MB, free: 328 kB / 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.6 MB, free: 5.449 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.07441/0.07441, allocations: 18.13 MB / 279.2 MB, free: 11.17 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_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 304.6 MB, free: 348 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.531e-05, allocations: 4.172 kB / 304.6 MB, free: 344 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.002024/0.00205, allocations: 1.101 MB / 305.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.003727, allocations: 1.308 MB / 307 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.003808, allocations: 6.5 kB / 307 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.004114, allocations: 54.86 kB / 307 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.004267, allocations: 66.25 kB / 307.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.0046, allocations: 171.9 kB / 307.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.00485, allocations: 202.4 kB / 307.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004962, allocations: 36.88 kB / 307.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.005088, allocations: 101.4 kB / 307.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.005277, allocations: 133.3 kB / 307.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.005315, allocations: 21.5 kB / 307.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.531e-05/0.005341, allocations: 16 kB / 307.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.005441, allocations: 93.69 kB / 307.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.005505, allocations: 62.72 kB / 307.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.005701, allocations: 168.9 kB / 308.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.005703, allocations: 0 / 308.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005704, allocations: 0 / 308.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.005708, allocations: 4 kB / 308.1 MB, free: 14.18 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006784/0.006386, allocations: 472.5 kB / 308.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.006424, allocations: 16.92 kB / 308.6 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.006479, allocations: 22.66 kB / 308.6 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.006792, allocations: 223.7 kB / 308.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.006816, allocations: 12.38 kB / 308.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.006852, allocations: 16.36 kB / 308.8 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.007049, allocations: 101 kB / 308.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.007061, allocations: 192 / 308.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.007076, allocations: 4.375 kB / 308.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.007083, allocations: 7.938 kB / 308.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.007173, allocations: 49.64 kB / 309 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.007643, allocations: 350.8 kB / 309.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.007788, allocations: 148 kB / 309.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.007836, allocations: 36.84 kB / 309.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.007849, allocations: 0 / 309.5 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.007869, allocations: 38.91 kB / 309.5 MB, free: 12.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.00787, allocations: 0 / 309.5 MB, free: 12.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006671/0.008537, allocations: 303.8 kB / 309.8 MB, free: 12.37 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.008563, allocations: 51.41 kB / 309.9 MB, free: 12.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.008707, allocations: 221 kB / 310.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.008725, allocations: 33.7 kB / 310.1 MB, free: 12.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.008766, allocations: 109 kB / 310.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.008819, allocations: 83.25 kB / 310.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.008865, allocations: 37.69 kB / 310.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.066e-05/0.008946, allocations: 342.8 kB / 310.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.008984, allocations: 26.77 kB / 310.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.009018, allocations: 20.86 kB / 310.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.00916, allocations: 104.8 kB / 310.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.009162, allocations: 0 / 310.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002472/0.009409, allocations: 173.1 kB / 311 MB, free: 11.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.00942, allocations: 4 kB / 311 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.009424, allocations: 4 kB / 311 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001745/0.009599, allocations: 47.64 kB / 311.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.009687, allocations: 35.92 kB / 311.1 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008096/0.0105, allocations: 1.349 MB / 312.5 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.01058, allocations: 27.88 kB / 312.5 MB, free: 9.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.01058, allocations: 0 / 312.5 MB, free: 9.562 MB / 282.7 MB Warning: Assuming fixed start value for the following 6 variables: 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 (21): * Single equations (assignments): 20 * 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.0001233/0.01071, allocations: 139.9 kB / 312.6 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.01074, allocations: 19.97 kB / 312.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.01078, allocations: 34.12 kB / 312.7 MB, free: 9.359 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01078, allocations: 4 kB / 312.7 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.01079, allocations: 7.938 kB / 312.7 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01079, allocations: 3.984 kB / 312.7 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.01095, allocations: 151.7 kB / 312.8 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01095, allocations: 0 / 312.8 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.01104, allocations: 27.98 kB / 312.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/0.01118, allocations: 55.58 kB / 312.9 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.0112, allocations: 11.98 kB / 312.9 MB, free: 9.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007167/0.01191, allocations: 1.348 MB / 314.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01192, allocations: 0 / 314.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.01224, allocations: 351.6 kB / 314.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.01226, allocations: 27.78 kB / 314.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01228, allocations: 4 kB / 314.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.01236, allocations: 12 kB / 314.7 MB, free: 7.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.01241, allocations: 11.97 kB / 314.7 MB, free: 7.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.01242, allocations: 15.92 kB / 314.7 MB, free: 7.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.01248, allocations: 78.77 kB / 314.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01248, allocations: 4 kB / 314.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001854/0.01267, allocations: 55.95 kB / 314.8 MB, free: 7.07 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2]) * 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 (15): * Single equations (assignments): 14 * 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 8.47e-05/0.01275, allocations: 85.34 kB / 314.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.01303, allocations: 215.5 kB / 315.1 MB, free: 6.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.01304, allocations: 4 kB / 315.1 MB, free: 6.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.01318, allocations: 183.3 kB / 315.3 MB, free: 6.551 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.01336, allocations: 38.72 kB / 315.3 MB, free: 6.516 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005079/0.01387, allocations: 485.2 kB / 315.8 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.902e-05/0.01393, allocations: 105.1 kB / 315.9 MB, free: 5.895 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.974e-05/0.01398, allocations: 21.95 kB / 315.9 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.36e-05/0.01406, allocations: 71.36 kB / 316 MB, free: 5.805 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01406, allocations: 0 / 316 MB, free: 5.805 MB / 282.7 MB Notification: Performance of Templates: time 0.004628/0.01869, allocations: 3.418 MB / 319.4 MB, free: 2.434 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9765469902195036]