Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006906/0.0006906, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009032/0.001594, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006995/0.0006995, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009324/0.001632, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9822/0.9822, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08175/1.064, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06817/0.06817, allocations: 18.13 MB / 262.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01242/0.08059, allocations: 6.781 MB / 268.9 MB, free: 6.352 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40200,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 270.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.204e-05, allocations: 2.312 kB / 270.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001137/0.001159, allocations: 0.6102 MB / 270.9 MB, free: 4.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 5.741e-05/0.001217, allocations: 35.81 kB / 270.9 MB, free: 4.285 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.001234, allocations: 4 kB / 270.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.963e-06/0.001241, allocations: 3.938 kB / 270.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.625e-05/0.001277, allocations: 3.938 kB / 270.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.843e-05/0.001316, allocations: 7.984 kB / 270.9 MB, free: 4.266 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.574e-05/0.001371, allocations: 27.91 kB / 271 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.904e-05/0.00141, allocations: 11.92 kB / 271 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.001468, allocations: 27.86 kB / 271 MB, free: 4.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.001535, allocations: 15.92 kB / 271 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.001552, allocations: 4 kB / 271 MB, free: 4.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.475e-06/0.001559, allocations: 4 kB / 271 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.00157, allocations: 0 / 271 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.001591, allocations: 15.94 kB / 271 MB, free: 4.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.74e-05/0.001658, allocations: 23.84 kB / 271.1 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.00167, allocations: 0 / 271.1 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.001672, allocations: 3.984 kB / 271.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.001682, allocations: 0 / 271.1 MB, free: 4.133 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003309/0.002013, allocations: 252.5 kB / 271.3 MB, free: 3.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.00204, allocations: 16.03 kB / 271.3 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.002067, allocations: 4.938 kB / 271.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.3e-05/0.00214, allocations: 129.6 kB / 271.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.002148, allocations: 384 / 271.5 MB, free: 3.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.002167, allocations: 4.375 kB / 271.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.384e-05/0.002241, allocations: 50.17 kB / 271.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.002246, allocations: 192 / 271.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-06/0.002252, allocations: 384 / 271.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.002257, allocations: 384 / 271.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.057e-05/0.002277, allocations: 15.92 kB / 271.5 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.002511, allocations: 168.2 kB / 271.7 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.002618, allocations: 42.5 kB / 271.7 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.851e-05/0.002637, allocations: 16.94 kB / 271.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.002643, allocations: 0 / 271.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.002661, allocations: 30.56 kB / 271.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.002661, allocations: 0 / 271.8 MB, free: 3.324 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001195/0.002781, allocations: 49.62 kB / 271.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.002814, allocations: 51.41 kB / 271.9 MB, free: 3.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.087e-05/0.002885, allocations: 122.8 kB / 272 MB, free: 3.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.002896, allocations: 29.7 kB / 272 MB, free: 3.039 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.00294, allocations: 104 kB / 272.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.002954, allocations: 15.84 kB / 272.2 MB, free: 2.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.002981, allocations: 21.7 kB / 272.2 MB, free: 2.891 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.003051, allocations: 318.8 kB / 272.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.00306, allocations: 4 kB / 272.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.00308, allocations: 29.61 kB / 272.5 MB, free: 2.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.212e-05/0.003132, allocations: 33.7 kB / 272.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.003134, allocations: 0 / 272.6 MB, free: 2.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.063e-05/0.003195, allocations: 57.62 kB / 272.6 MB, free: 2.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.003207, allocations: 12.02 kB / 272.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.003213, allocations: 4 kB / 272.6 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.003221, allocations: 3.938 kB / 272.6 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.003347, allocations: 27.98 kB / 272.7 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.003351, allocations: 3.938 kB / 272.7 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.003375, allocations: 7.891 kB / 272.7 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-06/0.00338, allocations: 4 kB / 272.7 MB, free: 2.367 MB / 266.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 (8): * Single equations (assignments): 8 * 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 8.727e-05/0.003467, allocations: 124.9 kB / 272.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.003481, allocations: 3.984 kB / 272.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.003503, allocations: 15.94 kB / 272.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.003505, allocations: 0 / 272.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.003506, allocations: 0 / 272.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.003509, allocations: 0 / 272.8 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.012e-05/0.003589, allocations: 69.95 kB / 272.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.003592, allocations: 8 kB / 272.9 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.00367, allocations: 19.98 kB / 272.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.003681, allocations: 19.92 kB / 272.9 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.003684, allocations: 3.938 kB / 272.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.003692, allocations: 0 / 272.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.003693, allocations: 0 / 272.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.003695, allocations: 0 / 272.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.003801, allocations: 155.5 kB / 273.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.00381, allocations: 0 / 273.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.114e-05/0.003841, allocations: 3.938 kB / 273.1 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.003853, allocations: 0 / 273.1 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.003856, allocations: 4 kB / 273.1 MB, free: 1.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.652e-05/0.003873, allocations: 20.84 kB / 273.1 MB, free: 1.879 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003873, allocations: 4.031 kB / 273.1 MB, free: 1.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001144/0.003987, allocations: 8 kB / 273.1 MB, free: 1.867 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (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 (4): * Single equations (assignments): 4 * 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 5.775e-05/0.004045, allocations: 80.59 kB / 273.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.004129, allocations: 36.77 kB / 273.2 MB, free: 1.742 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.004134, allocations: 4 kB / 273.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.004146, allocations: 16.84 kB / 273.3 MB, free: 1.719 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.004252, allocations: 4 kB / 273.3 MB, free: 1.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.004471, allocations: 156.3 kB / 273.4 MB, free: 1.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.004501, allocations: 62.64 kB / 273.5 MB, free: 1.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.547e-05/0.004527, allocations: 7.734 kB / 273.5 MB, free: 1.449 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.004564, allocations: 55.38 kB / 273.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.004565, allocations: 0 / 273.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of Templates: time 0.002083/0.006648, allocations: 0.5652 MB / 274.1 MB, free: 0.8398 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe ; mkfifo AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe ; head -c 1048576 < AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe >> ../files/AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.sim & ./AES_AES.Coursework.Modelling_principles.M2_PhasorDomain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.393617565743625]