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.001437/0.001437, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001319/0.001319, allocations: 199 kB / 16.14 MB, free: 6.711 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.19/0.19, allocations: 22.36 MB / 312.3 MB, free: 12.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.89 kB / 380.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.269, allocations: 54.95 MB / 435 MB, free: 39.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001661/0.2707, allocations: 0.6434 MB / 435.7 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.2709, allocations: 72.61 kB / 435.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.271, allocations: 0 / 435.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.271, allocations: 0 / 435.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.2711, allocations: 9.609 kB / 435.8 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001503/0.2712, allocations: 10.2 kB / 435.8 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.2713, allocations: 38.06 kB / 435.8 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.2713, allocations: 9.75 kB / 435.8 MB, free: 39.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.859e-05/0.2714, allocations: 26.77 kB / 435.9 MB, free: 39.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.2715, allocations: 30.22 kB / 435.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2715, allocations: 2.188 kB / 435.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.205e-05/0.2715, allocations: 2.75 kB / 435.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.2715, allocations: 14.05 kB / 435.9 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.2716, allocations: 24.41 kB / 435.9 MB, free: 39.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.684e-05/0.2716, allocations: 33.92 kB / 436 MB, free: 39.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2716, allocations: 0 / 436 MB, free: 39.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.2717, allocations: 0 / 436 MB, free: 39.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.2717, allocations: 4 kB / 436 MB, free: 39.01 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.0004072/0.2721, allocations: 366.7 kB / 436.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2721, allocations: 12.41 kB / 436.3 MB, free: 38.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.2722, allocations: 9.906 kB / 436.3 MB, free: 38.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.2723, allocations: 174.4 kB / 436.5 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.2723, allocations: 3.438 kB / 436.5 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.2723, allocations: 3.062 kB / 436.5 MB, free: 38.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.2724, allocations: 77.84 kB / 436.6 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2724, allocations: 0 / 436.6 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2725, allocations: 0 / 436.6 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2725, allocations: 3.344 kB / 436.6 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.2725, allocations: 36.8 kB / 436.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.2729, allocations: 296.2 kB / 436.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.2732, allocations: 103.8 kB / 437 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.2732, allocations: 33.67 kB / 437.1 MB, free: 37.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.2733, allocations: 6.562 kB / 437.1 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.2733, allocations: 33.94 kB / 437.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.2733, allocations: 0 / 437.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002256/0.2735, allocations: 106.2 kB / 437.2 MB, free: 37.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.2736, allocations: 54.62 kB / 437.3 MB, free: 37.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.2736, allocations: 117.9 kB / 437.4 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.2736, allocations: 30.08 kB / 437.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.2737, allocations: 90.64 kB / 437.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.2737, allocations: 37.38 kB / 437.5 MB, free: 37.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.2737, allocations: 29.23 kB / 437.6 MB, free: 37.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.2738, allocations: 328.4 kB / 437.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.2738, allocations: 18.45 kB / 437.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.2739, allocations: 40.94 kB / 437.9 MB, free: 37.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.2743, allocations: 121.6 kB / 438.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2743, allocations: 0 / 438.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001336/0.2744, allocations: 108.3 kB / 438.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2744, allocations: 7.156 kB / 438.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2744, allocations: 2.562 kB / 438.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2745, allocations: 4.031 kB / 438.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2746, allocations: 35.14 kB / 438.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2746, allocations: 0 / 438.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.847e-05/0.2747, allocations: 6.5 kB / 438.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.2747, allocations: 6.5 kB / 438.2 MB, free: 37.05 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.0001749/0.2748, allocations: 126.9 kB / 438.3 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.2749, allocations: 9.875 kB / 438.4 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.2751, allocations: 116.9 kB / 438.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2751, allocations: 0 / 438.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2751, allocations: 0 / 438.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2751, allocations: 0 / 438.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.2753, allocations: 188.4 kB / 438.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2753, allocations: 0 / 438.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2754, allocations: 28.34 kB / 438.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2754, allocations: 2.781 kB / 438.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.2754, allocations: 0 / 438.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2755, allocations: 4 kB / 438.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2755, allocations: 0 / 438.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.2757, allocations: 237.6 kB / 438.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.545e-05/0.2757, allocations: 83.48 kB / 439 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2757, allocations: 0 / 439 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.2758, allocations: 2.625 kB / 439 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.2758, allocations: 9.844 kB / 439 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2758, allocations: 2.406 kB / 439 MB, free: 36.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.2759, allocations: 94.23 kB / 439.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2759, allocations: 0 / 439.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.2761, allocations: 10.81 kB / 439.1 MB, free: 36.28 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.742e-05/0.2762, allocations: 100.6 kB / 439.2 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.2763, allocations: 68.81 kB / 439.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2763, allocations: 3.938 kB / 439.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.05e-05/0.2764, allocations: 36.7 kB / 439.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2766, allocations: 12.03 kB / 439.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.277, allocations: 246.8 kB / 439.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2772, allocations: 0.6994 MB / 440.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.266e-05/0.2772, allocations: 3.422 kB / 440.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.2772, allocations: 10.28 kB / 440.3 MB, free: 35.24 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2773, allocations: 0 / 440.3 MB, free: 35.24 MB / 350.1 MB Notification: Performance of Templates: time 0.002347/0.2796, allocations: 0.5317 MB / 440.8 MB, free: 35.17 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)