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.001361/0.001361, allocations: 110.7 kB / 16.38 MB, free: 6.473 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.001391/0.001391, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08775/0.08775, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 437.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 54.96 MB / 492.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M1_TimeDomain): time 0.001475/0.1068, allocations: 0.5867 MB / 493.2 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001845/0.107, allocations: 67.89 kB / 493.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.107, allocations: 0 / 493.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.1071, allocations: 7.938 kB / 493.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.507e-05/0.1072, allocations: 7.875 kB / 493.3 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.1073, allocations: 19.95 kB / 493.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.14e-05/0.1074, allocations: 47.78 kB / 493.4 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.1074, allocations: 8.172 kB / 493.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.1075, allocations: 15.92 kB / 493.4 MB, free: 4.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.1076, allocations: 27.84 kB / 493.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1076, allocations: 4 kB / 493.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.1076, allocations: 4 kB / 493.4 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.1076, allocations: 11.92 kB / 493.4 MB, free: 4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1077, allocations: 23.86 kB / 493.5 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.27e-05/0.1077, allocations: 31.83 kB / 493.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1077, allocations: 0 / 493.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1077, allocations: 0 / 493.5 MB, free: 3.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1078, allocations: 7.938 kB / 493.5 MB, free: 3.938 MB / 366.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.0004593/0.1082, allocations: 363.3 kB / 493.8 MB, free: 3.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1083, allocations: 12.03 kB / 493.9 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.1083, allocations: 8.844 kB / 493.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1084, allocations: 176.2 kB / 494 MB, free: 3.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1084, allocations: 8.375 kB / 494 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.1085, allocations: 4.375 kB / 494.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1086, allocations: 69.73 kB / 494.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1086, allocations: 0 / 494.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1086, allocations: 0 / 494.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1086, allocations: 0 / 494.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.1087, allocations: 43.91 kB / 494.2 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.1091, allocations: 296.8 kB / 494.5 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1094, allocations: 98.53 kB / 494.5 MB, free: 2.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.1095, allocations: 32.98 kB / 494.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1095, allocations: 0 / 494.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1095, allocations: 38.56 kB / 494.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 8.42e-07/0.1095, allocations: 0 / 494.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002205/0.1097, allocations: 109.7 kB / 494.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1098, allocations: 59.39 kB / 494.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.1099, allocations: 113.8 kB / 494.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1099, allocations: 29.7 kB / 494.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1099, allocations: 88.05 kB / 495 MB, free: 2.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.11, allocations: 43.44 kB / 495.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.11, allocations: 25.7 kB / 495.1 MB, free: 2.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1101, allocations: 326.8 kB / 495.4 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.955e-05/0.1102, allocations: 24.03 kB / 495.4 MB, free: 1.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.587e-05/0.1102, allocations: 37.7 kB / 495.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.1106, allocations: 117.6 kB / 495.6 MB, free: 1.629 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1106, allocations: 4 kB / 495.6 MB, free: 1.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001513/0.1107, allocations: 108.2 kB / 495.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1108, allocations: 8 kB / 495.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1108, allocations: 0 / 495.7 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1108, allocations: 3.984 kB / 495.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1109, allocations: 35.98 kB / 495.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1109, allocations: 4 kB / 495.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.111, allocations: 3.938 kB / 495.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.111, allocations: 4 kB / 495.7 MB, free: 1.457 MB / 366.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.0001497/0.1111, allocations: 134.9 kB / 495.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.1112, allocations: 4 kB / 495.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.1113, allocations: 106 kB / 496 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1114, allocations: 3.938 kB / 496 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1114, allocations: 0 / 496 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1114, allocations: 0 / 496 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.1115, allocations: 189.5 kB / 496.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1116, allocations: 0 / 496.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.1117, allocations: 31.92 kB / 496.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1117, allocations: 4 kB / 496.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1117, allocations: 3.984 kB / 496.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1117, allocations: 0 / 496.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1118, allocations: 0 / 496.2 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.112, allocations: 219.4 kB / 496.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.112, allocations: 92.95 kB / 496.5 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.112, allocations: 7.938 kB / 496.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.726e-05/0.1121, allocations: 4.031 kB / 496.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.1122, allocations: 4.094 kB / 496.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.1122, allocations: 11.88 kB / 496.5 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.079e-05/0.1122, allocations: 91.27 kB / 496.6 MB, free: 480 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1122, allocations: 0 / 496.6 MB, free: 480 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1124, allocations: 16 kB / 496.6 MB, free: 464 kB / 366.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 8.682e-05/0.1125, allocations: 103.2 kB / 496.7 MB, free: 348 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.1127, allocations: 63.91 kB / 496.8 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1127, allocations: 0 / 496.8 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.1127, allocations: 35.98 kB / 496.8 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.113, allocations: 8.828 kB / 496.9 MB, free: 244 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/0.1134, allocations: 260.7 kB / 497.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1137, allocations: 0.6963 MB / 497.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.1137, allocations: 11.44 kB / 497.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1137, allocations: 0 / 497.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of Templates: time 0.002078/0.1158, allocations: 0.9176 MB / 498.7 MB, free: 14.3 MB / 382.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)