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.000939/0.000939, allocations: 72.95 kB / 20.74 MB, free: 3.746 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.001018/0.001018, allocations: 173 kB / 24.17 MB, free: 328 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 1.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.07076/0.07076, allocations: 18.13 MB / 279.2 MB, free: 11.2 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.332e-06/1.332e-06, allocations: 0 / 304.5 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.168e-05, allocations: 2.312 kB / 304.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.002786/0.002808, allocations: 1.894 MB / 306.4 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.004023, allocations: 0.6821 MB / 307.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.004131, allocations: 2.562 kB / 307.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.004392, allocations: 31.36 kB / 307.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.004543, allocations: 48.7 kB / 307.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.004905, allocations: 144.1 kB / 307.3 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.005183, allocations: 196 kB / 307.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.005297, allocations: 44.89 kB / 307.6 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.005429, allocations: 76.19 kB / 307.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.005571, allocations: 80.44 kB / 307.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.005604, allocations: 24 kB / 307.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.005626, allocations: 16 kB / 307.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.005695, allocations: 53.61 kB / 307.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.21e-05/0.005768, allocations: 55.88 kB / 307.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.005959, allocations: 144.7 kB / 308 MB, free: 14.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005962, allocations: 0.5625 kB / 308 MB, free: 14.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005963, allocations: 0 / 308 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005967, allocations: 0 / 308 MB, free: 14.38 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.0005965/0.006564, allocations: 453.7 kB / 308.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.006597, allocations: 16.86 kB / 308.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.006648, allocations: 27.88 kB / 308.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.006899, allocations: 184.4 kB / 308.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.006916, allocations: 8.375 kB / 308.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.006943, allocations: 20.94 kB / 308.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.007181, allocations: 186.5 kB / 308.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.007192, allocations: 4.125 kB / 308.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.007206, allocations: 4.891 kB / 308.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.007211, allocations: 7.938 kB / 308.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.007304, allocations: 70.94 kB / 309 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.007809, allocations: 316.1 kB / 309.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.008061, allocations: 166.6 kB / 309.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.495e-05/0.008116, allocations: 58.55 kB / 309.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.008134, allocations: 4 kB / 309.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.008295, allocations: 191.2 kB / 309.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.522e-06/0.008297, allocations: 0 / 309.7 MB, free: 12.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006496/0.008946, allocations: 418.6 kB / 310.1 MB, free: 12.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.009029, allocations: 166.2 kB / 310.3 MB, free: 12 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.009155, allocations: 166.6 kB / 310.4 MB, free: 11.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.009178, allocations: 29.7 kB / 310.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.009227, allocations: 116.3 kB / 310.6 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.009272, allocations: 55.56 kB / 310.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.009326, allocations: 33.69 kB / 310.7 MB, free: 11.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.009408, allocations: 326.8 kB / 311 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.983e-05/0.009467, allocations: 83.08 kB / 311.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.009533, allocations: 122.7 kB / 311.2 MB, free: 11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.009698, allocations: 230.5 kB / 311.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.0097, allocations: 0 / 311.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001493/0.00985, allocations: 204.5 kB / 311.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.009887, allocations: 61.75 kB / 311.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.009892, allocations: 3.938 kB / 311.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.009905, allocations: 0 / 311.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.01008, allocations: 35.91 kB / 311.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.01008, allocations: 0 / 311.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/0.01014, allocations: 15.95 kB / 311.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.01016, allocations: 8.031 kB / 311.7 MB, free: 10.38 MB / 282.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.0001259/0.01028, allocations: 165.7 kB / 311.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.956e-05/0.01034, allocations: 121.1 kB / 312 MB, free: 10.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001285/0.01047, allocations: 224.4 kB / 312.2 MB, free: 9.812 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.92e-07/0.01047, allocations: 0 / 312.2 MB, free: 9.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0001413/0.01061, allocations: 208.3 kB / 312.4 MB, free: 9.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.01064, allocations: 59.41 kB / 312.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.01065, allocations: 3.984 kB / 312.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/0.01065, allocations: 7.969 kB / 312.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.01073, allocations: 27.98 kB / 312.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-06/0.01073, allocations: 0 / 312.5 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.01078, allocations: 15.98 kB / 312.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.01079, allocations: 0 / 312.6 MB, free: 9.453 MB / 282.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.0001313/0.01092, allocations: 235.5 kB / 312.8 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.01095, allocations: 19.98 kB / 312.8 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.01099, allocations: 25.41 kB / 312.8 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.011, allocations: 4 kB / 312.8 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.011, allocations: 0 / 312.8 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.011, allocations: 3.984 kB / 312.8 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.01113, allocations: 121.7 kB / 313 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01113, allocations: 0 / 313 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.489e-05/0.0112, allocations: 15.98 kB / 313 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002089/0.01141, allocations: 131 kB / 313.1 MB, free: 8.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.01143, allocations: 8 kB / 313.1 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004248/0.01185, allocations: 0.7306 MB / 313.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01185, allocations: 0 / 313.8 MB, free: 8.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.01219, allocations: 375.8 kB / 314.2 MB, free: 7.664 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.01221, allocations: 19.84 kB / 314.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.01224, allocations: 7.984 kB / 314.2 MB, free: 7.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.0123, allocations: 16.03 kB / 314.2 MB, free: 7.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.01234, allocations: 11.97 kB / 314.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01235, allocations: 4 kB / 314.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.553e-05/0.0124, allocations: 49.86 kB / 314.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0124, allocations: 3.938 kB / 314.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001703/0.01257, allocations: 67.84 kB / 314.4 MB, free: 7.484 MB / 282.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.0001081/0.01268, allocations: 88.3 kB / 314.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.013, allocations: 486.4 kB / 314.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.013, allocations: 4 kB / 314.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.01318, allocations: 173.4 kB / 315.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.01333, allocations: 32.52 kB / 315.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000567/0.0139, allocations: 393.7 kB / 315.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.298e-05/0.01396, allocations: 83.92 kB / 315.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.795e-05/0.01403, allocations: 21.2 kB / 315.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.01413, allocations: 75.36 kB / 315.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01413, allocations: 0 / 315.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of Templates: time 0.004699/0.01883, allocations: 2.765 MB / 318.5 MB, free: 3.285 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9452613070607185]