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.002178/0.002178, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00114/0.003318, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007166/0.0007166, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008743/0.001591, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9497/0.9497, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07487/1.025, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.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.0635/0.0635, allocations: 18.12 MB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01056/0.07406, allocations: 6.789 MB / 268.9 MB, free: 6.352 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.813e-06/1.813e-06, allocations: 0 / 270.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.054e-05, allocations: 2.312 kB / 270.3 MB, free: 4.902 MB / 266.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.01214/0.01216, allocations: 2.052 MB / 272.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.01423, allocations: 1.628 MB / 274 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.01434, allocations: 0 / 274 MB, free: 1.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.01454, allocations: 79.42 kB / 274.1 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.01469, allocations: 95.47 kB / 274.2 MB, free: 1.023 MB / 266.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.0007734/0.01547, allocations: 0.5294 MB / 274.7 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.01572, allocations: 299.2 kB / 275 MB, free: 204 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.01582, allocations: 54.78 kB / 275 MB, free: 148 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1127/0.1285, allocations: 229 kB / 275.3 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005226/0.1291, allocations: 170.3 kB / 275.4 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.1291, allocations: 21.88 kB / 275.4 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008217/0.13, allocations: 478.4 kB / 275.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.1301, allocations: 73.2 kB / 276 MB, free: 1.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.176e-05/0.1301, allocations: 60.5 kB / 276 MB, free: 1.992 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006935/0.1308, allocations: 458.1 kB / 276.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.1309, allocations: 0 / 276.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1309, allocations: 1.094 kB / 276.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.1309, allocations: 0.7969 kB / 276.5 MB, free: 1.973 MB / 266.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.001001/0.1319, allocations: 0.6811 MB / 277.2 MB, free: 1.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1319, allocations: 13.05 kB / 277.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.1321, allocations: 111 kB / 277.3 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.1324, allocations: 266 kB / 277.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1324, allocations: 13.38 kB / 277.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1324, allocations: 17.78 kB / 277.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1326, allocations: 111.2 kB / 277.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1326, allocations: 1.703 kB / 277.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1326, allocations: 9.469 kB / 277.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1327, allocations: 2.969 kB / 277.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.1328, allocations: 47.67 kB / 277.8 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.1333, allocations: 356 kB / 278.1 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.1335, allocations: 194.6 kB / 278.3 MB, free: 1.012 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.1336, allocations: 33.52 kB / 278.3 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.1336, allocations: 8.594 kB / 278.3 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.1338, allocations: 106.7 kB / 278.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.1338, allocations: 1.094 kB / 278.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006368/0.1344, allocations: 271.1 kB / 278.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1344, allocations: 69.31 kB / 278.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.1347, allocations: 273.7 kB / 279 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1347, allocations: 40.97 kB / 279.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.1348, allocations: 134.1 kB / 279.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.372e-05/0.1348, allocations: 81.17 kB / 279.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.1349, allocations: 58.59 kB / 279.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.1349, allocations: 353.1 kB / 279.7 MB, free: 212 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.135, allocations: 32.38 kB / 279.7 MB, free: 204 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.1351, allocations: 56.25 kB / 279.8 MB, free: 188 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.1352, allocations: 161 kB / 279.9 MB, free: 156 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1352, allocations: 0 / 279.9 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002867/0.1355, allocations: 190.5 kB / 280.1 MB, free: 108 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1355, allocations: 9.844 kB / 280.1 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1356, allocations: 3.094 kB / 280.1 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.1357, allocations: 50.53 kB / 280.2 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1359, allocations: 55.31 kB / 280.2 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008961/0.1368, allocations: 1.338 MB / 281.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1369, allocations: 27.41 kB / 281.6 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.1369, allocations: 8.891 kB / 281.6 MB, free: 14.92 MB / 282.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.0001603/0.137, allocations: 151.7 kB / 281.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.1371, allocations: 23.83 kB / 281.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.1371, allocations: 40.17 kB / 281.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1371, allocations: 3.047 kB / 281.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1371, allocations: 1.938 kB / 281.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1371, allocations: 2.391 kB / 281.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.1373, allocations: 150.7 kB / 282 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1373, allocations: 1.188 kB / 282 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-05/0.1374, allocations: 30.31 kB / 282 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.1374, allocations: 32.09 kB / 282 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.1375, allocations: 51.94 kB / 282.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1375, allocations: 6.812 kB / 282.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/0.1384, allocations: 1.492 MB / 283.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1384, allocations: 0 / 283.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.1388, allocations: 244 kB / 283.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.1388, allocations: 8.453 kB / 283.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.1389, allocations: 15.77 kB / 283.8 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1389, allocations: 22.48 kB / 283.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.139, allocations: 5 kB / 283.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.1391, allocations: 108.1 kB / 284 MB, free: 13.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1391, allocations: 3.938 kB / 284 MB, free: 13.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.1394, allocations: 155.8 kB / 284.1 MB, free: 13.25 MB / 282.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.0005603/0.14, allocations: 354.5 kB / 284.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.1403, allocations: 259.8 kB / 284.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.1403, allocations: 6.031 kB / 284.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.1405, allocations: 198.7 kB / 284.9 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.1407, allocations: 70.02 kB / 285 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007301/0.1414, allocations: 0.5156 MB / 285.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.04e-05/0.1415, allocations: 111.6 kB / 285.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.1416, allocations: 27.08 kB / 285.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.429e-05/0.1417, allocations: 81.97 kB / 285.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1417, allocations: 0 / 285.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of Templates: time 0.007888/0.1496, allocations: 6.209 MB / 291.9 MB, free: 10.61 MB / 282.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: 2.843806840479374]