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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") translateModel(AES.Coursework.Modelling_principles.M1_TimeDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M1_TimeDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000913/0.000913, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001088, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2798/0.2798, allocations: 22.34 MB / 313.4 MB, free: 13.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3979, allocations: 55.98 MB / 437.9 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.0007454/0.3987, allocations: 319.5 kB / 438.2 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.3989, allocations: 57.62 kB / 438.3 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.607e-05/0.399, allocations: 0 / 438.3 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.846e-05/0.399, allocations: 3.938 kB / 438.3 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.3991, allocations: 3.938 kB / 438.3 MB, free: 39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.3993, allocations: 10.05 kB / 438.3 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.3994, allocations: 42.59 kB / 438.3 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.3995, allocations: 6.453 kB / 438.3 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.54e-05/0.3995, allocations: 20.19 kB / 438.4 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.766e-05/0.3996, allocations: 26.53 kB / 438.4 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3996, allocations: 2.75 kB / 438.4 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3996, allocations: 2.875 kB / 438.4 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.489e-05/0.3997, allocations: 7.938 kB / 438.4 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.3997, allocations: 28.17 kB / 438.4 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.087e-05/0.3998, allocations: 27.25 kB / 438.4 MB, free: 38.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3998, allocations: 4 kB / 438.5 MB, free: 38.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3998, allocations: 0 / 438.5 MB, free: 38.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3998, allocations: 0 / 438.5 MB, free: 38.9 MB / 350.1 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.0004018/0.4002, allocations: 366.8 kB / 438.8 MB, free: 38.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4002, allocations: 8.219 kB / 438.8 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.4003, allocations: 9.562 kB / 438.8 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4004, allocations: 169 kB / 439 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4004, allocations: 6.625 kB / 439 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.4005, allocations: 6.656 kB / 439 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.4006, allocations: 64.55 kB / 439.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.4006, allocations: 6.969 kB / 439.1 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4007, allocations: 7.953 kB / 439.1 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4007, allocations: 0 / 439.1 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.4008, allocations: 35.83 kB / 439.1 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.4012, allocations: 289.1 kB / 439.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.4015, allocations: 109.2 kB / 439.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.665e-05/0.4015, allocations: 38.09 kB / 439.5 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4016, allocations: 2.688 kB / 439.5 MB, free: 37.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4016, allocations: 30.56 kB / 439.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.4016, allocations: 0 / 439.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002738/0.4019, allocations: 110.1 kB / 439.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.4019, allocations: 51.41 kB / 439.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/0.402, allocations: 120 kB / 439.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.402, allocations: 29.7 kB / 439.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.4021, allocations: 84.33 kB / 440 MB, free: 37.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.4021, allocations: 41.53 kB / 440 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.4021, allocations: 4 kB / 440 MB, free: 37.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.224e-05/0.4022, allocations: 314.3 kB / 440.3 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.4023, allocations: 23.36 kB / 440.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.815e-05/0.4023, allocations: 39.66 kB / 440.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.125e-05/0.4024, allocations: 28.09 kB / 440.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4024, allocations: 0 / 440.4 MB, free: 37.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001498/0.4026, allocations: 112.4 kB / 440.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4026, allocations: 5.656 kB / 440.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4026, allocations: 0 / 440.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4026, allocations: 0 / 440.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4027, allocations: 36.56 kB / 440.6 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4028, allocations: 6.5 kB / 440.6 MB, free: 37.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.4028, allocations: 7.906 kB / 440.6 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.4028, allocations: 5.156 kB / 440.6 MB, free: 37.02 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: Tw:VARIABLE(start = 10.0 fixed = true ) type: Real Ta:VARIABLE(start = 10.0 fixed = true ) type: Real I:VARIABLE(start = 0.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.403, allocations: 116.8 kB / 440.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.403, allocations: 14.45 kB / 440.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.4032, allocations: 115.4 kB / 440.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.4032, allocations: 0 / 440.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4033, allocations: 6.031 kB / 440.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4033, allocations: 4 kB / 440.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.4035, allocations: 182.2 kB / 441 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4035, allocations: 0 / 441 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.4036, allocations: 33.77 kB / 441 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.4036, allocations: 0 / 441 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4036, allocations: 6.641 kB / 441 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4037, allocations: 0 / 441 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4037, allocations: 0 / 441 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.4039, allocations: 221.9 kB / 441.3 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.4039, allocations: 87.7 kB / 441.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.404, allocations: 6.594 kB / 441.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.404, allocations: 3.953 kB / 441.4 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.168e-05/0.4041, allocations: 5.781 kB / 441.4 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.4041, allocations: 2.625 kB / 441.4 MB, free: 36.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.4041, allocations: 90.31 kB / 441.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4041, allocations: 0 / 441.4 MB, free: 36.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.4043, allocations: 16.38 kB / 441.5 MB, free: 36.25 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.655e-05/0.4044, allocations: 97.09 kB / 441.6 MB, free: 36.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.4046, allocations: 65.14 kB / 441.6 MB, free: 36.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4046, allocations: 0 / 441.6 MB, free: 36.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.4046, allocations: 37.33 kB / 441.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.4049, allocations: 6.688 kB / 441.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.4053, allocations: 252.7 kB / 441.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.4055, allocations: 0.6966 MB / 442.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.4055, allocations: 3.234 kB / 442.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.4056, allocations: 16.61 kB / 442.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4056, allocations: 4 kB / 442.6 MB, free: 35.22 MB / 350.1 MB Notification: Performance of Templates: time 0.00272/0.4083, allocations: 0.5012 MB / 443.1 MB, free: 35.15 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M1_TimeDomain.makefile (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)