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.00101/0.00101, allocations: 80.94 kB / 20.74 MB, free: 3.738 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.001146/0.001146, allocations: 173 kB / 24.16 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.024/1.024, allocations: 177.2 MB / 204.6 MB, free: 5.461 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.08353/0.08353, allocations: 18.14 MB / 279.2 MB, free: 11.18 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.453e-06/1.453e-06, allocations: 0 / 304.5 MB, free: 396 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.725e-05/1.871e-05, allocations: 5.141 kB / 304.5 MB, free: 392 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001645/0.001664, allocations: 1.047 MB / 305.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.003074, allocations: 1.317 MB / 306.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.602e-05/0.00315, allocations: 2.281 kB / 306.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.003424, allocations: 59.42 kB / 306.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.003562, allocations: 57.89 kB / 307 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.003864, allocations: 178.7 kB / 307.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.004088, allocations: 205.6 kB / 307.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.004183, allocations: 35.41 kB / 307.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.004294, allocations: 89.14 kB / 307.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.004456, allocations: 141 kB / 307.6 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.004493, allocations: 22.47 kB / 307.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.329e-05/0.004516, allocations: 20.31 kB / 307.7 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.004629, allocations: 89.5 kB / 307.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.004687, allocations: 55.41 kB / 307.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.004867, allocations: 172.3 kB / 308 MB, free: 14.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004869, allocations: 0 / 308 MB, free: 14.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00487, allocations: 0 / 308 MB, free: 14.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004873, allocations: 0 / 308 MB, free: 14.28 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.0005934/0.005466, allocations: 476.7 kB / 308.5 MB, free: 13.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.005494, allocations: 8.922 kB / 308.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.005541, allocations: 26.61 kB / 308.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.005797, allocations: 233.1 kB / 308.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.005813, allocations: 8.375 kB / 308.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.005839, allocations: 13.12 kB / 308.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.005993, allocations: 102.2 kB / 308.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.006004, allocations: 4.188 kB / 308.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.006018, allocations: 9.172 kB / 308.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.006025, allocations: 7.938 kB / 308.9 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/0.006109, allocations: 43.77 kB / 308.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.006546, allocations: 342.8 kB / 309.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.006691, allocations: 152.9 kB / 309.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.822e-05/0.006739, allocations: 36.84 kB / 309.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.006753, allocations: 4 kB / 309.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.006772, allocations: 38.91 kB / 309.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.062e-06/0.006773, allocations: 0 / 309.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006607/0.007434, allocations: 299.6 kB / 309.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.007459, allocations: 55.41 kB / 309.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.007591, allocations: 221 kB / 310 MB, free: 12.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.007608, allocations: 29.7 kB / 310.1 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.007648, allocations: 113 kB / 310.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/0.007695, allocations: 83.27 kB / 310.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.007747, allocations: 41.67 kB / 310.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.007823, allocations: 338.8 kB / 310.6 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.783e-05/0.007881, allocations: 18.81 kB / 310.6 MB, free: 11.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.007913, allocations: 16.66 kB / 310.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.008052, allocations: 116.2 kB / 310.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008053, allocations: 0 / 310.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002308/0.008284, allocations: 165.1 kB / 310.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.008294, allocations: 4 kB / 310.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.008298, allocations: 0 / 310.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001729/0.008471, allocations: 59.56 kB / 311 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.008559, allocations: 31.98 kB / 311 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007885/0.009348, allocations: 1.335 MB / 312.4 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.562e-05/0.009423, allocations: 19.89 kB / 312.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.009434, allocations: 7.938 kB / 312.4 MB, free: 9.703 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.0001149/0.009549, allocations: 148.6 kB / 312.5 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.009582, allocations: 19.97 kB / 312.6 MB, free: 9.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.009615, allocations: 38.12 kB / 312.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.009617, allocations: 3.984 kB / 312.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.009621, allocations: 3.938 kB / 312.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009624, allocations: 0 / 312.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.00977, allocations: 150.6 kB / 312.7 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.009772, allocations: 192 / 312.7 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.959e-05/0.009861, allocations: 31.98 kB / 312.8 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001318/0.009993, allocations: 47.64 kB / 312.8 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.01001, allocations: 7.984 kB / 312.8 MB, free: 9.227 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006815/0.01069, allocations: 1.338 MB / 314.2 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01069, allocations: 0 / 314.2 MB, free: 7.793 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.01101, allocations: 354.8 kB / 314.5 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.01103, allocations: 31.81 kB / 314.5 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01105, allocations: 8.25 kB / 314.6 MB, free: 7.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.01114, allocations: 12 kB / 314.6 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.01117, allocations: 15.97 kB / 314.6 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.01118, allocations: 7.984 kB / 314.6 MB, free: 7.352 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.323e-05/0.01124, allocations: 74.78 kB / 314.7 MB, free: 7.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01124, allocations: 0 / 314.7 MB, free: 7.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.01142, allocations: 55.95 kB / 314.7 MB, free: 7.227 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 7.252e-05/0.01149, allocations: 88.36 kB / 314.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.01178, allocations: 223.4 kB / 315 MB, free: 6.895 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.01178, allocations: 0 / 315 MB, free: 6.895 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.01191, allocations: 183.3 kB / 315.2 MB, free: 6.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.01209, allocations: 44.23 kB / 315.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.01261, allocations: 478.2 kB / 315.7 MB, free: 6.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.144e-05/0.01268, allocations: 105.1 kB / 315.8 MB, free: 6.043 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.01273, allocations: 21.94 kB / 315.8 MB, free: 6.023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.039e-05/0.01281, allocations: 75.36 kB / 315.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01281, allocations: 3.938 kB / 315.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of Templates: time 0.004822/0.01763, allocations: 3.415 MB / 319.3 MB, free: 2.574 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 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9694630410522223]