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.0007851/0.000785, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0008742/0.0008744, allocations: 176.8 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2154/0.2154, allocations: 22.34 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 55.96 MB / 438.6 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.0007061/0.3029, allocations: 330.6 kB / 438.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001928/0.3031, allocations: 64.38 kB / 438.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.395e-05/0.3031, allocations: 0 / 438.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.3032, allocations: 3.938 kB / 438.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.421e-05/0.3032, allocations: 11.48 kB / 439 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.3034, allocations: 14.16 kB / 439 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.3035, allocations: 38.77 kB / 439 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.919e-05/0.3036, allocations: 3.188 kB / 439 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.3036, allocations: 20.03 kB / 439 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.3037, allocations: 28.41 kB / 439.1 MB, free: 39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.3037, allocations: 2.844 kB / 439.1 MB, free: 39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.3037, allocations: 2.938 kB / 439.1 MB, free: 39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.3038, allocations: 13.94 kB / 439.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.3038, allocations: 47.72 kB / 439.1 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.698e-05/0.3039, allocations: 30.08 kB / 439.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3039, allocations: 0 / 439.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3039, allocations: 0 / 439.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.3039, allocations: 0 / 439.2 MB, free: 38.93 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.0003685/0.3043, allocations: 367.4 kB / 439.5 MB, free: 38.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3043, allocations: 16.59 kB / 439.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3044, allocations: 7.625 kB / 439.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.3045, allocations: 175.9 kB / 439.7 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3045, allocations: 4.281 kB / 439.7 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3045, allocations: 10.19 kB / 439.7 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3047, allocations: 60.52 kB / 439.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3047, allocations: 4 kB / 439.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3047, allocations: 14.64 kB / 439.8 MB, free: 38.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3047, allocations: 0 / 439.8 MB, free: 38.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.3048, allocations: 38.44 kB / 439.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.3052, allocations: 291.3 kB / 440.1 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.3054, allocations: 96.12 kB / 440.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.3055, allocations: 39.8 kB / 440.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3055, allocations: 3.188 kB / 440.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.3055, allocations: 37.88 kB / 440.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3055, allocations: 0 / 440.3 MB, free: 37.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002355/0.3058, allocations: 109.9 kB / 440.4 MB, free: 37.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3058, allocations: 51.41 kB / 440.5 MB, free: 37.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.343e-05/0.3059, allocations: 126.3 kB / 440.6 MB, free: 37.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.3059, allocations: 29.7 kB / 440.6 MB, free: 37.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.306, allocations: 91.11 kB / 440.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.306, allocations: 33.84 kB / 440.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.306, allocations: 22.72 kB / 440.7 MB, free: 37.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.908e-05/0.3061, allocations: 322.2 kB / 441.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.3061, allocations: 16.03 kB / 441.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.485e-05/0.3062, allocations: 35.83 kB / 441.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.3065, allocations: 137.1 kB / 441.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3066, allocations: 0 / 441.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000135/0.3067, allocations: 101.5 kB / 441.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3067, allocations: 5.438 kB / 441.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3067, allocations: 3.344 kB / 441.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3067, allocations: 0 / 441.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.3069, allocations: 28.61 kB / 441.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3069, allocations: 4.031 kB / 441.4 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.3069, allocations: 10.84 kB / 441.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3069, allocations: 2.906 kB / 441.4 MB, free: 36.98 MB / 350.1 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.0001397/0.3071, allocations: 132 kB / 441.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.3071, allocations: 9.719 kB / 441.5 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.3073, allocations: 109.5 kB / 441.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3073, allocations: 2.844 kB / 441.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3073, allocations: 0 / 441.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3073, allocations: 3.141 kB / 441.7 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.3074, allocations: 186.8 kB / 441.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3074, allocations: 2.906 kB / 441.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.3076, allocations: 35.22 kB / 441.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3076, allocations: 0 / 441.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3076, allocations: 4 kB / 441.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3076, allocations: 2.719 kB / 441.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3076, allocations: 7.938 kB / 441.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.3078, allocations: 222.7 kB / 442.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.978e-05/0.3079, allocations: 83.86 kB / 442.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3079, allocations: 4 kB / 442.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.3079, allocations: 4 kB / 442.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.308, allocations: 5.922 kB / 442.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.308, allocations: 2.469 kB / 442.2 MB, free: 36.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.838e-05/0.308, allocations: 93.22 kB / 442.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.308, allocations: 4 kB / 442.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.3082, allocations: 14.91 kB / 442.3 MB, free: 36.19 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.085e-05/0.3083, allocations: 101.1 kB / 442.4 MB, free: 36.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.3085, allocations: 65.94 kB / 442.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3085, allocations: 3.938 kB / 442.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.3085, allocations: 36.19 kB / 442.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.3087, allocations: 7.062 kB / 442.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.3091, allocations: 253.8 kB / 442.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3093, allocations: 0.6938 MB / 443.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.143e-05/0.3093, allocations: 11.5 kB / 443.5 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.3093, allocations: 12.38 kB / 443.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3093, allocations: 3.938 kB / 443.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of Templates: time 0.002366/0.3117, allocations: 0.5071 MB / 444 MB, free: 35.1 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)