Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.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.002008/0.002008, allocations: 84.98 kB / 20.23 MB, free: 4.199 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.002143/0.002143, allocations: 161.3 kB / 23.54 MB, free: 0.8828 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.595/1.595, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.1153/0.1153, allocations: 18.14 MB / 278.5 MB, free: 11.35 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_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") translateModel(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 356.5 MB, free: 8.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.375e-05/3.554e-05, allocations: 2.312 kB / 356.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.004717/0.004753, allocations: 1.807 MB / 358.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.006595, allocations: 0.6622 MB / 359 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.006706, allocations: 7.938 kB / 359 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.007041, allocations: 31.77 kB / 359 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.007271, allocations: 43.61 kB / 359.1 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.0078, allocations: 151.7 kB / 359.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.008205, allocations: 199.4 kB / 359.4 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.008351, allocations: 33.78 kB / 359.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.008537, allocations: 75.75 kB / 359.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.008766, allocations: 83.75 kB / 359.6 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/0.008836, allocations: 20 kB / 359.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.158e-05/0.008887, allocations: 16 kB / 359.6 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.009014, allocations: 51.84 kB / 359.7 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.009146, allocations: 55.83 kB / 359.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.009578, allocations: 211.3 kB / 359.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.009587, allocations: 4 kB / 359.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.009589, allocations: 0 / 359.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.009595, allocations: 0 / 359.9 MB, free: 4.762 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001421/0.01102, allocations: 0.5809 MB / 360.5 MB, free: 4.133 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.01106, allocations: 16.86 kB / 360.5 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.01119, allocations: 36.84 kB / 360.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.01173, allocations: 204.2 kB / 360.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.01176, allocations: 12.38 kB / 360.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.01181, allocations: 16.38 kB / 360.8 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.01234, allocations: 225.6 kB / 361 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.01236, allocations: 192 / 361 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.01239, allocations: 4.375 kB / 361 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.01239, allocations: 3.938 kB / 361 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.0128, allocations: 138.5 kB / 361.2 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.01416, allocations: 0.4919 MB / 361.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.01523, allocations: 176.7 kB / 361.8 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.01553, allocations: 101.4 kB / 361.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.01556, allocations: 0 / 361.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000561/0.01612, allocations: 218 kB / 362.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.01612, allocations: 0 / 362.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.002622/0.01875, allocations: 0.5616 MB / 362.7 MB, free: 1.762 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.01892, allocations: 162.2 kB / 362.9 MB, free: 1.566 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.01947, allocations: 261.9 kB / 363.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.01951, allocations: 29.7 kB / 363.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.01971, allocations: 179.1 kB / 363.3 MB, free: 1.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.01982, allocations: 55.59 kB / 363.4 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.01997, allocations: 51.34 kB / 363.4 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004232/0.0204, allocations: 0.504 MB / 363.9 MB, free: 456 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.02069, allocations: 107.1 kB / 364 MB, free: 332 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/0.02104, allocations: 156.5 kB / 364.2 MB, free: 148 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008863/0.02192, allocations: 306.4 kB / 364.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.02193, allocations: 0 / 364.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008445/0.02277, allocations: 300.2 kB / 364.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.02285, allocations: 55.41 kB / 364.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.02285, allocations: 0 / 364.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.02287, allocations: 4 kB / 364.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.02321, allocations: 35.97 kB / 364.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.02322, allocations: 0 / 364.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.02346, allocations: 19.94 kB / 364.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.02349, allocations: 8 kB / 364.9 MB, free: 15.36 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004612/0.02395, allocations: 238.2 kB / 365.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000282/0.02424, allocations: 148.4 kB / 365.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006261/0.02486, allocations: 275.1 kB / 365.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.156e-05/0.02487, allocations: 0 / 365.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0006719/0.02555, allocations: 280.3 kB / 365.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.689e-05/0.02561, allocations: 59.34 kB / 365.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.02562, allocations: 0 / 365.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.02562, allocations: 4 kB / 365.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.02587, allocations: 39.88 kB / 365.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.02587, allocations: 4 kB / 365.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.02608, allocations: 19.94 kB / 365.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.0261, allocations: 4 kB / 366 MB, free: 14.19 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: 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: 1 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TDO.timeNextEv,$PRE.TDO.tdo,TDO.timeNextEv,TDO.tdo,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003221/0.02642, allocations: 313.8 kB / 366.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.0265, allocations: 31.84 kB / 366.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.02658, allocations: 21.45 kB / 366.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.02658, allocations: 4 kB / 366.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.02659, allocations: 8 kB / 366.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.0266, allocations: 0 / 366.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.02695, allocations: 200.5 kB / 366.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.02696, allocations: 0 / 366.5 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.02711, allocations: 15.98 kB / 366.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005645/0.02768, allocations: 167 kB / 366.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.876e-05/0.02773, allocations: 11.94 kB / 366.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.02935, allocations: 1.113 MB / 367.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02935, allocations: 0 / 367.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.03099, allocations: 0.5453 MB / 368.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.06e-05/0.03106, allocations: 15.84 kB / 368.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.03113, allocations: 15.97 kB / 368.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.03141, allocations: 15.98 kB / 368.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.03151, allocations: 19.91 kB / 368.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.03154, allocations: 4 kB / 368.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003888/0.03193, allocations: 188.2 kB / 368.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.03193, allocations: 0 / 368.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006195/0.03255, allocations: 67.89 kB / 368.7 MB, free: 11.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.FO.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TDO.tdo,TDO.timeNextEv) * Number of discrete states: 4 ($whenCondition2,TDO.timeNextEv,TDO.tdo,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004419/0.03299, allocations: 111.2 kB / 368.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.03421, allocations: 0.578 MB / 369.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.03422, allocations: 0 / 369.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.03479, allocations: 209.8 kB / 369.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.03517, allocations: 38.14 kB / 369.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.03651, allocations: 422.9 kB / 370 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.03672, allocations: 116.2 kB / 370.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002132/0.03693, allocations: 37.11 kB / 370.2 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.363e-05/0.03703, allocations: 20.48 kB / 370.2 MB, free: 9.598 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.03703, allocations: 3.938 kB / 370.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of Templates: time 0.01133/0.04836, allocations: 2.624 MB / 372.8 MB, free: 7.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.sim & ./AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.834321541013196]