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.00105/0.00105, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001171/0.001171, allocations: 161.1 kB / 24.85 MB, free: 8.66 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 0.97/0.97, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.0753/0.0753, allocations: 18.14 MB / 280 MB, free: 11.18 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.704e-06/1.704e-06, allocations: 0 / 358.6 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.084e-05, allocations: 2.312 kB / 358.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003281/0.003312, allocations: 1.958 MB / 360.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.004661, allocations: 0.7169 MB / 361.2 MB, free: 5.887 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.004883, allocations: 11.88 kB / 361.2 MB, free: 5.875 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.005257, allocations: 91.39 kB / 361.3 MB, free: 5.785 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.005458, allocations: 107.4 kB / 361.4 MB, free: 5.68 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.005943, allocations: 295.2 kB / 361.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.006217, allocations: 335.2 kB / 362.1 MB, free: 5.062 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.006328, allocations: 44.92 kB / 362.1 MB, free: 5.023 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.006457, allocations: 147.6 kB / 362.2 MB, free: 4.879 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.006652, allocations: 187.5 kB / 362.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.006686, allocations: 20 kB / 362.4 MB, free: 4.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.549e-05/0.006712, allocations: 24 kB / 362.5 MB, free: 4.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.006797, allocations: 103.6 kB / 362.6 MB, free: 4.551 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.006861, allocations: 79.69 kB / 362.6 MB, free: 4.473 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.007046, allocations: 203.1 kB / 362.8 MB, free: 4.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.00705, allocations: 4 kB / 362.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.007052, allocations: 0 / 362.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.007056, allocations: 4 kB / 362.8 MB, free: 4.266 MB / 330.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.0007615/0.007817, allocations: 0.6628 MB / 363.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.00785, allocations: 8.922 kB / 363.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.992e-05/0.00791, allocations: 48.7 kB / 363.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.008243, allocations: 289.2 kB / 363.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.008261, allocations: 12.23 kB / 363.9 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.00829, allocations: 20.33 kB / 363.9 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.008435, allocations: 110.6 kB / 364 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.008442, allocations: 192 / 364 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.008454, allocations: 4.375 kB / 364 MB, free: 3.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.008461, allocations: 11.94 kB / 364 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.008562, allocations: 63.8 kB / 364.1 MB, free: 2.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.009081, allocations: 475.8 kB / 364.5 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.009458, allocations: 199.3 kB / 364.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.311e-05/0.009521, allocations: 35.67 kB / 364.8 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.009545, allocations: 11.98 kB / 364.8 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.009566, allocations: 33.39 kB / 364.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.009567, allocations: 0 / 364.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006208/0.01019, allocations: 255.7 kB / 365.1 MB, free: 1.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.01022, allocations: 59.41 kB / 365.1 MB, free: 1.852 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.01046, allocations: 346.1 kB / 365.5 MB, free: 1.496 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.01048, allocations: 29.7 kB / 365.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01059, allocations: 215.1 kB / 365.7 MB, free: 1.246 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.01065, allocations: 83.3 kB / 365.8 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.01072, allocations: 51.34 kB / 365.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.01087, allocations: 0.5234 MB / 366.3 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.01091, allocations: 20.16 kB / 366.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.01098, allocations: 55.8 kB / 366.4 MB, free: 496 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.01118, allocations: 115.2 kB / 366.5 MB, free: 372 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01118, allocations: 0 / 366.5 MB, free: 372 kB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002975/0.01148, allocations: 204.9 kB / 366.7 MB, free: 156 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.01149, allocations: 6.188 kB / 366.7 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.0115, allocations: 0 / 366.7 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.01165, allocations: 51.67 kB / 366.8 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.01177, allocations: 35.92 kB / 366.8 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.01279, allocations: 1.823 MB / 368.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01292, allocations: 27.91 kB / 368.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.01293, allocations: 4 kB / 368.7 MB, free: 14.09 MB / 346.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.0001532/0.01308, allocations: 177.7 kB / 368.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.01314, allocations: 43.8 kB / 368.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.01319, allocations: 39.17 kB / 368.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.0132, allocations: 7.938 kB / 368.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.0132, allocations: 192 / 368.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.0132, allocations: 0 / 368.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.01342, allocations: 197 kB / 369.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01343, allocations: 0 / 369.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.01355, allocations: 23.98 kB / 369.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.01365, allocations: 43.66 kB / 369.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.01367, allocations: 4 kB / 369.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008795/0.01455, allocations: 1.839 MB / 371 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01455, allocations: 3.938 kB / 371 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.01493, allocations: 374.2 kB / 371.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.01497, allocations: 39.77 kB / 371.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.015, allocations: 4 kB / 371.5 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.01514, allocations: 12 kB / 371.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.01519, allocations: 27.89 kB / 371.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.0152, allocations: 0 / 371.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001433/0.01534, allocations: 230.9 kB / 371.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01534, allocations: 0 / 371.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.01562, allocations: 59.89 kB / 371.8 MB, free: 10.81 MB / 346.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 9.961e-05/0.01572, allocations: 103.2 kB / 371.9 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.01605, allocations: 289.3 kB / 372.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01605, allocations: 0 / 372.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.01624, allocations: 245.3 kB / 372.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.01657, allocations: 61.11 kB / 372.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008114/0.01738, allocations: 0.5495 MB / 373 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.01746, allocations: 112.3 kB / 373.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.01753, allocations: 30.22 kB / 373.2 MB, free: 9.336 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.01765, allocations: 106.2 kB / 373.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01765, allocations: 0 / 373.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of Templates: time 0.006191/0.02384, allocations: 3.697 MB / 377 MB, free: 5.578 MB / 346.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.947919344995171]