Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.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.0009908/0.0009908, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001343/0.001343, allocations: 165 kB / 23.82 MB, free: 0.7539 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.026/1.026, allocations: 177.1 MB / 204.2 MB, free: 5.219 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.06875/0.06875, allocations: 18.14 MB / 278.9 MB, free: 11.16 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.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.843e-05, allocations: 2.312 kB / 357.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001859/0.001888, allocations: 1.056 MB / 358.4 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.003359, allocations: 1.307 MB / 359.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.003e-05/0.003449, allocations: 0 / 359.7 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.003775, allocations: 63.5 kB / 359.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.003952, allocations: 63.73 kB / 359.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.004255, allocations: 167.6 kB / 359.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.004478, allocations: 207.5 kB / 360.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.004592, allocations: 37.62 kB / 360.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.004711, allocations: 91.7 kB / 360.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.004885, allocations: 135.7 kB / 360.4 MB, free: 4.676 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.004926, allocations: 16 kB / 360.4 MB, free: 4.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.004953, allocations: 20 kB / 360.4 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.00505, allocations: 91.7 kB / 360.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.005118, allocations: 67.75 kB / 360.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.005318, allocations: 171.4 kB / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.00532, allocations: 0 / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005322, allocations: 0 / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.005327, allocations: 0 / 360.8 MB, free: 4.316 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008233/0.006151, allocations: 0.6359 MB / 361.4 MB, free: 3.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.006189, allocations: 8.922 kB / 361.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.006258, allocations: 36.75 kB / 361.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.00663, allocations: 260.3 kB / 361.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.006653, allocations: 12.38 kB / 361.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.006685, allocations: 12.38 kB / 361.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.006883, allocations: 102.7 kB / 361.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.006897, allocations: 12.06 kB / 361.8 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.006913, allocations: 4.375 kB / 361.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.006922, allocations: 7.938 kB / 361.8 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.007052, allocations: 64.94 kB / 361.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.007725, allocations: 0.5148 MB / 362.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.007922, allocations: 115 kB / 362.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.008003, allocations: 47.67 kB / 362.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.008019, allocations: 4 kB / 362.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.008043, allocations: 41.39 kB / 362.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.382e-06/0.008044, allocations: 0 / 362.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009081/0.008952, allocations: 392.2 kB / 363 MB, free: 1.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.008982, allocations: 59.39 kB / 363.1 MB, free: 1.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.009178, allocations: 288.3 kB / 363.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.009195, allocations: 25.7 kB / 363.4 MB, free: 1.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.009274, allocations: 187.3 kB / 363.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.009333, allocations: 83.28 kB / 363.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.00939, allocations: 43.36 kB / 363.7 MB, free: 1.207 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.009527, allocations: 0.5118 MB / 364.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.009586, allocations: 23.98 kB / 364.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.539e-05/0.009642, allocations: 35.92 kB / 364.3 MB, free: 0.625 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.009857, allocations: 127.9 kB / 364.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.009859, allocations: 0 / 364.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003543/0.01021, allocations: 228.9 kB / 364.6 MB, free: 264 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.01023, allocations: 9.094 kB / 364.6 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.01024, allocations: 0 / 364.6 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002413/0.01048, allocations: 71.55 kB / 364.7 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.01059, allocations: 31.98 kB / 364.7 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/0.01188, allocations: 1.968 MB / 366.7 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01199, allocations: 31.86 kB / 366.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.012, allocations: 4 kB / 366.7 MB, free: 14.02 MB / 298.7 MB Warning: Assuming fixed start value for the following 6 variables: M.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] HF.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.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: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * 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.0001506/0.01215, allocations: 185.8 kB / 366.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.01219, allocations: 31.8 kB / 366.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.01223, allocations: 34.11 kB / 367 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01223, allocations: 4 kB / 367 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.01224, allocations: 0 / 367 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01224, allocations: 3.984 kB / 367 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.01244, allocations: 212.5 kB / 367.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01244, allocations: 192 / 367.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.01254, allocations: 27.98 kB / 367.2 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.01273, allocations: 71.55 kB / 367.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.01275, allocations: 7.938 kB / 367.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.01383, allocations: 1.956 MB / 369.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01383, allocations: 3.984 kB / 369.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.01428, allocations: 414.2 kB / 369.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.01431, allocations: 27.78 kB / 369.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.01433, allocations: 12.19 kB / 369.7 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.01444, allocations: 32 kB / 369.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.0145, allocations: 15.97 kB / 369.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.01451, allocations: 4 kB / 369.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.01464, allocations: 209.1 kB / 369.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01464, allocations: 0 / 369.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.01488, allocations: 55.95 kB / 370 MB, free: 10.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000103/0.01498, allocations: 99.25 kB / 370.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.0154, allocations: 321.2 kB / 370.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01541, allocations: 0 / 370.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.01561, allocations: 261.3 kB / 370.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.01588, allocations: 32.48 kB / 370.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.01652, allocations: 490.4 kB / 371.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.701e-05/0.0166, allocations: 108.5 kB / 371.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.01668, allocations: 37.91 kB / 371.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.01673, allocations: 16.5 kB / 371.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01673, allocations: 0 / 371.3 MB, free: 9.102 MB / 298.7 MB Notification: Performance of Templates: time 0.005676/0.0224, allocations: 3.318 MB / 374.6 MB, free: 5.816 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.makefile [Timeout 660] (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.215968727134168]