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.001175/0.001175, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001278/0.001278, allocations: 194 kB / 16.25 MB, free: 6.633 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1974/0.1974, allocations: 22.36 MB / 312.4 MB, free: 12.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.88 kB / 380.3 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2797, allocations: 54.94 MB / 435.2 MB, free: 39.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.00175/0.2815, allocations: 0.6455 MB / 435.9 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001935/0.2817, allocations: 67.17 kB / 435.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.2817, allocations: 0 / 435.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.2818, allocations: 3.938 kB / 435.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.2818, allocations: 7.406 kB / 436 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.282, allocations: 13.09 kB / 436 MB, free: 39.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.788e-05/0.2821, allocations: 45.81 kB / 436 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.367e-05/0.2821, allocations: 5.5 kB / 436 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.2822, allocations: 19.27 kB / 436 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.144e-05/0.2823, allocations: 26.98 kB / 436.1 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2823, allocations: 7.125 kB / 436.1 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.2823, allocations: 0 / 436.1 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.2823, allocations: 14.11 kB / 436.1 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.2824, allocations: 32.94 kB / 436.1 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.468e-05/0.2824, allocations: 28.89 kB / 436.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2825, allocations: 4 kB / 436.1 MB, free: 39.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2825, allocations: 0 / 436.1 MB, free: 39.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.2825, allocations: 0 / 436.1 MB, free: 39.15 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.0005929/0.2831, allocations: 371.1 kB / 436.5 MB, free: 38.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.2831, allocations: 8.844 kB / 436.5 MB, free: 38.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.2832, allocations: 7.812 kB / 436.5 MB, free: 38.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2833, allocations: 174.6 kB / 436.7 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.2834, allocations: 3.438 kB / 436.7 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.2834, allocations: 11.22 kB / 436.7 MB, free: 38.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.2836, allocations: 71.05 kB / 436.8 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2836, allocations: 3.938 kB / 436.8 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2836, allocations: 4 kB / 436.8 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2836, allocations: 2.531 kB / 436.8 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.909e-05/0.2837, allocations: 30.22 kB / 436.8 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.2842, allocations: 295.9 kB / 437.1 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.2845, allocations: 103.5 kB / 437.2 MB, free: 38.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.878e-05/0.2846, allocations: 32.89 kB / 437.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.2846, allocations: 3.234 kB / 437.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2847, allocations: 33.34 kB / 437.3 MB, free: 38.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.2847, allocations: 0 / 437.3 MB, free: 38.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002552/0.2849, allocations: 106.1 kB / 437.4 MB, free: 38.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.285, allocations: 55.78 kB / 437.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.285, allocations: 124.1 kB / 437.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.2851, allocations: 25.7 kB / 437.6 MB, free: 37.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.2851, allocations: 90.67 kB / 437.7 MB, free: 37.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.2852, allocations: 44.53 kB / 437.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.2852, allocations: 28.34 kB / 437.7 MB, free: 37.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.2853, allocations: 322 kB / 438.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.2853, allocations: 17.8 kB / 438.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.2854, allocations: 40.77 kB / 438.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.2858, allocations: 125.1 kB / 438.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2858, allocations: 0 / 438.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001365/0.2859, allocations: 106 kB / 438.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.286, allocations: 9.344 kB / 438.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.286, allocations: 0 / 438.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.286, allocations: 2.844 kB / 438.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.2861, allocations: 29.12 kB / 438.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2861, allocations: 0 / 438.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.374e-05/0.2862, allocations: 14.31 kB / 438.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2862, allocations: 6.5 kB / 438.4 MB, free: 37.2 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.0001632/0.2864, allocations: 124.2 kB / 438.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.2864, allocations: 5.188 kB / 438.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.2866, allocations: 109.9 kB / 438.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2866, allocations: 6.734 kB / 438.6 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2866, allocations: 2.953 kB / 438.6 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2866, allocations: 0 / 438.6 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.2867, allocations: 190.9 kB / 438.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2867, allocations: 0 / 438.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.2869, allocations: 29.92 kB / 438.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2869, allocations: 8 kB / 438.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2869, allocations: 4 kB / 438.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2869, allocations: 2.5 kB / 438.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2869, allocations: 0 / 438.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.2871, allocations: 223.8 kB / 439.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.2872, allocations: 83.67 kB / 439.2 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.2872, allocations: 3.188 kB / 439.2 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.2873, allocations: 10.44 kB / 439.2 MB, free: 36.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.2873, allocations: 6.594 kB / 439.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.2873, allocations: 6.922 kB / 439.2 MB, free: 36.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.928e-05/0.2873, allocations: 89.36 kB / 439.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2873, allocations: 0 / 439.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.2876, allocations: 15.06 kB / 439.3 MB, free: 36.42 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.041e-05/0.2876, allocations: 102.1 kB / 439.4 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.2878, allocations: 76.81 kB / 439.5 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2878, allocations: 4.062 kB / 439.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.2878, allocations: 35.67 kB / 439.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.2881, allocations: 11.53 kB / 439.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.2885, allocations: 251 kB / 439.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.2886, allocations: 0.6929 MB / 440.5 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.168e-05/0.2886, allocations: 7.062 kB / 440.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.2886, allocations: 10.34 kB / 440.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2886, allocations: 0 / 440.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of Templates: time 0.002385/0.291, allocations: 0.5451 MB / 441 MB, free: 35.32 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)