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.0009172/0.0009172, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.000914/0.000914, allocations: 173 kB / 24.17 MB, free: 336 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/1, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.1177/0.1177, 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 2.605e-06/2.605e-06, allocations: 1.156 kB / 304.5 MB, free: 436 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.166e-05, allocations: 2.969 kB / 304.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.003419/0.003451, allocations: 1.851 MB / 306.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.004893, allocations: 0.6784 MB / 307 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.005024, allocations: 2.438 kB / 307 MB, free: 14.76 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.005322, allocations: 31.59 kB / 307.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.005512, allocations: 51.55 kB / 307.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.005974, allocations: 141.4 kB / 307.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.006296, allocations: 192.6 kB / 307.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.006425, allocations: 45.84 kB / 307.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.006582, allocations: 76.47 kB / 307.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.00677, allocations: 79.45 kB / 307.6 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.006817, allocations: 21.34 kB / 307.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.733e-05/0.006845, allocations: 22.91 kB / 307.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.006928, allocations: 56.47 kB / 307.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.793e-05/0.007006, allocations: 49.47 kB / 307.8 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.007231, allocations: 144.9 kB / 307.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.007234, allocations: 0 / 307.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007235, allocations: 0 / 307.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.007239, allocations: 0 / 307.9 MB, free: 14.25 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.0006941/0.007933, allocations: 457.9 kB / 308.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.007968, allocations: 8.922 kB / 308.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.008031, allocations: 22.38 kB / 308.4 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.008309, allocations: 186.6 kB / 308.6 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.008334, allocations: 16.31 kB / 308.6 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.008369, allocations: 12.38 kB / 308.6 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.008641, allocations: 187.5 kB / 308.8 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.008653, allocations: 4.188 kB / 308.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.008671, allocations: 5.172 kB / 308.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.008679, allocations: 11.88 kB / 308.8 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.008801, allocations: 74.03 kB / 308.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.009377, allocations: 316.7 kB / 309.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.009685, allocations: 177.3 kB / 309.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.798e-05/0.009763, allocations: 62.55 kB / 309.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.009784, allocations: 0 / 309.4 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.009991, allocations: 185.2 kB / 309.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.009993, allocations: 0 / 309.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008148/0.01081, allocations: 420 kB / 310 MB, free: 12.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.01088, allocations: 162.2 kB / 310.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.01102, allocations: 166.6 kB / 310.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.01104, allocations: 33.7 kB / 310.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.0111, allocations: 112.3 kB / 310.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.01115, allocations: 51.58 kB / 310.5 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.01121, allocations: 37.69 kB / 310.6 MB, free: 11.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01132, allocations: 330.8 kB / 310.9 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.0114, allocations: 79.14 kB / 311 MB, free: 11.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.904e-05/0.01149, allocations: 130.7 kB / 311.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.01169, allocations: 226.6 kB / 311.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.01169, allocations: 0 / 311.3 MB, free: 10.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002432/0.01194, allocations: 204.5 kB / 311.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.01198, allocations: 63.39 kB / 311.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.01198, allocations: 3.938 kB / 311.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.012, allocations: 7.938 kB / 311.6 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01211, allocations: 23.98 kB / 311.6 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.01212, allocations: 7.984 kB / 311.6 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.877e-05/0.01219, allocations: 19.94 kB / 311.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.0122, allocations: 4 kB / 311.7 MB, free: 10.29 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.0001404/0.01234, allocations: 165.8 kB / 311.8 MB, free: 10.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.361e-05/0.0124, allocations: 117.1 kB / 311.9 MB, free: 9.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001381/0.01254, allocations: 224.5 kB / 312.2 MB, free: 9.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.01254, allocations: 0 / 312.2 MB, free: 9.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000148/0.01269, allocations: 204.4 kB / 312.4 MB, free: 9.492 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.01272, allocations: 59.41 kB / 312.4 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.01272, allocations: 4 kB / 312.4 MB, free: 9.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.01273, allocations: 7.969 kB / 312.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.834e-05/0.01281, allocations: 27.97 kB / 312.4 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01281, allocations: 7.938 kB / 312.5 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.01286, allocations: 12 kB / 312.5 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.01287, allocations: 0 / 312.5 MB, free: 9.363 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.0001227/0.01299, allocations: 223 kB / 312.7 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.01302, allocations: 19.98 kB / 312.7 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.766e-05/0.01306, allocations: 25.39 kB / 312.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01306, allocations: 8 kB / 312.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01306, allocations: 0 / 312.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01307, allocations: 0 / 312.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.0132, allocations: 125.7 kB / 312.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.0132, allocations: 0 / 312.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.01328, allocations: 15.94 kB / 312.9 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001983/0.01348, allocations: 135 kB / 313 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01349, allocations: 4 kB / 313 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004313/0.01392, allocations: 0.7384 MB / 313.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01392, allocations: 0 / 313.8 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.01428, allocations: 374.2 kB / 314.1 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.01431, allocations: 23.83 kB / 314.1 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.01434, allocations: 8 kB / 314.1 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.0144, allocations: 12.03 kB / 314.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.01445, allocations: 15.97 kB / 314.2 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.01446, allocations: 4 kB / 314.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.01452, allocations: 53.84 kB / 314.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01452, allocations: 0 / 314.2 MB, free: 7.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001837/0.0147, allocations: 63.84 kB / 314.3 MB, free: 7.398 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.0001443/0.01485, allocations: 88.36 kB / 314.4 MB, free: 7.301 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.0152, allocations: 482.4 kB / 314.9 MB, free: 6.746 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.01521, allocations: 8 kB / 314.9 MB, free: 6.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.01538, allocations: 174.9 kB / 315 MB, free: 6.543 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.01554, allocations: 37.28 kB / 315.1 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.01612, allocations: 388.2 kB / 315.4 MB, free: 6.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.01616, allocations: 79.92 kB / 315.5 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.2e-05/0.01623, allocations: 21.2 kB / 315.5 MB, free: 5.973 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.01634, allocations: 79.34 kB / 315.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01634, allocations: 0 / 315.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of Templates: time 0.00471/0.02105, allocations: 2.763 MB / 318.4 MB, free: 3.199 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 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.13219150621444]