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.0009548/0.0009548, 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.000947/0.000947, allocations: 173 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 0.958/0.958, 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.06326/0.06326, 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.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.763e-06/1.763e-06, allocations: 0 / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.476e-05, allocations: 2.312 kB / 357.3 MB, free: 7.82 MB / 282.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.03225/0.03229, allocations: 25.65 MB / 382.9 MB, free: 14.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.03525, allocations: 1.617 MB / 384.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.0354, allocations: 3.938 kB / 384.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.03576, allocations: 67.55 kB / 384.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.03602, allocations: 107.3 kB / 384.7 MB, free: 12.53 MB / 314.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.001186/0.03721, allocations: 0.5801 MB / 385.3 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.03755, allocations: 319.1 kB / 385.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.03766, allocations: 40.89 kB / 385.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.03781, allocations: 135.6 kB / 385.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004676/0.03827, allocations: 182.9 kB / 386 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.03833, allocations: 20 kB / 386 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.03891, allocations: 450.9 kB / 386.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.03902, allocations: 91.66 kB / 386.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.373e-05/0.03911, allocations: 79.73 kB / 386.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006537/0.03976, allocations: 0.5139 MB / 387.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.03976, allocations: 0 / 387.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.03976, allocations: 0 / 387.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.03977, allocations: 0 / 387.1 MB, free: 10.14 MB / 314.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.001165/0.04093, allocations: 0.7831 MB / 387.9 MB, free: 9.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.04097, allocations: 12.02 kB / 387.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.04112, allocations: 44.75 kB / 388 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.04155, allocations: 297.1 kB / 388.2 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.04158, allocations: 16.38 kB / 388.3 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.04161, allocations: 20.38 kB / 388.3 MB, free: 8.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.04183, allocations: 107 kB / 388.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.04185, allocations: 3.938 kB / 388.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.04186, allocations: 4 kB / 388.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.04187, allocations: 4 kB / 388.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.04204, allocations: 64.22 kB / 388.5 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007848/0.04282, allocations: 0.5388 MB / 389 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003831/0.0432, allocations: 173.6 kB / 389.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.04331, allocations: 47.66 kB / 389.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.04332, allocations: 4 kB / 389.2 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.04349, allocations: 109 kB / 389.3 MB, free: 7.797 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.04349, allocations: 4 kB / 389.3 MB, free: 7.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008929/0.04439, allocations: 360.9 kB / 389.7 MB, free: 7.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.04443, allocations: 67.28 kB / 389.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.04471, allocations: 350.3 kB / 390.1 MB, free: 6.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.04475, allocations: 45.69 kB / 390.1 MB, free: 6.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.04485, allocations: 207.4 kB / 390.3 MB, free: 6.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.04492, allocations: 87.25 kB / 390.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.045, allocations: 67.36 kB / 390.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.04516, allocations: 0.5235 MB / 391 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.04526, allocations: 40.3 kB / 391 MB, free: 5.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.04537, allocations: 72 kB / 391.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.04568, allocations: 184.5 kB / 391.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.04568, allocations: 0 / 391.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00046/0.04614, allocations: 280.3 kB / 391.6 MB, free: 5.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.04615, allocations: 4 kB / 391.6 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.04616, allocations: 8.031 kB / 391.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.04639, allocations: 47.64 kB / 391.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.04654, allocations: 55.91 kB / 391.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.04774, allocations: 1.933 MB / 393.6 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.04785, allocations: 43.75 kB / 393.7 MB, free: 3.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.04787, allocations: 12 kB / 393.7 MB, free: 3.219 MB / 314.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,globalSeed.id_impure,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,$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.000164/0.04803, allocations: 193.6 kB / 393.9 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.04807, allocations: 39.8 kB / 393.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.04813, allocations: 39.19 kB / 393.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.04814, allocations: 4 kB / 393.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.04815, allocations: 3.938 kB / 393.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.04815, allocations: 0 / 393.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.04838, allocations: 228.4 kB / 394.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.04838, allocations: 0 / 394.2 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.04848, allocations: 31.98 kB / 394.2 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001604/0.04864, allocations: 55.81 kB / 394.3 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.04866, allocations: 4 kB / 394.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.04978, allocations: 2.192 MB / 396.5 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.04978, allocations: 0 / 396.5 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.05019, allocations: 339.5 kB / 396.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.05023, allocations: 35.7 kB / 396.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.05025, allocations: 11.98 kB / 396.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.05035, allocations: 28 kB / 396.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.0504, allocations: 15.97 kB / 396.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.05041, allocations: 8.188 kB / 396.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.05056, allocations: 239 kB / 397.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05056, allocations: 0 / 397.1 MB, free: 15.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003293/0.05089, allocations: 155.6 kB / 397.3 MB, free: 15.43 MB / 330.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.0005568/0.05145, allocations: 334 kB / 397.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004301/0.05188, allocations: 351.1 kB / 397.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.05188, allocations: 0 / 397.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.05211, allocations: 269.4 kB / 398.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.05233, allocations: 59.59 kB / 398.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.05293, allocations: 0.522 MB / 398.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.851e-05/0.053, allocations: 104.3 kB / 398.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.73e-05/0.05308, allocations: 42.25 kB / 398.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.05313, allocations: 24.5 kB / 398.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.05313, allocations: 0 / 398.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of Templates: time 0.008011/0.06114, allocations: 6.182 MB / 405.1 MB, free: 7.523 MB / 330.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.212913569994271]