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.0008758/0.0008758, allocations: 75.59 kB / 20.8 MB, free: 3.715 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.0009866/0.0009866, allocations: 170 kB / 24.1 MB, free: 424 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 0.9272/0.9272, allocations: 177.1 MB / 204.4 MB, free: 5.691 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.06557/0.06557, allocations: 18.12 MB / 279 MB, free: 11.47 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 1.964e-06/1.964e-06, allocations: 0 / 416.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.134e-05, allocations: 3.438 kB / 416.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.001991/0.002023, allocations: 1.077 MB / 417.6 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.003479, allocations: 1.323 MB / 419 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.733e-05/0.003576, allocations: 2.625 kB / 419 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.003905, allocations: 77.06 kB / 419 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.004092, allocations: 92.8 kB / 419.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.004445, allocations: 213.2 kB / 419.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.00477, allocations: 262.9 kB / 419.6 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.004934, allocations: 34.64 kB / 419.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.005125, allocations: 119.8 kB / 419.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.005423, allocations: 172.1 kB / 419.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.005487, allocations: 22.22 kB / 419.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.15e-05/0.005529, allocations: 22.88 kB / 419.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.005684, allocations: 111.1 kB / 420.1 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.005783, allocations: 79.92 kB / 420.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.006149, allocations: 270.5 kB / 420.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.006157, allocations: 9.094 kB / 420.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.006159, allocations: 0 / 420.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.006169, allocations: 0 / 420.4 MB, free: 10.12 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001594/0.007763, allocations: 0.681 MB / 421.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.007813, allocations: 10.2 kB / 421.1 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.188e-05/0.007895, allocations: 31.17 kB / 421.1 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.008799, allocations: 357.7 kB / 421.5 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.008831, allocations: 10.09 kB / 421.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.008885, allocations: 19.31 kB / 421.5 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.009335, allocations: 185.3 kB / 421.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.009362, allocations: 1.719 kB / 421.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.009392, allocations: 5.781 kB / 421.7 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.009404, allocations: 10.66 kB / 421.7 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.009878, allocations: 199.9 kB / 421.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.01102, allocations: 0.5932 MB / 422.5 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.01169, allocations: 264.9 kB / 422.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.01193, allocations: 125.6 kB / 422.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01196, allocations: 2.438 kB / 422.9 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.01199, allocations: 34.86 kB / 422.9 MB, free: 8.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.367e-06/0.01199, allocations: 3.984 kB / 422.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.001934/0.01392, allocations: 0.6158 MB / 423.5 MB, free: 8.641 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.01396, allocations: 59.06 kB / 423.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.01485, allocations: 420.9 kB / 424 MB, free: 8.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.01487, allocations: 30.67 kB / 424 MB, free: 8.363 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.01496, allocations: 146.2 kB / 424.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.01505, allocations: 88.27 kB / 424.3 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.01514, allocations: 43.67 kB / 424.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.518e-05/0.0152, allocations: 345.4 kB / 424.6 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.0154, allocations: 102.6 kB / 424.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.01559, allocations: 108.1 kB / 424.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.01768, allocations: 0.7099 MB / 425.6 MB, free: 7.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01768, allocations: 0 / 425.6 MB, free: 7.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001029/0.01871, allocations: 443.2 kB / 426 MB, free: 7.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.01874, allocations: 6.094 kB / 426 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.01875, allocations: 0.7031 kB / 426 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003324/0.01908, allocations: 94.39 kB / 426.1 MB, free: 7.371 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.01926, allocations: 41.09 kB / 426.1 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.02087, allocations: 1.707 MB / 427.8 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.0212, allocations: 73.84 kB / 427.9 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.02122, allocations: 5.656 kB / 427.9 MB, free: 5.934 MB / 330.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.0002147/0.02143, allocations: 165.9 kB / 428.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.0215, allocations: 32.72 kB / 428.1 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.02156, allocations: 47.17 kB / 428.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.02157, allocations: 3.922 kB / 428.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.02157, allocations: 1.125 kB / 428.2 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.02158, allocations: 5.297 kB / 428.2 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.02192, allocations: 260.6 kB / 428.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.02193, allocations: 1.156 kB / 428.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.02213, allocations: 28.67 kB / 428.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002749/0.0224, allocations: 106.5 kB / 428.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.02243, allocations: 8.844 kB / 428.6 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.02387, allocations: 1.7 MB / 430.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02387, allocations: 1.344 kB / 430.3 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009988/0.02487, allocations: 0.6236 MB / 430.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.02493, allocations: 47.42 kB / 430.9 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.02497, allocations: 8.719 kB / 430.9 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.02533, allocations: 51.81 kB / 431 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.02542, allocations: 19.77 kB / 431 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.02544, allocations: 9.672 kB / 431 MB, free: 3.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007094/0.02615, allocations: 325.2 kB / 431.3 MB, free: 3.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02615, allocations: 0 / 431.3 MB, free: 3.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004205/0.02657, allocations: 64.31 kB / 431.4 MB, free: 3.609 MB / 330.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.0001221/0.02669, allocations: 102.2 kB / 431.5 MB, free: 3.516 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008085/0.0275, allocations: 398.9 kB / 431.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.0275, allocations: 0 / 431.9 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.02791, allocations: 273.5 kB / 432.2 MB, free: 3.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.02838, allocations: 45.67 kB / 432.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.02988, allocations: 0.6534 MB / 432.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.03014, allocations: 184.9 kB / 433 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.03034, allocations: 75.02 kB / 433.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.03043, allocations: 20.69 kB / 433.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.03043, allocations: 0 / 433.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of Templates: time 0.009286/0.03972, allocations: 3.732 MB / 436.9 MB, free: 1.16 MB / 330.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=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.006785850971937] Failed to read output from testmodel.py, exit status != 0: 0.04714476503431797 0.059519415000000006 0.050865145 Calling exit ...