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.001807/0.001807, allocations: 92.42 kB / 20.46 MB, free: 1.246 MB / 14.72 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.002248/0.002248, allocations: 222.3 kB / 23.77 MB, free: 4.422 MB / 14.72 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 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.1113/0.1113, allocations: 24.04 MB / 338 MB, free: 11.33 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003279/0.003279, allocations: 75.89 kB / 475.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.303, allocations: 59.57 MB / 0.5221 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001527/0.3046, allocations: 0.5667 MB / 0.5227 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001435/0.3047, allocations: 23.8 kB / 0.5227 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.3047, allocations: 0 / 0.5227 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.3047, allocations: 3.938 kB / 0.5227 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.125e-05/0.3048, allocations: 10.36 kB / 0.5227 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.675e-05/0.3049, allocations: 13.62 kB / 0.5227 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.694e-05/0.305, allocations: 29.34 kB / 0.5227 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.305, allocations: 6.328 kB / 0.5228 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.305, allocations: 17.48 kB / 0.5228 GB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.126e-05/0.3051, allocations: 18.7 kB / 0.5228 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.3051, allocations: 1.562 kB / 0.5228 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.3052, allocations: 3.469 kB / 0.5228 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.3052, allocations: 9.953 kB / 0.5228 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.3052, allocations: 14.16 kB / 0.5228 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.54e-05/0.3053, allocations: 30.83 kB / 0.5228 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3053, allocations: 1.5 kB / 0.5228 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3053, allocations: 0 / 0.5228 GB, free: 9.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3053, allocations: 0 / 0.5228 GB, free: 9.961 MB / 382.1 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.0003781/0.3056, allocations: 278.8 kB / 0.5231 GB, free: 9.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3057, allocations: 9.984 kB / 0.5231 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3057, allocations: 7.422 kB / 0.5231 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.683e-05/0.3058, allocations: 119.7 kB / 0.5232 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3058, allocations: 2.844 kB / 0.5232 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.3058, allocations: 7.375 kB / 0.5233 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.306, allocations: 50.3 kB / 0.5233 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.306, allocations: 192 / 0.5233 GB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.306, allocations: 11.88 kB / 0.5233 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.306, allocations: 2.141 kB / 0.5233 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.306, allocations: 15.33 kB / 0.5233 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.3064, allocations: 210.2 kB / 0.5235 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3065, allocations: 53.14 kB / 0.5236 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.111e-05/0.3066, allocations: 22.64 kB / 0.5236 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.3066, allocations: 1.188 kB / 0.5236 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.241e-05/0.3066, allocations: 32.48 kB / 0.5236 GB, free: 9.191 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3066, allocations: 0 / 0.5236 GB, free: 9.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001676/0.3068, allocations: 67.33 kB / 0.5237 GB, free: 9.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.3068, allocations: 53.36 kB / 0.5237 GB, free: 9.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.3069, allocations: 123.2 kB / 0.5239 GB, free: 8.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.3069, allocations: 26.77 kB / 0.5239 GB, free: 8.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.3069, allocations: 100.4 kB / 0.524 GB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.3069, allocations: 20.73 kB / 0.524 GB, free: 8.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.307, allocations: 27.19 kB / 0.524 GB, free: 8.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.307, allocations: 314.9 kB / 0.5243 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.876e-05/0.307, allocations: 16.8 kB / 0.5244 GB, free: 8.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.15e-05/0.3071, allocations: 23.11 kB / 0.5244 GB, free: 8.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.3073, allocations: 72.88 kB / 0.5244 GB, free: 8.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3073, allocations: 0 / 0.5244 GB, free: 8.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001049/0.3074, allocations: 76.7 kB / 0.5245 GB, free: 8.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3074, allocations: 11.16 kB / 0.5245 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3075, allocations: 0 / 0.5245 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3075, allocations: 1.344 kB / 0.5245 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.3076, allocations: 17.42 kB / 0.5245 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3076, allocations: 1.906 kB / 0.5245 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.078e-05/0.3076, allocations: 14.14 kB / 0.5246 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3076, allocations: 3.156 kB / 0.5246 GB, free: 8.359 MB / 382.1 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 0.0001092/0.3077, allocations: 125.7 kB / 0.5247 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.3078, allocations: 11.77 kB / 0.5247 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.3078, allocations: 10.75 kB / 0.5247 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3078, allocations: 1.406 kB / 0.5247 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3078, allocations: 0 / 0.5247 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3078, allocations: 0 / 0.5247 GB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.3079, allocations: 114.4 kB / 0.5248 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3079, allocations: 4.688 kB / 0.5248 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.308, allocations: 14.64 kB / 0.5248 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.308, allocations: 0.7031 kB / 0.5248 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.308, allocations: 1.344 kB / 0.5248 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.308, allocations: 0 / 0.5248 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.308, allocations: 6.156 kB / 0.5248 GB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.3081, allocations: 170.8 kB / 0.525 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.35e-05/0.3082, allocations: 7.391 kB / 0.525 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3082, allocations: 0.7969 kB / 0.525 GB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.3082, allocations: 5.531 kB / 0.525 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.3082, allocations: 2.812 kB / 0.525 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3083, allocations: 5.219 kB / 0.525 GB, free: 7.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.567e-05/0.3083, allocations: 98 kB / 0.5251 GB, free: 7.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3083, allocations: 0 / 0.5251 GB, free: 7.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002243/0.3085, allocations: 8.125 kB / 0.5251 GB, free: 7.828 MB / 382.1 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.665e-05/0.3086, allocations: 104.4 kB / 0.5252 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.3087, allocations: 34.52 kB / 0.5253 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3087, allocations: 0 / 0.5253 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.3087, allocations: 13.17 kB / 0.5253 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3089, allocations: 9.516 kB / 0.5253 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.3092, allocations: 189.2 kB / 0.5255 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.3092, allocations: 70.09 kB / 0.5255 GB, free: 7.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.3093, allocations: 13.62 kB / 0.5255 GB, free: 7.457 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3093, allocations: 1.094 kB / 0.5255 GB, free: 7.457 MB / 382.1 MB Notification: Performance of Templates: time 0.002207/0.3115, allocations: 0.7491 MB / 0.5263 GB, free: 7.43 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0881958599202335] Failed to read output from testmodel.py, exit status != 0: 0.321787322871387 0.33031649300000004 0.022571066 Calling exit ...