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.0009416/0.0009416, allocations: 76.95 kB / 20.74 MB, free: 3.75 MB / 18.57 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.001302/0.001302, allocations: 173.3 kB / 24.16 MB, free: 336 kB / 18.57 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.024/1.024, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.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.0646/0.0646, allocations: 18.14 MB / 279.2 MB, free: 11.19 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 9.72e-07/9.72e-07, allocations: 0 / 304.5 MB, free: 412 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.545e-05, allocations: 2.312 kB / 304.5 MB, free: 408 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.0009967/0.001012, allocations: 0.5719 MB / 305.1 MB, free: 80 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001022/0.001114, allocations: 35.94 kB / 305.1 MB, free: 56 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.835e-05/0.001133, allocations: 0 / 305.1 MB, free: 56 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.001143, allocations: 5.25 kB / 305.1 MB, free: 52 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.351e-05/0.001186, allocations: 6.281 kB / 305.1 MB, free: 48 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.992e-05/0.001246, allocations: 10.64 kB / 305.1 MB, free: 44 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.575e-05/0.001292, allocations: 34.98 kB / 305.2 MB, free: 28 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.704e-05/0.001319, allocations: 8.75 kB / 305.2 MB, free: 24 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.001339, allocations: 13.36 kB / 305.2 MB, free: 20 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.001399, allocations: 10.86 kB / 305.2 MB, free: 20 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.001413, allocations: 2.375 kB / 305.2 MB, free: 20 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.001424, allocations: 6.312 kB / 305.2 MB, free: 16 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.001437, allocations: 10.73 kB / 305.2 MB, free: 8 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.001453, allocations: 8.641 kB / 305.2 MB, free: 4 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 4.893e-05/0.001501, allocations: 18.23 kB / 305.3 MB, free: 0 / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.001503, allocations: 0 / 305.3 MB, free: 0 / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.001503, allocations: 0 / 305.3 MB, free: 0 / 266.7 MB Notification: Performance of Transformations before backend: time 2.474e-06/0.001506, allocations: 5.328 kB / 305.3 MB, free: 15.99 MB / 282.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.0002425/0.001748, allocations: 257.6 kB / 305.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.512e-05/0.001773, allocations: 11.45 kB / 305.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.001794, allocations: 9.703 kB / 305.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.976e-05/0.001864, allocations: 119.4 kB / 305.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.001873, allocations: 1.594 kB / 305.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.00189, allocations: 7.656 kB / 305.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.981e-05/0.00195, allocations: 44.11 kB / 305.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.001956, allocations: 4.125 kB / 305.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-06/0.001961, allocations: 5.719 kB / 305.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.001966, allocations: 1.719 kB / 305.7 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.237e-05/0.001988, allocations: 15.69 kB / 305.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.002194, allocations: 161.5 kB / 305.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.002291, allocations: 46.03 kB / 305.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.002305, allocations: 9.891 kB / 305.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.002311, allocations: 5.031 kB / 305.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.002329, allocations: 31.84 kB / 306 MB, free: 15.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.00233, allocations: 0 / 306 MB, free: 15.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 9.231e-05/0.002422, allocations: 54.25 kB / 306 MB, free: 15.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.002447, allocations: 52.56 kB / 306.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.002511, allocations: 133 kB / 306.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.002519, allocations: 25.7 kB / 306.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.002555, allocations: 97.66 kB / 306.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.002567, allocations: 14.64 kB / 306.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.002597, allocations: 21.88 kB / 306.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.002669, allocations: 318.5 kB / 306.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-06/0.002678, allocations: 4.531 kB / 306.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.002696, allocations: 17.42 kB / 306.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.002745, allocations: 42.61 kB / 306.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.002747, allocations: 0 / 306.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.762e-05/0.002805, allocations: 59.47 kB / 306.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.002814, allocations: 5.5 kB / 306.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.002817, allocations: 1.344 kB / 306.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.002829, allocations: 5.156 kB / 306.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.204e-05/0.002881, allocations: 21.05 kB / 306.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.002884, allocations: 2.344 kB / 306.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.002905, allocations: 6.281 kB / 306.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.00291, allocations: 1.312 kB / 306.8 MB, free: 14.54 MB / 282.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 7.495e-05/0.002985, allocations: 122.7 kB / 307 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.002999, allocations: 4.828 kB / 307 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.003017, allocations: 10.45 kB / 307 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.00302, allocations: 5.344 kB / 307 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.003022, allocations: 4 kB / 307 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.003025, allocations: 0 / 307 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.91e-05/0.003104, allocations: 73.56 kB / 307.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003104, allocations: 1.375 kB / 307.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.003152, allocations: 22.5 kB / 307.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.003153, allocations: 0 / 307.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.00316, allocations: 1.125 kB / 307.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.003161, allocations: 1.078 kB / 307.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.003162, allocations: 0.9688 kB / 307.1 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.003256, allocations: 160.2 kB / 307.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.003263, allocations: 7.688 kB / 307.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-06/0.003271, allocations: 0 / 307.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.859e-05/0.003299, allocations: 0.5625 kB / 307.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.003311, allocations: 12.45 kB / 307.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.003312, allocations: 4.031 kB / 307.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.881e-05/0.003331, allocations: 21.52 kB / 307.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003331, allocations: 2.125 kB / 307.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001098/0.003441, allocations: 5.781 kB / 307.3 MB, free: 14.14 MB / 282.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.685e-05/0.003498, allocations: 75.11 kB / 307.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.875e-05/0.003557, allocations: 33.36 kB / 307.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.00356, allocations: 1.938 kB / 307.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.003572, allocations: 11.98 kB / 307.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.423e-05/0.003656, allocations: 1.859 kB / 307.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001943/0.00385, allocations: 159.6 kB / 307.6 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.226e-05/0.003882, allocations: 58.69 kB / 307.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.945e-05/0.003902, allocations: 2.625 kB / 307.6 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.003931, allocations: 55.28 kB / 307.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.003931, allocations: 0 / 307.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of Templates: time 0.001574/0.005506, allocations: 472.8 kB / 308.1 MB, free: 13.7 MB / 282.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.8513724813237786]