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.0009219/0.0009219, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009073/0.0009073, allocations: 173 kB / 23.82 MB, free: 0.7461 MB / 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 0.9591/0.9591, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.06267/0.06267, allocations: 18.14 MB / 278.9 MB, free: 11.33 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.433e-06/1.433e-06, allocations: 3.938 kB / 357.3 MB, free: 7.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.531e-05, allocations: 2.312 kB / 357.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.00123/0.001255, allocations: 0.5945 MB / 357.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.001386, allocations: 27.84 kB / 357.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.001409, allocations: 0 / 357.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.754e-05/0.001427, allocations: 0 / 357.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.001486, allocations: 7.922 kB / 357.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.379e-05/0.00157, allocations: 3.984 kB / 357.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.001628, allocations: 35.84 kB / 358 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.464e-05/0.001663, allocations: 4 kB / 358 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.001684, allocations: 15.98 kB / 358 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.001756, allocations: 19.91 kB / 358 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.001774, allocations: 0 / 358 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.001782, allocations: 4 kB / 358 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.001796, allocations: 3.938 kB / 358 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.00182, allocations: 15.92 kB / 358 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.392e-05/0.001894, allocations: 27.83 kB / 358 MB, free: 7.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.001896, allocations: 0 / 358 MB, free: 7.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.001897, allocations: 0 / 358 MB, free: 7.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.001901, allocations: 0 / 358 MB, free: 7.07 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.0003627/0.002263, allocations: 384.5 kB / 358.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.0023, allocations: 12.92 kB / 358.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.002341, allocations: 4.938 kB / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.66e-05/0.002417, allocations: 116.5 kB / 358.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.002427, allocations: 384 / 358.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.002451, allocations: 12.36 kB / 358.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.002529, allocations: 42.25 kB / 358.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.002535, allocations: 192 / 358.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.002543, allocations: 4.312 kB / 358.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.002549, allocations: 384 / 358.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.785e-05/0.002577, allocations: 19.92 kB / 358.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.002902, allocations: 267.8 kB / 358.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.00304, allocations: 51.05 kB / 358.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.003064, allocations: 15.69 kB / 359 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.231e-06/0.00307, allocations: 4 kB / 359 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.003093, allocations: 45.34 kB / 359 MB, free: 5.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.003094, allocations: 0 / 359 MB, free: 5.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001538/0.003248, allocations: 57.64 kB / 359.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.003276, allocations: 51.41 kB / 359.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.003359, allocations: 181.9 kB / 359.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.003369, allocations: 29.7 kB / 359.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.003426, allocations: 142.8 kB / 359.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.003451, allocations: 19.97 kB / 359.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.003491, allocations: 27.36 kB / 359.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.003635, allocations: 0.4883 MB / 360 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.003661, allocations: 11.98 kB / 360 MB, free: 4.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.935e-05/0.0037, allocations: 23.31 kB / 360 MB, free: 4.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.003801, allocations: 51.36 kB / 360.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.003804, allocations: 0 / 360.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001288/0.003933, allocations: 77.58 kB / 360.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.003951, allocations: 7.938 kB / 360.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.003958, allocations: 4 kB / 360.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.003972, allocations: 0 / 360.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.004067, allocations: 16 kB / 360.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.004074, allocations: 4.141 kB / 360.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.004117, allocations: 11.89 kB / 360.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.004124, allocations: 0 / 360.2 MB, free: 4.699 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 0.0001381/0.004262, allocations: 172.5 kB / 360.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.004293, allocations: 8.125 kB / 360.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.004322, allocations: 11.98 kB / 360.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.004325, allocations: 0 / 360.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.004328, allocations: 0 / 360.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.004332, allocations: 4.062 kB / 360.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.004479, allocations: 128.6 kB / 360.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.004481, allocations: 0 / 360.5 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.00457, allocations: 19.98 kB / 360.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.004572, allocations: 0 / 360.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.004587, allocations: 3.938 kB / 360.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.004589, allocations: 4 kB / 360.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.004589, allocations: 4 kB / 360.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.004739, allocations: 207.9 kB / 360.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.004751, allocations: 7.953 kB / 360.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.004762, allocations: 3.938 kB / 360.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.004795, allocations: 4 kB / 360.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.004809, allocations: 0 / 360.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.004812, allocations: 0 / 360.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.679e-05/0.004858, allocations: 139.2 kB / 360.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004858, allocations: 3.938 kB / 360.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.004995, allocations: 12.03 kB / 360.9 MB, free: 3.914 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 8.011e-05/0.005075, allocations: 91.25 kB / 361 MB, free: 3.812 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.005167, allocations: 43.59 kB / 361 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.005169, allocations: 0 / 361 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.005186, allocations: 19.69 kB / 361.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.00533, allocations: 3.125 kB / 361.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.005582, allocations: 165.1 kB / 361.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.522e-05/0.005617, allocations: 63.34 kB / 361.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.159e-05/0.005639, allocations: 4.062 kB / 361.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.005663, allocations: 12.5 kB / 361.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005663, allocations: 0 / 361.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of Templates: time 0.002196/0.007859, allocations: 444.3 kB / 361.7 MB, free: 3.02 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.764711417257786]