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.001109/0.001109, 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.001094/0.001094, allocations: 161.9 kB / 24.86 MB, free: 8.766 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.06758/0.06758, allocations: 18.14 MB / 280 MB, free: 11.14 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.483e-06/1.483e-06, allocations: 0 / 358.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.38e-05, allocations: 5.125 kB / 358.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.002865/0.002889, allocations: 1.838 MB / 360.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.003954, allocations: 0.6776 MB / 361.1 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004055, allocations: 4 kB / 361.1 MB, free: 5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006267/0.01032, allocations: 27.67 kB / 361.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.01047, allocations: 39.77 kB / 361.1 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.0108, allocations: 147.6 kB / 361.3 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.01104, allocations: 199.4 kB / 361.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.01115, allocations: 45.69 kB / 361.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.01124, allocations: 71.81 kB / 361.6 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.01138, allocations: 79.77 kB / 361.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.01141, allocations: 20 kB / 361.7 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.5e-05/0.01144, allocations: 16 kB / 361.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.01151, allocations: 59.81 kB / 361.8 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.01157, allocations: 51.84 kB / 361.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.01185, allocations: 151.5 kB / 362 MB, free: 4.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01186, allocations: 0 / 362 MB, free: 4.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01186, allocations: 0 / 362 MB, free: 4.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.01186, allocations: 0 / 362 MB, free: 4.109 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.000608/0.01247, allocations: 0.5617 MB / 362.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.0125, allocations: 12.92 kB / 362.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.619e-05/0.01256, allocations: 32.84 kB / 362.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006478/0.01904, allocations: 204.9 kB / 362.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.01906, allocations: 12.38 kB / 362.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.01909, allocations: 12.38 kB / 362.8 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.01934, allocations: 189.6 kB / 363 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01935, allocations: 192 / 363 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.01937, allocations: 8.375 kB / 363 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.01937, allocations: 11.94 kB / 363 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.917e-05/0.01947, allocations: 70.53 kB / 363.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.02003, allocations: 424.4 kB / 363.5 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.0203, allocations: 144.5 kB / 363.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.02036, allocations: 69.36 kB / 363.7 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.02038, allocations: 4 kB / 363.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.02054, allocations: 182.1 kB / 363.9 MB, free: 2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.02054, allocations: 0 / 363.9 MB, free: 2 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008158/0.02136, allocations: 454.5 kB / 364.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.02142, allocations: 162.2 kB / 364.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.02155, allocations: 225.8 kB / 364.7 MB, free: 1.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.02157, allocations: 37.7 kB / 364.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.02165, allocations: 171 kB / 364.9 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.0217, allocations: 55.58 kB / 364.9 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.908e-05/0.02176, allocations: 39.34 kB / 365 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003656/0.02212, allocations: 0.5001 MB / 365.5 MB, free: 264 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.02219, allocations: 83.02 kB / 365.6 MB, free: 164 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-05/0.02227, allocations: 132.4 kB / 365.7 MB, free: 4 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.02247, allocations: 218.8 kB / 365.9 MB, free: 15.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.02248, allocations: 4.109 kB / 365.9 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002266/0.0227, allocations: 247.2 kB / 366.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.02274, allocations: 71.38 kB / 366.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.02275, allocations: 0 / 366.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.02276, allocations: 0 / 366.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.02288, allocations: 31.92 kB / 366.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.02289, allocations: 3.984 kB / 366.3 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.02296, allocations: 15.89 kB / 366.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.02298, allocations: 8 kB / 366.3 MB, free: 15.34 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.0001433/0.02312, allocations: 206.3 kB / 366.5 MB, free: 15.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.609e-05/0.0232, allocations: 128.5 kB / 366.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000159/0.02336, allocations: 218.7 kB / 366.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.61e-07/0.02336, allocations: 0 / 366.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002005/0.02356, allocations: 236.3 kB / 367 MB, free: 14.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.02359, allocations: 63.39 kB / 367.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.02359, allocations: 0 / 367.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.02359, allocations: 7.938 kB / 367.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.02369, allocations: 23.98 kB / 367.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-06/0.02369, allocations: 0 / 367.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.02376, allocations: 23.88 kB / 367.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.02377, allocations: 8.031 kB / 367.2 MB, free: 14.33 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.0001402/0.02391, allocations: 305.7 kB / 367.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.02395, allocations: 27.91 kB / 367.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.02398, allocations: 25.39 kB / 367.5 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.02399, allocations: 4 kB / 367.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.02399, allocations: 0 / 367.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.02399, allocations: 0 / 367.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.02415, allocations: 149.2 kB / 367.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.02415, allocations: 4 kB / 367.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.312e-05/0.02423, allocations: 15.98 kB / 367.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/0.02445, allocations: 142.9 kB / 367.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.02447, allocations: 3.984 kB / 367.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006146/0.02508, allocations: 1.027 MB / 368.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.02508, allocations: 11.95 kB / 368.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.02554, allocations: 422.5 kB / 369.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.02556, allocations: 19.89 kB / 369.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.02559, allocations: 8 kB / 369.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.02568, allocations: 16.05 kB / 369.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.02572, allocations: 11.98 kB / 369.3 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.02573, allocations: 4 kB / 369.3 MB, free: 12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.53e-05/0.02581, allocations: 172.2 kB / 369.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02581, allocations: 4 kB / 369.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002862/0.0261, allocations: 63.83 kB / 369.6 MB, free: 11.77 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 9.937e-05/0.0262, allocations: 103.2 kB / 369.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.02655, allocations: 496.1 kB / 370.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02655, allocations: 0 / 370.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.02676, allocations: 189.7 kB / 370.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.02697, allocations: 35.97 kB / 370.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.02749, allocations: 386.9 kB / 370.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.75e-05/0.02753, allocations: 83.97 kB / 370.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.0276, allocations: 17.14 kB / 370.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.02771, allocations: 94.19 kB / 371 MB, free: 10.2 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02771, allocations: 0 / 371 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Templates: time 0.00548/0.03319, allocations: 2.876 MB / 373.8 MB, free: 7.375 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.9108619508333504]