Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.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.001072/0.001072, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.00135/0.00135, allocations: 177 kB / 24.08 MB, free: 432 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.1 MB / 204.5 MB, free: 5.52 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.09071/0.09071, allocations: 18.15 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.MSL_loop_2dof_noise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 357.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.839e-05/3.012e-05, allocations: 5.266 kB / 357.8 MB, free: 8.586 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:1329:5-1330:50:writable] Warning: An inner declaration for outer component globalSeed could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Blocks/Interfaces.mo:1329:5-1330:50:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"globalSeed\" component but an inner \"globalSeed\" component is not defined and therefore a default inner \"globalSeed\" component is introduced by the tool. To change the default setting, drag Noise.GlobalSeed into your model and specify the seed. Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise): time 0.02622/0.02625, allocations: 25.7 MB / 383.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.02904, allocations: 1.597 MB / 385.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.02919, allocations: 4 kB / 385.1 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.02949, allocations: 71.48 kB / 385.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.02972, allocations: 107.3 kB / 385.2 MB, free: 13.27 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.03096, allocations: 0.5762 MB / 385.8 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.03133, allocations: 307.1 kB / 386.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.03144, allocations: 44.89 kB / 386.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.03162, allocations: 135.6 kB / 386.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000512/0.03213, allocations: 177.7 kB / 386.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.0322, allocations: 24 kB / 386.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006567/0.03285, allocations: 450.9 kB / 386.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.03297, allocations: 95.66 kB / 387 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.03305, allocations: 75.75 kB / 387.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007289/0.03377, allocations: 0.5178 MB / 387.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.03378, allocations: 0 / 387.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.03378, allocations: 0 / 387.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.03378, allocations: 4 kB / 387.6 MB, free: 10.89 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001022/0.03481, allocations: 0.7401 MB / 388.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.03484, allocations: 8.031 kB / 388.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.03497, allocations: 44.75 kB / 388.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.03538, allocations: 293.1 kB / 388.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.0354, allocations: 16.31 kB / 388.7 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.03543, allocations: 16.38 kB / 388.7 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.03562, allocations: 99.02 kB / 388.8 MB, free: 9.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.03563, allocations: 3.938 kB / 388.8 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.03565, allocations: 4 kB / 388.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.03565, allocations: 4 kB / 388.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.03577, allocations: 53.78 kB / 388.9 MB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.03646, allocations: 488.4 kB / 389.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.03676, allocations: 150.8 kB / 389.5 MB, free: 8.883 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.266e-05/0.03682, allocations: 39.67 kB / 389.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.03684, allocations: 8 kB / 389.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.03698, allocations: 109 kB / 389.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.03699, allocations: 0 / 389.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007583/0.03774, allocations: 328.9 kB / 390 MB, free: 8.379 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.03778, allocations: 59.41 kB / 390 MB, free: 8.309 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.03804, allocations: 354 kB / 390.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.03806, allocations: 33.7 kB / 390.4 MB, free: 7.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.03816, allocations: 219.3 kB / 390.6 MB, free: 7.684 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.03824, allocations: 87.31 kB / 390.7 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.03832, allocations: 71.25 kB / 390.8 MB, free: 7.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.03847, allocations: 0.5195 MB / 391.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.03854, allocations: 32.31 kB / 391.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.03866, allocations: 71.95 kB / 391.4 MB, free: 6.875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.03889, allocations: 161 kB / 391.6 MB, free: 6.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.0389, allocations: 0 / 391.6 MB, free: 6.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003929/0.03929, allocations: 252.4 kB / 391.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.0393, allocations: 10.5 kB / 391.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.03931, allocations: 0 / 391.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001806/0.03949, allocations: 43.64 kB / 391.9 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.03963, allocations: 51.91 kB / 391.9 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.04084, allocations: 1.891 MB / 393.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.04096, allocations: 35.78 kB / 393.9 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.04098, allocations: 7.938 kB / 393.9 MB, free: 4.301 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: Fn.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.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: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,noise.localSeed,globalSeed.seed,noise.actualGlobalSeed,globalSeed.id_impure,$PRE.noise.r_raw,$PRE.noise.r,$PRE.noise.state[4],$PRE.noise.state[3],$PRE.noise.state[2],$PRE.noise.state[1],noise.r_raw,noise.r,noise.state[4],noise.state[3],noise.state[2],noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 1 * 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.0001633/0.04114, allocations: 193.7 kB / 394 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.04119, allocations: 43.7 kB / 394.1 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.04124, allocations: 39.19 kB / 394.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.04124, allocations: 0 / 394.1 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.04125, allocations: 4 kB / 394.1 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.04125, allocations: 3.984 kB / 394.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.04144, allocations: 193 kB / 394.3 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.04145, allocations: 0 / 394.3 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.04154, allocations: 20 kB / 394.3 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001487/0.04169, allocations: 51.61 kB / 394.4 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.04171, allocations: 8 kB / 394.4 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.04302, allocations: 2.151 MB / 396.6 MB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.04303, allocations: 0 / 396.6 MB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.04347, allocations: 291.6 kB / 396.8 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.04351, allocations: 43.69 kB / 396.9 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.04354, allocations: 15.92 kB / 396.9 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.04364, allocations: 12 kB / 396.9 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.0437, allocations: 23.95 kB / 396.9 MB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.04371, allocations: 0 / 396.9 MB, free: 1.035 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.04385, allocations: 230.9 kB / 397.2 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04385, allocations: 0 / 397.2 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004636/0.04432, allocations: 155.6 kB / 397.3 MB, free: 0.6602 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Fn.x_scaled[1]) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005816/0.0449, allocations: 341.1 kB / 397.6 MB, free: 344 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003778/0.04528, allocations: 314.7 kB / 398 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.04528, allocations: 0 / 398 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.04554, allocations: 265.3 kB / 398.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.04578, allocations: 49.14 kB / 398.3 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006847/0.04647, allocations: 0.5169 MB / 398.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.648e-05/0.04654, allocations: 108.2 kB / 398.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.976e-05/0.04662, allocations: 34.28 kB / 398.9 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.04701, allocations: 98.19 kB / 399 MB, free: 14.88 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.04701, allocations: 0 / 399 MB, free: 14.88 MB / 378.7 MB Notification: Performance of Templates: time 0.009832/0.05684, allocations: 6.244 MB / 405.3 MB, free: 8.668 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.22603171877563]