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.0009515/0.0009515, allocations: 91.56 kB / 20.45 MB, free: 4.113 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.0009792/0.0009792, allocations: 169 kB / 23.82 MB, free: 0.7461 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.007/1.007, allocations: 177.1 MB / 204.2 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.08011/0.08011, allocations: 18.13 MB / 278.9 MB, free: 11.32 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.092e-06/1.092e-06, allocations: 3.938 kB / 357.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/1.997e-05, allocations: 6.312 kB / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.002422/0.002442, allocations: 1.854 MB / 359.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009524/0.003394, allocations: 0.6738 MB / 359.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.003482, allocations: 3.938 kB / 359.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.003727, allocations: 35.66 kB / 359.8 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.003885, allocations: 39.78 kB / 359.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.004222, allocations: 151.6 kB / 360 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.004487, allocations: 199.4 kB / 360.2 MB, free: 4.855 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.004607, allocations: 37.72 kB / 360.3 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.00472, allocations: 71.81 kB / 360.3 MB, free: 4.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.004862, allocations: 83.75 kB / 360.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.004894, allocations: 20 kB / 360.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.192e-05/0.004916, allocations: 16 kB / 360.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.004985, allocations: 59.83 kB / 360.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.00505, allocations: 55.83 kB / 360.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.005225, allocations: 143.5 kB / 360.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.005227, allocations: 0 / 360.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.02e-07/0.005228, allocations: 0 / 360.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.005232, allocations: 0 / 360.7 MB, free: 4.379 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.0006353/0.005868, allocations: 0.5811 MB / 361.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.005902, allocations: 12.92 kB / 361.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.005963, allocations: 28.84 kB / 361.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.00621, allocations: 212.9 kB / 361.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.006228, allocations: 8.375 kB / 361.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.006261, allocations: 12.38 kB / 361.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.006499, allocations: 202.2 kB / 361.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.00651, allocations: 4.188 kB / 361.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.006527, allocations: 4.375 kB / 361.8 MB, free: 3.219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.006537, allocations: 7.938 kB / 361.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.006652, allocations: 89.81 kB / 361.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005854/0.007237, allocations: 463.8 kB / 362.3 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.00751, allocations: 148.6 kB / 362.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.916e-05/0.007579, allocations: 73.36 kB / 362.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.007595, allocations: 0 / 362.5 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.007752, allocations: 190.2 kB / 362.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.213e-06/0.007754, allocations: 0 / 362.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007289/0.008483, allocations: 486 kB / 363.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.015e-05/0.008543, allocations: 162.2 kB / 363.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.008671, allocations: 233.9 kB / 363.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.008687, allocations: 25.7 kB / 363.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.008749, allocations: 175.1 kB / 363.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.00879, allocations: 51.59 kB / 363.8 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.008841, allocations: 43.36 kB / 363.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.008952, allocations: 0.4962 MB / 364.4 MB, free: 404 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.009017, allocations: 87.02 kB / 364.4 MB, free: 300 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.047e-05/0.009097, allocations: 139 kB / 364.6 MB, free: 136 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.00929, allocations: 234.8 kB / 364.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.009292, allocations: 0 / 364.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001986/0.009491, allocations: 263.4 kB / 365.1 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.009523, allocations: 59.41 kB / 365.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.009526, allocations: 0 / 365.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.009539, allocations: 3.984 kB / 365.1 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.009644, allocations: 39.91 kB / 365.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.009648, allocations: 0 / 365.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.009713, allocations: 23.88 kB / 365.2 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.009727, allocations: 11.94 kB / 365.2 MB, free: 15.44 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.00013/0.009857, allocations: 214.2 kB / 365.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.954e-05/0.009927, allocations: 124.5 kB / 365.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001553/0.01008, allocations: 228.2 kB / 365.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.01008, allocations: 0 / 365.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001994/0.01028, allocations: 250.5 kB / 366 MB, free: 14.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.01031, allocations: 71.33 kB / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-06/0.01031, allocations: 0 / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-06/0.01031, allocations: 0 / 366.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.01039, allocations: 23.98 kB / 366.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.01039, allocations: 4 kB / 366.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.01045, allocations: 27.91 kB / 366.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.01046, allocations: 7.984 kB / 366.1 MB, free: 14.39 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.0001307/0.01059, allocations: 313.8 kB / 366.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.01062, allocations: 31.84 kB / 366.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.01066, allocations: 21.45 kB / 366.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01066, allocations: 4 kB / 366.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.01067, allocations: 0 / 366.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01067, allocations: 4 kB / 366.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.01082, allocations: 184.6 kB / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01082, allocations: 0 / 366.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.01088, allocations: 11.98 kB / 366.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.01113, allocations: 147 kB / 366.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.01115, allocations: 7.938 kB / 366.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005155/0.01167, allocations: 1.047 MB / 367.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01167, allocations: 0 / 367.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.01208, allocations: 442.5 kB / 368.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.0121, allocations: 23.84 kB / 368.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.01213, allocations: 4 kB / 368.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.0122, allocations: 19.97 kB / 368.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.01225, allocations: 11.92 kB / 368.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.01226, allocations: 4.031 kB / 368.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.907e-05/0.01234, allocations: 180.2 kB / 368.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01234, allocations: 0 / 368.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.01254, allocations: 63.89 kB / 368.6 MB, free: 11.73 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 7.911e-05/0.01262, allocations: 99.25 kB / 368.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003567/0.01298, allocations: 0.5118 MB / 369.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.01298, allocations: 0 / 369.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.01318, allocations: 188.6 kB / 369.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.01335, allocations: 31.97 kB / 369.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.01385, allocations: 402.9 kB / 369.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.196e-05/0.01389, allocations: 79.97 kB / 369.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.01396, allocations: 33.11 kB / 370 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.014, allocations: 16.5 kB / 370 MB, free: 10.21 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.014, allocations: 0 / 370 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Templates: time 0.004713/0.01871, allocations: 2.738 MB / 372.7 MB, free: 7.508 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: 2.9317842880263925]