Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M1_TimeDomain.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.001486/0.001486, allocations: 84.23 kB / 20.23 MB, free: 4.211 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.00181/0.00181, allocations: 157.7 kB / 23.53 MB, free: 0.9062 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.535/1.535, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.1083/0.1083, allocations: 18.14 MB / 278.5 MB, free: 11.31 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.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 356.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.208e-05, allocations: 2.312 kB / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001977/0.002009, allocations: 0.5794 MB / 357.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002561/0.002265, allocations: 67.84 kB / 357.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.0023, allocations: 0 / 357.2 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.002319, allocations: 3.938 kB / 357.2 MB, free: 7.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.002407, allocations: 3.938 kB / 357.2 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.002588, allocations: 23.89 kB / 357.2 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.002671, allocations: 35.91 kB / 357.2 MB, free: 7.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.002716, allocations: 4.172 kB / 357.2 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.002753, allocations: 23.92 kB / 357.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.002865, allocations: 15.92 kB / 357.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.002885, allocations: 4 kB / 357.3 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.002896, allocations: 4 kB / 357.3 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.002922, allocations: 11.97 kB / 357.3 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.002965, allocations: 19.92 kB / 357.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.483e-05/0.00305, allocations: 27.83 kB / 357.3 MB, free: 7.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003053, allocations: 3.938 kB / 357.3 MB, free: 7.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.003053, allocations: 0 / 357.3 MB, free: 7.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.003057, allocations: 0 / 357.3 MB, free: 7.359 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005449/0.003602, allocations: 294.1 kB / 357.6 MB, free: 7.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.00365, allocations: 16.92 kB / 357.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.003711, allocations: 12.89 kB / 357.7 MB, free: 7.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.003882, allocations: 117.7 kB / 357.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.003902, allocations: 4.375 kB / 357.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.003937, allocations: 8.375 kB / 357.8 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.004118, allocations: 58.23 kB / 357.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.004133, allocations: 4.125 kB / 357.8 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.004154, allocations: 12.11 kB / 357.9 MB, free: 6.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.004164, allocations: 4 kB / 357.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.847e-05/0.004262, allocations: 31.98 kB / 357.9 MB, free: 6.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.004801, allocations: 244.4 kB / 358.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.005152, allocations: 90.48 kB / 358.2 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.636e-05/0.005228, allocations: 32.84 kB / 358.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.005254, allocations: 7.938 kB / 358.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.005484, allocations: 30.56 kB / 358.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.005485, allocations: 0 / 358.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003967/0.005881, allocations: 105.8 kB / 358.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.005943, allocations: 55.41 kB / 358.4 MB, free: 6.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.006085, allocations: 121.8 kB / 358.6 MB, free: 5.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.00611, allocations: 29.7 kB / 358.6 MB, free: 5.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.006213, allocations: 88.14 kB / 358.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.00626, allocations: 35.69 kB / 358.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-05/0.006339, allocations: 33.66 kB / 358.8 MB, free: 5.797 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.006568, allocations: 318.8 kB / 359.1 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.006628, allocations: 15.98 kB / 359.1 MB, free: 5.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.006698, allocations: 41.27 kB / 359.1 MB, free: 5.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.007159, allocations: 125.6 kB / 359.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00716, allocations: 0 / 359.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002072/0.007368, allocations: 117.5 kB / 359.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.007385, allocations: 7.125 kB / 359.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.007392, allocations: 0 / 359.4 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.007412, allocations: 4 kB / 359.4 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.007574, allocations: 27.98 kB / 359.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.007585, allocations: 3.938 kB / 359.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.007639, allocations: 7.938 kB / 359.4 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.007655, allocations: 12.09 kB / 359.4 MB, free: 5.109 MB / 282.7 MB Warning: Assuming fixed start value for the following 3 variables: I:VARIABLE(start = 0.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0002286/0.007884, allocations: 125.8 kB / 359.5 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.00792, allocations: 7.938 kB / 359.5 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.008153, allocations: 106.1 kB / 359.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.008156, allocations: 0 / 359.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.008159, allocations: 0 / 359.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008162, allocations: 0 / 359.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.008375, allocations: 141.1 kB / 359.8 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.008382, allocations: 11.98 kB / 359.8 MB, free: 4.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.008575, allocations: 27.98 kB / 359.8 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.008582, allocations: 7.938 kB / 359.8 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.008593, allocations: 0 / 359.8 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008595, allocations: 0 / 359.8 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008595, allocations: 0 / 359.8 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.008937, allocations: 227.4 kB / 360.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.008955, allocations: 11.89 kB / 360.1 MB, free: 4.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.008972, allocations: 3.938 kB / 360.1 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.191e-05/0.009044, allocations: 0 / 360.1 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.009077, allocations: 12.03 kB / 360.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.009086, allocations: 8 kB / 360.1 MB, free: 4.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.437e-05/0.00916, allocations: 91.27 kB / 360.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00916, allocations: 0 / 360.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002392/0.009399, allocations: 12 kB / 360.2 MB, free: 4.266 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (I,Ta,Tw) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001402/0.00954, allocations: 95.25 kB / 360.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.009721, allocations: 67.34 kB / 360.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.009723, allocations: 0 / 360.4 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.00978, allocations: 32 kB / 360.4 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.01002, allocations: 15.98 kB / 360.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/0.01059, allocations: 212.5 kB / 360.6 MB, free: 3.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.0107, allocations: 87.25 kB / 360.7 MB, free: 3.715 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.69e-05/0.01073, allocations: 0.7344 kB / 360.7 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.01078, allocations: 16.5 kB / 360.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01078, allocations: 0 / 360.7 MB, free: 3.695 MB / 282.7 MB Notification: Performance of Templates: time 0.003289/0.01407, allocations: 0.5527 MB / 361.3 MB, free: 3.145 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M1_TimeDomain.sim & ./AES_AES.Coursework.Modelling_principles.M1_TimeDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.854023040970787]