Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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.000958/0.000958, allocations: 87.56 kB / 20.97 MB, free: 3.574 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.001018/0.001018, allocations: 173 kB / 24.27 MB, free: 280 kB / 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.9905/0.9905, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.06627/0.06627, allocations: 18.14 MB / 279.2 MB, free: 11.37 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.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 357.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.811e-05/2.978e-05, allocations: 2.312 kB / 357.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.002512/0.002542, allocations: 1.97 MB / 359.2 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003858, allocations: 0.7323 MB / 359.9 MB, free: 5.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.003987, allocations: 4 kB / 359.9 MB, free: 5.469 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.004342, allocations: 83.41 kB / 360 MB, free: 5.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.004551, allocations: 115.4 kB / 360.1 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.005047, allocations: 287.3 kB / 360.4 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.005402, allocations: 331.2 kB / 360.7 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.00553, allocations: 52.89 kB / 360.8 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.005716, allocations: 151.5 kB / 360.9 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.005929, allocations: 183.5 kB / 361.1 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.134e-05/0.00597, allocations: 20 kB / 361.1 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.006002, allocations: 24 kB / 361.2 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.095e-05/0.006093, allocations: 103.7 kB / 361.3 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/0.006166, allocations: 83.67 kB / 361.3 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.006369, allocations: 203.2 kB / 361.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006372, allocations: 0 / 361.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006373, allocations: 0 / 361.5 MB, free: 3.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.00638, allocations: 0 / 361.5 MB, free: 3.863 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.000891/0.007271, allocations: 0.7057 MB / 362.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.007309, allocations: 12.92 kB / 362.3 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.95e-05/0.007389, allocations: 48.7 kB / 362.3 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.007816, allocations: 305.2 kB / 362.6 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.007841, allocations: 16.38 kB / 362.6 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.007869, allocations: 16.38 kB / 362.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.008064, allocations: 114.5 kB / 362.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.008072, allocations: 192 / 362.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.008089, allocations: 12.38 kB / 362.8 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.008099, allocations: 7.938 kB / 362.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.008248, allocations: 71.92 kB / 362.8 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.00892, allocations: 0.5343 MB / 363.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.009363, allocations: 219.2 kB / 363.6 MB, free: 1.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.00944, allocations: 47.66 kB / 363.6 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.009464, allocations: 4 kB / 363.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.009488, allocations: 45.33 kB / 363.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/0.00949, allocations: 0 / 363.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006651/0.01015, allocations: 271.4 kB / 364 MB, free: 1.312 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.01019, allocations: 55.41 kB / 364 MB, free: 1.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.01051, allocations: 354.2 kB / 364.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.01053, allocations: 29.7 kB / 364.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01063, allocations: 223.1 kB / 364.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.01068, allocations: 75.39 kB / 364.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.01073, allocations: 59.25 kB / 364.7 MB, free: 496 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.01087, allocations: 0.5118 MB / 365.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.01093, allocations: 32.2 kB / 365.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.011, allocations: 51.83 kB / 365.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.0112, allocations: 138.5 kB / 365.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0112, allocations: 0 / 365.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002997/0.0115, allocations: 216.9 kB / 365.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.01152, allocations: 8 kB / 365.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01152, allocations: 0 / 365.7 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001873/0.01171, allocations: 43.66 kB / 365.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.01181, allocations: 31.98 kB / 365.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.01302, allocations: 1.862 MB / 367.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.01315, allocations: 39.81 kB / 367.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.01316, allocations: 7.938 kB / 367.7 MB, free: 13.39 MB / 298.7 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.01332, allocations: 181.7 kB / 367.8 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.01336, allocations: 43.75 kB / 367.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.0134, allocations: 35.17 kB / 367.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.0134, allocations: 7.984 kB / 367.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.01341, allocations: 0 / 367.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01342, allocations: 0 / 367.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.01362, allocations: 240.4 kB / 368.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01363, allocations: 4 kB / 368.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.01373, allocations: 31.92 kB / 368.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.01384, allocations: 43.58 kB / 368.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.01386, allocations: 12.12 kB / 368.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000824/0.01469, allocations: 1.858 MB / 370.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01469, allocations: 0 / 370.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.01506, allocations: 391.1 kB / 370.5 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.673e-05/0.01509, allocations: 35.8 kB / 370.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.01512, allocations: 11.94 kB / 370.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.01524, allocations: 23.97 kB / 370.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.01531, allocations: 15.97 kB / 370.6 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.01532, allocations: 12.03 kB / 370.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.01549, allocations: 239 kB / 370.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01549, allocations: 3.938 kB / 370.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.01573, allocations: 55.89 kB / 370.9 MB, free: 9.973 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.x_scaled[1]) * 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 (17): * Single equations (assignments): 16 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.01583, allocations: 111.2 kB / 371 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.0162, allocations: 301.6 kB / 371.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.0162, allocations: 0 / 371.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.01639, allocations: 256.1 kB / 371.5 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.01668, allocations: 60.34 kB / 371.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.01747, allocations: 0.5495 MB / 372.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.767e-05/0.01753, allocations: 116.3 kB / 372.3 MB, free: 8.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.101e-05/0.01761, allocations: 46.23 kB / 372.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.01767, allocations: 24.48 kB / 372.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01767, allocations: 0 / 372.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of Templates: time 0.005731/0.02341, allocations: 3.446 MB / 375.8 MB, free: 5.023 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9381351061165333]