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.001349/0.001349, allocations: 105.6 kB / 19.69 MB, free: 2.277 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.00202/0.00202, allocations: 216.1 kB / 23.01 MB, free: 4.602 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.1079/0.1079, allocations: 24.12 MB / 337.3 MB, free: 11.58 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.002094/0.002094, allocations: 63.91 kB / 474.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4486, allocations: 59.6 MB / 0.5216 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001733/0.4504, allocations: 0.572 MB / 0.5222 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.4505, allocations: 31.39 kB / 0.5222 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.4506, allocations: 4 kB / 0.5222 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.4506, allocations: 3.938 kB / 0.5222 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.4507, allocations: 5.203 kB / 0.5222 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.4508, allocations: 7.109 kB / 0.5222 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.4509, allocations: 31.36 kB / 0.5223 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.914e-05/0.4509, allocations: 3.766 kB / 0.5223 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.784e-05/0.451, allocations: 17.16 kB / 0.5223 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.936e-05/0.4511, allocations: 26.52 kB / 0.5223 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.4511, allocations: 6.438 kB / 0.5223 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.4511, allocations: 1.031 kB / 0.5223 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.4511, allocations: 4.547 kB / 0.5223 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.4511, allocations: 16.64 kB / 0.5223 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.063e-05/0.4512, allocations: 30.91 kB / 0.5224 GB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4512, allocations: 1.469 kB / 0.5224 GB, free: 9.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4512, allocations: 0 / 0.5224 GB, free: 9.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.4512, allocations: 0 / 0.5224 GB, free: 9.965 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.0004206/0.4517, allocations: 285.7 kB / 0.5226 GB, free: 9.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.4517, allocations: 10.17 kB / 0.5227 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.4517, allocations: 8.172 kB / 0.5227 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/0.4518, allocations: 115.7 kB / 0.5228 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4518, allocations: 5.875 kB / 0.5228 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.4519, allocations: 2.906 kB / 0.5228 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.452, allocations: 47.16 kB / 0.5228 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.452, allocations: 192 / 0.5228 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.452, allocations: 11.94 kB / 0.5228 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.452, allocations: 0.9688 kB / 0.5228 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.452, allocations: 24.22 kB / 0.5229 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.4524, allocations: 237.5 kB / 0.5231 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.4526, allocations: 48.61 kB / 0.5231 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.4526, allocations: 15.77 kB / 0.5232 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.4526, allocations: 1.125 kB / 0.5232 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.4527, allocations: 35.88 kB / 0.5232 GB, free: 9.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.4527, allocations: 0 / 0.5232 GB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.4528, allocations: 70.47 kB / 0.5233 GB, free: 9.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.4529, allocations: 53.42 kB / 0.5233 GB, free: 9.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.4529, allocations: 119.3 kB / 0.5234 GB, free: 8.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.453, allocations: 27.02 kB / 0.5234 GB, free: 8.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.453, allocations: 96.56 kB / 0.5235 GB, free: 8.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.453, allocations: 14.73 kB / 0.5236 GB, free: 8.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.453, allocations: 24.67 kB / 0.5236 GB, free: 8.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.4531, allocations: 322.8 kB / 0.5239 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.4531, allocations: 14.69 kB / 0.5239 GB, free: 8.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.4532, allocations: 23.09 kB / 0.5239 GB, free: 8.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.4534, allocations: 85.16 kB / 0.524 GB, free: 8.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4535, allocations: 4.609 kB / 0.524 GB, free: 8.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001075/0.4536, allocations: 72.89 kB / 0.5241 GB, free: 8.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4536, allocations: 5.406 kB / 0.5241 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4536, allocations: 1.125 kB / 0.5241 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4536, allocations: 0.5625 kB / 0.5241 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4537, allocations: 22.42 kB / 0.5241 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4537, allocations: 1.125 kB / 0.5241 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.4538, allocations: 11.34 kB / 0.5241 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.4538, allocations: 2.062 kB / 0.5241 GB, free: 8.324 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.000139/0.4539, allocations: 128.5 kB / 0.5242 GB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.4539, allocations: 7.891 kB / 0.5242 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.454, allocations: 10.69 kB / 0.5243 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.454, allocations: 0 / 0.5243 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.454, allocations: 1.75 kB / 0.5243 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.454, allocations: 0 / 0.5243 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.4541, allocations: 136.7 kB / 0.5244 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4541, allocations: 1.719 kB / 0.5244 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.4542, allocations: 22.56 kB / 0.5244 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4542, allocations: 0 / 0.5244 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.4542, allocations: 8.812 kB / 0.5244 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4542, allocations: 1.453 kB / 0.5244 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4542, allocations: 0 / 0.5244 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.4544, allocations: 167.2 kB / 0.5246 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.4544, allocations: 3.25 kB / 0.5246 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.4544, allocations: 2.047 kB / 0.5246 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.4545, allocations: 4.062 kB / 0.5246 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.4545, allocations: 2.453 kB / 0.5246 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.4545, allocations: 2.297 kB / 0.5246 GB, free: 7.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.4545, allocations: 101.7 kB / 0.5247 GB, free: 7.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4545, allocations: 0 / 0.5247 GB, free: 7.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.4547, allocations: 11.41 kB / 0.5247 GB, free: 7.762 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 7.705e-05/0.4548, allocations: 101.4 kB / 0.5248 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.4549, allocations: 34.5 kB / 0.5248 GB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4549, allocations: 0 / 0.5248 GB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.337e-05/0.455, allocations: 13.41 kB / 0.5248 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.4552, allocations: 11.92 kB / 0.5249 GB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.4555, allocations: 190.1 kB / 0.525 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.4556, allocations: 0.6887 MB / 0.5257 GB, free: 6.773 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.4557, allocations: 9.75 kB / 0.5257 GB, free: 6.77 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4557, allocations: 4.062 kB / 0.5257 GB, free: 6.766 MB / 382.1 MB Notification: Performance of Templates: time 0.002625/0.4583, allocations: 0.7361 MB / 0.5264 GB, free: 6.734 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.556167342001572] Failed to read output from testmodel.py, exit status != 0: 0.4677263689227402 0.48027602700000005 0.025940595 Calling exit ...