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.001594/0.001594, 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.001244/0.001244, 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.025/1.025, allocations: 177.1 MB / 204.2 MB, free: 5.215 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.07652/0.07652, allocations: 18.14 MB / 278.9 MB, free: 11.15 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.944e-06/1.944e-06, allocations: 3.938 kB / 357.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.69e-05/3.884e-05, allocations: 2.312 kB / 357.3 MB, free: 8.855 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.0041/0.004139, allocations: 1.86 MB / 359.1 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.005739, allocations: 0.6661 MB / 359.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.005919, allocations: 3.938 kB / 359.8 MB, free: 6.309 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.006391, allocations: 35.7 kB / 359.9 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.006667, allocations: 43.72 kB / 359.9 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005094/0.007176, allocations: 139.7 kB / 360 MB, free: 6.094 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.007534, allocations: 199.5 kB / 360.2 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.007689, allocations: 49.58 kB / 360.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.00785, allocations: 71.81 kB / 360.3 MB, free: 5.781 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.008063, allocations: 83.75 kB / 360.4 MB, free: 5.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.008111, allocations: 16 kB / 360.4 MB, free: 5.684 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.24e-05/0.008143, allocations: 20 kB / 360.5 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.008235, allocations: 51.83 kB / 360.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.008327, allocations: 59.83 kB / 360.6 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.008614, allocations: 139.5 kB / 360.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.008619, allocations: 0 / 360.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.00862, allocations: 0 / 360.7 MB, free: 5.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.008626, allocations: 0 / 360.7 MB, free: 5.418 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009573/0.009583, allocations: 0.5811 MB / 361.3 MB, free: 4.789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.009626, allocations: 8.922 kB / 361.3 MB, free: 4.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.009709, allocations: 32.84 kB / 361.3 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.01008, allocations: 212.9 kB / 361.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.01011, allocations: 12.38 kB / 361.5 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.01015, allocations: 12.38 kB / 361.6 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.01048, allocations: 197.6 kB / 361.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.01049, allocations: 4.188 kB / 361.8 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.01051, allocations: 8.375 kB / 361.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01053, allocations: 7.938 kB / 361.8 MB, free: 4.246 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.0107, allocations: 81.88 kB / 361.9 MB, free: 4.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008631/0.01156, allocations: 463.8 kB / 362.3 MB, free: 3.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.01196, allocations: 140.7 kB / 362.4 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.01208, allocations: 77.3 kB / 362.5 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.0121, allocations: 4 kB / 362.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.01234, allocations: 198.1 kB / 362.7 MB, free: 3.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.585e-06/0.01235, allocations: 0 / 362.7 MB, free: 3.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001099/0.01344, allocations: 479.7 kB / 363.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.01352, allocations: 162.2 kB / 363.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.01372, allocations: 233.8 kB / 363.6 MB, free: 2.254 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01374, allocations: 33.7 kB / 363.6 MB, free: 2.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.226e-05/0.01383, allocations: 171.1 kB / 363.8 MB, free: 2.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.01388, allocations: 51.59 kB / 363.8 MB, free: 1.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/0.01394, allocations: 43.36 kB / 363.9 MB, free: 1.938 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.01406, allocations: 0.5001 MB / 364.4 MB, free: 1.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.01414, allocations: 91 kB / 364.5 MB, free: 1.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.01422, allocations: 128.5 kB / 364.6 MB, free: 1.168 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.01442, allocations: 239.9 kB / 364.8 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01443, allocations: 4.031 kB / 364.8 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002188/0.01465, allocations: 260.2 kB / 365.1 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.01469, allocations: 63.41 kB / 365.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.01469, allocations: 0 / 365.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.01471, allocations: 0 / 365.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.01483, allocations: 35.91 kB / 365.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01484, allocations: 0 / 365.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.01491, allocations: 23.88 kB / 365.2 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.01493, allocations: 11.94 kB / 365.2 MB, free: 480 kB / 330.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.0001452/0.01507, allocations: 214.2 kB / 365.4 MB, free: 248 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.464e-05/0.01515, allocations: 130.9 kB / 365.5 MB, free: 92 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001712/0.01532, allocations: 228.1 kB / 365.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.01532, allocations: 0 / 365.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001918/0.01551, allocations: 260.2 kB / 366 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.01553, allocations: 59.34 kB / 366.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.01554, allocations: 0 / 366.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-06/0.01554, allocations: 4 kB / 366.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.01562, allocations: 27.97 kB / 366.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.01562, allocations: 8.031 kB / 366.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.01569, allocations: 23.88 kB / 366.1 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.0157, allocations: 4 kB / 366.1 MB, free: 15.41 MB / 346.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.0001341/0.01584, allocations: 313.7 kB / 366.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.01587, allocations: 31.83 kB / 366.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.0159, allocations: 21.47 kB / 366.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.01591, allocations: 4 kB / 366.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01591, allocations: 0 / 366.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01592, allocations: 4 kB / 366.5 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.01606, allocations: 180.5 kB / 366.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01606, allocations: 3.984 kB / 366.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.01613, allocations: 16 kB / 366.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/0.01641, allocations: 143 kB / 366.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.01643, allocations: 7.938 kB / 366.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006124/0.01704, allocations: 1.031 MB / 367.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01705, allocations: 4 kB / 367.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004544/0.0175, allocations: 449.7 kB / 368.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.01753, allocations: 15.91 kB / 368.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.01756, allocations: 7.984 kB / 368.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.01764, allocations: 19.98 kB / 368.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.0177, allocations: 11.92 kB / 368.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01771, allocations: 12.03 kB / 368.4 MB, free: 13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.0178, allocations: 176.1 kB / 368.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0178, allocations: 0 / 368.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000226/0.01803, allocations: 63.89 kB / 368.6 MB, free: 12.77 MB / 346.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.000115/0.01814, allocations: 103.2 kB / 368.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.01853, allocations: 0.5071 MB / 369.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01853, allocations: 0 / 369.2 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.01875, allocations: 185.8 kB / 369.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01897, allocations: 38.31 kB / 369.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006336/0.0196, allocations: 402.8 kB / 369.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.511e-05/0.01966, allocations: 79.98 kB / 369.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.269e-05/0.01973, allocations: 33.11 kB / 370 MB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.01978, allocations: 16.5 kB / 370 MB, free: 11.24 MB / 346.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01978, allocations: 0 / 370 MB, free: 11.24 MB / 346.7 MB Notification: Performance of Templates: time 0.004804/0.02459, allocations: 2.626 MB / 372.6 MB, free: 8.66 MB / 346.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: 3.3290413129143417]