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.001233/0.001233, allocations: 91.56 kB / 20.45 MB, free: 4.113 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.002171/0.002171, allocations: 169 kB / 23.82 MB, free: 0.7461 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.056/1.056, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.1065/0.1065, allocations: 18.14 MB / 278.9 MB, free: 11.32 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.352e-06/1.352e-06, allocations: 0 / 357.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.203e-05, allocations: 4.703 kB / 357.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001681/0.001703, allocations: 1.057 MB / 358.4 MB, free: 7.789 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.003253, allocations: 1.307 MB / 359.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.003331, allocations: 0 / 359.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.003655, allocations: 55.58 kB / 359.7 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.003812, allocations: 63.67 kB / 359.8 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.004099, allocations: 175.6 kB / 360 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.004307, allocations: 207.5 kB / 360.2 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004409, allocations: 29.78 kB / 360.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.004513, allocations: 87.78 kB / 360.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.004674, allocations: 135.7 kB / 360.4 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.004714, allocations: 16 kB / 360.4 MB, free: 5.711 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.59e-05/0.00474, allocations: 20 kB / 360.4 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.004837, allocations: 103.6 kB / 360.5 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.004893, allocations: 55.83 kB / 360.6 MB, free: 5.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.005065, allocations: 167.4 kB / 360.8 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005067, allocations: 4 kB / 360.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005068, allocations: 0 / 360.8 MB, free: 5.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005072, allocations: 0 / 360.8 MB, free: 5.367 MB / 330.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.0007302/0.005802, allocations: 0.6398 MB / 361.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.005836, allocations: 8.922 kB / 361.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.005897, allocations: 40.75 kB / 361.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.006208, allocations: 256.3 kB / 361.7 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.006227, allocations: 12.38 kB / 361.7 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.006256, allocations: 16.33 kB / 361.7 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.006431, allocations: 103.1 kB / 361.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006442, allocations: 192 / 361.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.006456, allocations: 4.375 kB / 361.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.006465, allocations: 7.938 kB / 361.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.006593, allocations: 71.92 kB / 361.9 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005936/0.007186, allocations: 0.5071 MB / 362.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.007364, allocations: 122.2 kB / 362.5 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.007438, allocations: 47.67 kB / 362.6 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.007451, allocations: 4 kB / 362.6 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.007477, allocations: 45.39 kB / 362.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.353e-06/0.007478, allocations: 0 / 362.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008322/0.00831, allocations: 387.4 kB / 363 MB, free: 2.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.008339, allocations: 59.41 kB / 363.1 MB, free: 2.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.008536, allocations: 288.3 kB / 363.4 MB, free: 2.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.008556, allocations: 33.7 kB / 363.4 MB, free: 2.574 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.008644, allocations: 179.3 kB / 363.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.008705, allocations: 83.28 kB / 363.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.008762, allocations: 43.36 kB / 363.7 MB, free: 2.258 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.008908, allocations: 0.5157 MB / 364.2 MB, free: 1.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/0.008966, allocations: 23.98 kB / 364.2 MB, free: 1.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-05/0.009016, allocations: 31.92 kB / 364.3 MB, free: 1.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.009221, allocations: 127.9 kB / 364.4 MB, free: 1.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009223, allocations: 0 / 364.4 MB, free: 1.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000349/0.009572, allocations: 237.1 kB / 364.6 MB, free: 1.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.009585, allocations: 4 kB / 364.6 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.009591, allocations: 0 / 364.6 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/0.009809, allocations: 59.62 kB / 364.7 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.009912, allocations: 47.89 kB / 364.7 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.01105, allocations: 1.96 MB / 366.7 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.984e-05/0.01115, allocations: 31.86 kB / 366.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.01116, allocations: 4 kB / 366.7 MB, free: 15.07 MB / 346.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.0001391/0.0113, allocations: 181.9 kB / 366.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.01133, allocations: 31.8 kB / 366.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.01137, allocations: 38.11 kB / 367 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.01137, allocations: 0 / 367 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01138, allocations: 3.938 kB / 367 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01138, allocations: 4 kB / 367 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.01157, allocations: 212.4 kB / 367.2 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.01157, allocations: 0 / 367.2 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.919e-05/0.01167, allocations: 31.92 kB / 367.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/0.01183, allocations: 63.73 kB / 367.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.01185, allocations: 15.94 kB / 367.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.01295, allocations: 1.956 MB / 369.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01295, allocations: 0 / 369.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.01346, allocations: 413.8 kB / 369.7 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.01349, allocations: 31.78 kB / 369.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.01352, allocations: 11.94 kB / 369.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01362, allocations: 19.97 kB / 369.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.01368, allocations: 20 kB / 369.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.01369, allocations: 4 kB / 369.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.01381, allocations: 205.1 kB / 369.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01381, allocations: 3.938 kB / 369.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.01404, allocations: 63.94 kB / 370 MB, free: 11.59 MB / 346.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.309e-05/0.01412, allocations: 95.25 kB / 370.1 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004466/0.01457, allocations: 313.2 kB / 370.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01457, allocations: 0 / 370.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.01479, allocations: 261.3 kB / 370.7 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.01507, allocations: 38.75 kB / 370.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006505/0.01572, allocations: 498.1 kB / 371.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.756e-05/0.01579, allocations: 112.3 kB / 371.3 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.001e-05/0.01586, allocations: 37.91 kB / 371.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.0159, allocations: 16.5 kB / 371.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01591, allocations: 0 / 371.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Templates: time 0.005433/0.02134, allocations: 3.396 MB / 374.7 MB, free: 6.777 MB / 346.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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.12335254997015]