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.001076/0.001076, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.001036/0.001036, allocations: 177.3 kB / 24.08 MB, free: 432 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.9934/0.9934, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.06391/0.06391, allocations: 18.14 MB / 279.2 MB, free: 11.17 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.382e-06/1.382e-06, allocations: 0 / 357.8 MB, free: 7.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.595e-05, allocations: 2.312 kB / 357.8 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.00237/0.002396, allocations: 1.838 MB / 359.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003421, allocations: 0.6738 MB / 360.3 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.003532, allocations: 7.938 kB / 360.3 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002529/0.003785, allocations: 27.72 kB / 360.3 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.003929, allocations: 43.72 kB / 360.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.004262, allocations: 151.6 kB / 360.5 MB, free: 4.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.004518, allocations: 195.5 kB / 360.7 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.004621, allocations: 37.72 kB / 360.7 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.004726, allocations: 79.75 kB / 360.8 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.004844, allocations: 75.81 kB / 360.9 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.004878, allocations: 20 kB / 360.9 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.296e-05/0.004901, allocations: 20 kB / 360.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.004969, allocations: 55.83 kB / 361 MB, free: 4.281 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.005027, allocations: 59.83 kB / 361 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.005193, allocations: 143.5 kB / 361.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005195, allocations: 0 / 361.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005196, allocations: 4 kB / 361.2 MB, free: 4.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.005199, allocations: 0 / 361.2 MB, free: 4.078 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.0005729/0.005772, allocations: 0.5694 MB / 361.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.005811, allocations: 8.922 kB / 361.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.005863, allocations: 28.84 kB / 361.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.006081, allocations: 200.9 kB / 362 MB, free: 3.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.006099, allocations: 12.38 kB / 362 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.006124, allocations: 16.38 kB / 362 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.006324, allocations: 190.3 kB / 362.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.006333, allocations: 192 / 362.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.006347, allocations: 8.375 kB / 362.2 MB, free: 2.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.006355, allocations: 7.938 kB / 362.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.776e-05/0.006432, allocations: 73.83 kB / 362.3 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.007087, allocations: 428.3 kB / 362.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.007329, allocations: 140.6 kB / 362.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.257e-05/0.007382, allocations: 61.38 kB / 362.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.007404, allocations: 4 kB / 362.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.007558, allocations: 186.1 kB / 363.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.007559, allocations: 0 / 363.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006726/0.008232, allocations: 458.7 kB / 363.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.008288, allocations: 166.2 kB / 363.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.008407, allocations: 233.8 kB / 363.9 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.00843, allocations: 29.7 kB / 363.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.008496, allocations: 167.1 kB / 364.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.008539, allocations: 55.58 kB / 364.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/0.00859, allocations: 43.34 kB / 364.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.008706, allocations: 0.5079 MB / 364.7 MB, free: 220 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.008768, allocations: 83.12 kB / 364.8 MB, free: 120 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.008847, allocations: 124.4 kB / 364.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.009, allocations: 218.8 kB / 365.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.009002, allocations: 0 / 365.1 MB, free: 15.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001929/0.009195, allocations: 251.2 kB / 365.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.009234, allocations: 63.33 kB / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.00924, allocations: 0 / 365.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.009254, allocations: 4 kB / 365.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.009357, allocations: 27.98 kB / 365.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.009361, allocations: 4 kB / 365.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.009421, allocations: 19.88 kB / 365.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.00943, allocations: 0 / 365.5 MB, free: 15.32 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.0001323/0.009563, allocations: 210.3 kB / 365.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.398e-05/0.009627, allocations: 124.4 kB / 365.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001327/0.009759, allocations: 226.7 kB / 366 MB, free: 14.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.11e-07/0.00976, allocations: 0 / 366 MB, free: 14.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001651/0.009925, allocations: 232.3 kB / 366.3 MB, free: 14.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.00995, allocations: 63.41 kB / 366.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.009952, allocations: 0 / 366.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.009956, allocations: 7.922 kB / 366.3 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.01003, allocations: 27.92 kB / 366.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.01003, allocations: 7.984 kB / 366.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.01009, allocations: 15.92 kB / 366.4 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.01009, allocations: 8 kB / 366.4 MB, free: 14.3 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.0001259/0.01022, allocations: 313.8 kB / 366.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.01025, allocations: 27.91 kB / 366.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.01028, allocations: 21.41 kB / 366.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01029, allocations: 3.984 kB / 366.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01029, allocations: 0 / 366.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01029, allocations: 4 kB / 366.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.01042, allocations: 153.2 kB / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01042, allocations: 3.938 kB / 366.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.01048, allocations: 8 kB / 366.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.01068, allocations: 142.9 kB / 367.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.0107, allocations: 4 kB / 367.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004882/0.01118, allocations: 1.031 MB / 368.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01119, allocations: 0 / 368.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.01156, allocations: 430.5 kB / 368.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01158, allocations: 11.91 kB / 368.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.0116, allocations: 4 kB / 368.5 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.01167, allocations: 15.98 kB / 368.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.01171, allocations: 7.984 kB / 368.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.01172, allocations: 16.02 kB / 368.6 MB, free: 11.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.01179, allocations: 160.2 kB / 368.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01179, allocations: 0 / 368.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.012, allocations: 71.83 kB / 368.8 MB, free: 11.74 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.0001002/0.0121, allocations: 103.3 kB / 368.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.01241, allocations: 0.4999 MB / 369.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01241, allocations: 0 / 369.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.01257, allocations: 177.8 kB / 369.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.01275, allocations: 31.98 kB / 369.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/0.01324, allocations: 390.9 kB / 370 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.01328, allocations: 83.98 kB / 370.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.01334, allocations: 21.2 kB / 370.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.01344, allocations: 98.17 kB / 370.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01344, allocations: 0 / 370.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Templates: time 0.004519/0.01796, allocations: 2.792 MB / 373 MB, free: 7.434 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.8293104860931635]