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.001206/0.001206, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001139/0.00114, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09038/0.09038, allocations: 22.33 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 68.19 kB / 382.2 MB, free: 41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 54.96 MB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001839/0.1044, allocations: 0.5871 MB / 437.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001925/0.1046, allocations: 71.83 kB / 437.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.1047, allocations: 0 / 437.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1047, allocations: 3.938 kB / 437.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.1048, allocations: 7.938 kB / 437.9 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.1049, allocations: 27.89 kB / 437.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.934e-05/0.105, allocations: 35.91 kB / 437.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.829e-05/0.1051, allocations: 4.188 kB / 437.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.1051, allocations: 23.86 kB / 438 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.1052, allocations: 27.84 kB / 438 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1052, allocations: 0 / 438 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.1053, allocations: 4 kB / 438 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.1053, allocations: 11.98 kB / 438 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.1053, allocations: 23.8 kB / 438 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.903e-05/0.1054, allocations: 39.83 kB / 438.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1054, allocations: 0 / 438.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1054, allocations: 0 / 438.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1054, allocations: 0 / 438.1 MB, free: 11.38 MB / 318.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.0004699/0.1059, allocations: 363.3 kB / 438.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1059, allocations: 12.03 kB / 438.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.106, allocations: 4.844 kB / 438.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1061, allocations: 184.2 kB / 438.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1061, allocations: 4.375 kB / 438.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.1062, allocations: 8.375 kB / 438.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1063, allocations: 65.8 kB / 438.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1063, allocations: 0 / 438.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1063, allocations: 0 / 438.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1064, allocations: 4 kB / 438.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.1064, allocations: 35.97 kB / 438.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.1068, allocations: 300.6 kB / 439 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.1071, allocations: 102.6 kB / 439.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.1072, allocations: 36.8 kB / 439.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1072, allocations: 0 / 439.2 MB, free: 10.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1072, allocations: 34.75 kB / 439.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 2.264e-06/0.1072, allocations: 0 / 439.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002224/0.1075, allocations: 105.6 kB / 439.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1075, allocations: 59.33 kB / 439.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.1076, allocations: 121.8 kB / 439.5 MB, free: 9.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1076, allocations: 25.7 kB / 439.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.1077, allocations: 88.12 kB / 439.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1077, allocations: 35.45 kB / 439.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1078, allocations: 29.7 kB / 439.6 MB, free: 9.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1079, allocations: 322.8 kB / 440 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.107e-05/0.108, allocations: 27.98 kB / 440 MB, free: 9.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-05/0.108, allocations: 33.7 kB / 440 MB, free: 9.188 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.1084, allocations: 125 kB / 440.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1084, allocations: 0 / 440.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000148/0.1086, allocations: 105.6 kB / 440.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1086, allocations: 11.94 kB / 440.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1086, allocations: 0 / 440.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1086, allocations: 3.984 kB / 440.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1087, allocations: 27.98 kB / 440.3 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1088, allocations: 4 kB / 440.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.1088, allocations: 11.84 kB / 440.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.1088, allocations: 4 kB / 440.3 MB, free: 8.891 MB / 318.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.0001291/0.109, allocations: 128.6 kB / 440.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.109, allocations: 11.84 kB / 440.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.1092, allocations: 106.9 kB / 440.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1092, allocations: 0 / 440.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1092, allocations: 0 / 440.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1092, allocations: 0 / 440.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.1094, allocations: 185.5 kB / 440.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1094, allocations: 0 / 440.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1095, allocations: 39.98 kB / 440.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1096, allocations: 0 / 440.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1096, allocations: 7.969 kB / 440.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1096, allocations: 3.938 kB / 440.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1096, allocations: 0 / 440.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1098, allocations: 231.3 kB / 441 MB, free: 8.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.1099, allocations: 84.95 kB / 441.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1099, allocations: 4 kB / 441.1 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.11, allocations: 16.03 kB / 441.1 MB, free: 7.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.11, allocations: 4 kB / 441.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.11, allocations: 0 / 441.1 MB, free: 7.992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.1101, allocations: 91.27 kB / 441.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1101, allocations: 0 / 441.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1103, allocations: 16 kB / 441.2 MB, free: 7.887 MB / 318.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.839e-05/0.1104, allocations: 99.12 kB / 441.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.1105, allocations: 71.91 kB / 441.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1106, allocations: 4.062 kB / 441.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.1106, allocations: 35.92 kB / 441.4 MB, free: 7.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.1108, allocations: 8 kB / 441.4 MB, free: 7.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004276/0.1113, allocations: 215.3 kB / 441.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.1115, allocations: 0.6924 MB / 442.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.1115, allocations: 8.672 kB / 442.3 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.1116, allocations: 11.44 kB / 442.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1116, allocations: 0 / 442.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of Templates: time 0.002546/0.1141, allocations: 0.5474 MB / 442.9 MB, free: 6.133 MB / 318.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 -s cvode -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M1_TimeDomain.pipe 2>&1)