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.0006435/0.0006435, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00093/0.001573, allocations: 440 kB / 10.41 MB, free: 284 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.0006731/0.0006731, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008695/0.001543, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.048/1.048, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1115/1.16, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.09286/0.09286, allocations: 18.12 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01145/0.1043, allocations: 6.786 MB / 269.1 MB, free: 6.23 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.894e-06/1.894e-06, allocations: 0 / 270.5 MB, free: 4.773 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.73e-05, allocations: 2.312 kB / 270.5 MB, free: 4.77 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.01553/0.01556, allocations: 2.061 MB / 272.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.01786, allocations: 1.632 MB / 274.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.01797, allocations: 0 / 274.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.01823, allocations: 75.42 kB / 274.3 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.01839, allocations: 107.4 kB / 274.4 MB, free: 0.8672 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.0007284/0.01912, allocations: 0.5216 MB / 274.9 MB, free: 352 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.01936, allocations: 303.2 kB / 275.2 MB, free: 48 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.01946, allocations: 46.84 kB / 275.2 MB, free: 0 / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1264/0.1459, allocations: 224.9 kB / 275.5 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.1464, allocations: 175.1 kB / 275.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.1464, allocations: 26.75 kB / 275.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.1472, allocations: 473.2 kB / 276.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1473, allocations: 78.42 kB / 276.2 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.1474, allocations: 53.91 kB / 276.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000531/0.1479, allocations: 456 kB / 276.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.1479, allocations: 7.375 kB / 276.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1479, allocations: 1 kB / 276.7 MB, free: 1.926 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.1479, allocations: 3.281 kB / 276.7 MB, free: 1.926 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.0008627/0.1488, allocations: 0.6744 MB / 277.4 MB, free: 1.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1488, allocations: 14.66 kB / 277.4 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1489, allocations: 110 kB / 277.5 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.1493, allocations: 270.8 kB / 277.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.1493, allocations: 11.16 kB / 277.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1493, allocations: 15.06 kB / 277.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.1495, allocations: 110.2 kB / 277.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1495, allocations: 0 / 277.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1495, allocations: 9.094 kB / 277.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.1495, allocations: 10.38 kB / 277.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.529e-05/0.1496, allocations: 51.58 kB / 278 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.1501, allocations: 361.2 kB / 278.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.1504, allocations: 189.7 kB / 278.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.1504, allocations: 34.44 kB / 278.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.1504, allocations: 3.469 kB / 278.5 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.1505, allocations: 107.9 kB / 278.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.492e-06/0.1505, allocations: 0 / 278.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006004/0.1511, allocations: 275.7 kB / 278.9 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1512, allocations: 61.97 kB / 279 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1514, allocations: 277.2 kB / 279.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.1514, allocations: 38.47 kB / 279.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.1514, allocations: 134.9 kB / 279.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.885e-05/0.1515, allocations: 86.5 kB / 279.5 MB, free: 500 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.1516, allocations: 58.2 kB / 279.6 MB, free: 484 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.1516, allocations: 352.6 kB / 279.9 MB, free: 160 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.887e-05/0.1517, allocations: 36.34 kB / 279.9 MB, free: 152 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.1518, allocations: 52.27 kB / 280 MB, free: 136 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.152, allocations: 160.6 kB / 280.2 MB, free: 104 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.152, allocations: 1.484 kB / 280.2 MB, free: 104 kB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003197/0.1523, allocations: 190.4 kB / 280.3 MB, free: 52 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1523, allocations: 11.64 kB / 280.3 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.1523, allocations: 4.875 kB / 280.4 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/0.1526, allocations: 52.61 kB / 280.4 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1527, allocations: 52.53 kB / 280.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.1537, allocations: 1.483 MB / 281.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1538, allocations: 36.41 kB / 282 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.1538, allocations: 11.86 kB / 282 MB, free: 14.73 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.0001397/0.154, allocations: 142 kB / 282.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.154, allocations: 27 kB / 282.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.154, allocations: 38.23 kB / 282.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1541, allocations: 3.469 kB / 282.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1541, allocations: 2.047 kB / 282.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1541, allocations: 2.234 kB / 282.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1542, allocations: 157.2 kB / 282.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1542, allocations: 0.7031 kB / 282.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.519e-05/0.1543, allocations: 26 kB / 282.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.1543, allocations: 33.03 kB / 282.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.1545, allocations: 57.67 kB / 282.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.1545, allocations: 6.891 kB / 282.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009027/0.1554, allocations: 1.487 MB / 284 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1554, allocations: 1.188 kB / 284 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.1558, allocations: 238.7 kB / 284.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.1558, allocations: 16.06 kB / 284.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.1559, allocations: 17.14 kB / 284.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.1559, allocations: 14.98 kB / 284.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.1559, allocations: 6.906 kB / 284.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1561, allocations: 109.3 kB / 284.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1561, allocations: 0 / 284.4 MB, free: 13.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.1564, allocations: 158.3 kB / 284.5 MB, free: 13.06 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.0006097/0.157, allocations: 366.8 kB / 284.9 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003761/0.1574, allocations: 262.3 kB / 285.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.1574, allocations: 6.016 kB / 285.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.1576, allocations: 214.1 kB / 285.3 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1579, allocations: 209 kB / 285.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007905/0.1587, allocations: 0.5094 MB / 286.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.089e-05/0.1588, allocations: 111.8 kB / 286.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.726e-05/0.1589, allocations: 29.42 kB / 286.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.159, allocations: 89.02 kB / 286.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.159, allocations: 0 / 286.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of Templates: time 0.008928/0.1679, allocations: 6.438 MB / 292.7 MB, free: 10.13 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.993916847743094]