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.001451/0.001451, allocations: 84.23 kB / 20.23 MB, free: 4.18 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.001572/0.001572, allocations: 157.3 kB / 23.53 MB, free: 0.8789 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.517/1.517, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.1085/0.1085, allocations: 18.14 MB / 278.5 MB, free: 11.34 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.714e-06/1.714e-06, allocations: 0 / 356.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.717e-05, allocations: 6.312 kB / 356.5 MB, free: 8.207 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.03544/0.03546, allocations: 23.27 MB / 379.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.03884, allocations: 1.566 MB / 381.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.03899, allocations: 7.938 kB / 381.4 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003936/0.03939, allocations: 79.42 kB / 381.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.03969, allocations: 95.39 kB / 381.5 MB, free: 15.35 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.001581/0.04127, allocations: 0.5879 MB / 382.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004524/0.04173, allocations: 307.2 kB / 382.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.04186, allocations: 44.89 kB / 382.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.04208, allocations: 139.5 kB / 382.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007283/0.04281, allocations: 185 kB / 382.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.04286, allocations: 24 kB / 382.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007707/0.04363, allocations: 450.9 kB / 383.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.04378, allocations: 99.59 kB / 383.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.0439, allocations: 79.73 kB / 383.4 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008994/0.0448, allocations: 0.5997 MB / 384 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.0448, allocations: 0 / 384 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.0448, allocations: 0 / 384 MB, free: 12.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.0448, allocations: 0 / 384 MB, free: 12.87 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.002039/0.04684, allocations: 0.73 MB / 384.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.04688, allocations: 8.031 kB / 384.8 MB, free: 12.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.04705, allocations: 48.7 kB / 384.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.048, allocations: 357.5 kB / 385.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.04803, allocations: 12.38 kB / 385.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.04807, allocations: 16.38 kB / 385.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.04845, allocations: 178.9 kB / 385.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.04847, allocations: 7.938 kB / 385.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.04849, allocations: 4 kB / 385.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.04851, allocations: 4 kB / 385.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.04893, allocations: 172.2 kB / 385.5 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.05013, allocations: 0.5394 MB / 386.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007248/0.05085, allocations: 266.2 kB / 386.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.05108, allocations: 96.81 kB / 386.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.0511, allocations: 7.938 kB / 386.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000365/0.05147, allocations: 178.3 kB / 386.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.05147, allocations: 0 / 386.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.0017/0.05317, allocations: 0.541 MB / 387.2 MB, free: 9.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.05323, allocations: 63.34 kB / 387.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/0.05418, allocations: 416.4 kB / 387.6 MB, free: 9.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.05423, allocations: 45.69 kB / 387.7 MB, free: 9.062 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.05438, allocations: 164.6 kB / 387.8 MB, free: 8.898 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.05449, allocations: 79.33 kB / 387.9 MB, free: 8.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.0546, allocations: 57.7 kB / 388 MB, free: 8.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.05481, allocations: 346.8 kB / 388.3 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.05507, allocations: 120.2 kB / 388.4 MB, free: 8.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.05536, allocations: 146.2 kB / 388.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.05784, allocations: 0.6628 MB / 389.2 MB, free: 7.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.05784, allocations: 4 kB / 389.2 MB, free: 7.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00105/0.05889, allocations: 473.4 kB / 389.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.05891, allocations: 4 kB / 389.7 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.05891, allocations: 0 / 389.7 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.05926, allocations: 88.81 kB / 389.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.05947, allocations: 31.98 kB / 389.8 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.06154, allocations: 1.629 MB / 391.4 MB, free: 5.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.06197, allocations: 71.86 kB / 391.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.062, allocations: 8 kB / 391.5 MB, free: 5.059 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.0002712/0.06227, allocations: 167 kB / 391.7 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.679e-05/0.06236, allocations: 39.8 kB / 391.7 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.994e-05/0.06245, allocations: 43.19 kB / 391.8 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.06246, allocations: 4 kB / 391.8 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.06246, allocations: 3.938 kB / 391.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.06247, allocations: 3.938 kB / 391.8 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.06282, allocations: 245.1 kB / 392 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.06282, allocations: 0 / 392 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/0.06299, allocations: 19.98 kB / 392 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.0633, allocations: 84.78 kB / 392.1 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.06333, allocations: 8 kB / 392.1 MB, free: 4.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/0.06554, allocations: 1.805 MB / 393.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.06555, allocations: 0 / 393.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.06672, allocations: 0.5219 MB / 394.4 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.0668, allocations: 39.78 kB / 394.5 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.06684, allocations: 8 kB / 394.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.06721, allocations: 44 kB / 394.5 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.0673, allocations: 31.83 kB / 394.6 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.06732, allocations: 8 kB / 394.6 MB, free: 1.836 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007849/0.06811, allocations: 318.9 kB / 394.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.06811, allocations: 0 / 394.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000628/0.06873, allocations: 159.5 kB / 395 MB, free: 1.367 MB / 314.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.0009335/0.06967, allocations: 355.6 kB / 395.4 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.07086, allocations: 407.6 kB / 395.8 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.07086, allocations: 0 / 395.8 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.07143, allocations: 266.4 kB / 396 MB, free: 368 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.07178, allocations: 49.06 kB / 396.1 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.07294, allocations: 0.5867 MB / 396.7 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.07317, allocations: 191.4 kB / 396.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.07332, allocations: 54.25 kB / 396.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.0734, allocations: 28.44 kB / 397 MB, free: 15.41 MB / 330.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0734, allocations: 0 / 397 MB, free: 15.41 MB / 330.7 MB Notification: Performance of Templates: time 0.01245/0.08585, allocations: 5.739 MB / 402.7 MB, free: 9.711 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=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_2dof_noise.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.969829418929294]