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.0009489/0.0009489, allocations: 91.56 kB / 20.45 MB, free: 4.117 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.0009894/0.0009894, allocations: 169 kB / 23.82 MB, free: 0.75 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 1.024/1.024, 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.07753/0.07753, allocations: 18.13 MB / 278.9 MB, free: 11.32 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.703e-06/1.703e-06, allocations: 0 / 357.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.55e-05/3.72e-05, allocations: 2.312 kB / 357.3 MB, free: 7.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001294/0.001331, allocations: 0.5867 MB / 357.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.001471, allocations: 27.84 kB / 357.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.56e-05/0.001497, allocations: 0 / 357.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.001515, allocations: 0 / 357.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.001577, allocations: 7.922 kB / 357.9 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.001681, allocations: 15.91 kB / 357.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.845e-05/0.001739, allocations: 27.92 kB / 357.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.00178, allocations: 4 kB / 358 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.423e-05/0.001804, allocations: 15.92 kB / 358 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.00188, allocations: 15.98 kB / 358 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.001896, allocations: 0 / 358 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.457e-06/0.001905, allocations: 4 kB / 358 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.001923, allocations: 15.84 kB / 358 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.001946, allocations: 8 kB / 358 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.524e-05/0.002031, allocations: 23.84 kB / 358 MB, free: 7.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002033, allocations: 0 / 358 MB, free: 7.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.002034, allocations: 0 / 358 MB, free: 7.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.002038, 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.000362/0.0024, allocations: 384.5 kB / 358.4 MB, free: 6.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.002439, allocations: 12.92 kB / 358.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.002475, allocations: 4.938 kB / 358.4 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/0.002558, allocations: 124.5 kB / 358.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.002568, allocations: 384 / 358.5 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.002593, allocations: 8.375 kB / 358.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/0.002684, allocations: 38.25 kB / 358.6 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.002691, allocations: 4.125 kB / 358.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.002702, allocations: 4.375 kB / 358.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.002708, allocations: 384 / 358.6 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.002737, allocations: 15.92 kB / 358.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.003095, allocations: 271.8 kB / 358.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.003239, allocations: 51.05 kB / 358.9 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.003267, allocations: 19.77 kB / 359 MB, free: 6.031 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.003278, allocations: 4 kB / 359 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.003299, allocations: 41.27 kB / 359 MB, free: 5.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.0033, allocations: 0 / 359 MB, free: 5.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001498/0.00345, allocations: 57.83 kB / 359.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.003477, allocations: 51.41 kB / 359.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.003564, allocations: 181.9 kB / 359.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.003573, allocations: 33.64 kB / 359.3 MB, free: 5.617 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.003628, allocations: 142.8 kB / 359.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.003642, allocations: 15.89 kB / 359.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.003673, allocations: 27.38 kB / 359.5 MB, free: 5.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.003786, allocations: 496.1 kB / 360 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.003805, allocations: 8 kB / 360 MB, free: 4.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.003834, allocations: 27.31 kB / 360 MB, free: 4.883 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.679e-05/0.00391, allocations: 55.42 kB / 360.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.003912, allocations: 0 / 360.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.421e-05/0.003996, allocations: 73.58 kB / 360.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.004009, allocations: 7.938 kB / 360.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.004015, allocations: 7.984 kB / 360.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.004029, allocations: 0 / 360.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.004093, allocations: 20 kB / 360.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.0041, allocations: 4.141 kB / 360.2 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.00413, allocations: 11.89 kB / 360.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.004136, allocations: 3.984 kB / 360.2 MB, free: 4.688 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 9.51e-05/0.004231, allocations: 168.5 kB / 360.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.004248, allocations: 7.938 kB / 360.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.004272, allocations: 8 kB / 360.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.004274, allocations: 0 / 360.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.004277, allocations: 0 / 360.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.004282, allocations: 7.984 kB / 360.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.004385, allocations: 124.7 kB / 360.5 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.004387, allocations: 3.984 kB / 360.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-05/0.004442, allocations: 12 kB / 360.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004443, allocations: 0 / 360.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.004457, allocations: 3.938 kB / 360.5 MB, free: 4.312 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004457, allocations: 4 kB / 360.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.00446, allocations: 4 kB / 360.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.004599, allocations: 211.9 kB / 360.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.004611, allocations: 3.953 kB / 360.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.004623, allocations: 7.938 kB / 360.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.004656, allocations: 4 kB / 360.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.00467, allocations: 3.984 kB / 360.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.004672, allocations: 3.938 kB / 360.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.004716, allocations: 139.2 kB / 360.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004716, allocations: 0 / 360.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.004872, allocations: 12.03 kB / 360.9 MB, free: 3.906 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 6.176e-05/0.004934, allocations: 91.25 kB / 361 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.005022, allocations: 39.61 kB / 361 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.005023, allocations: 0 / 361 MB, free: 3.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.542e-05/0.005039, allocations: 15.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.000151/0.00519, allocations: 7.375 kB / 361.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.005441, allocations: 157.9 kB / 361.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.005477, allocations: 63.34 kB / 361.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.908e-05/0.005496, 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.734e-05/0.005524, allocations: 12.5 kB / 361.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.005524, allocations: 0 / 361.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of Templates: time 0.001906/0.007431, allocations: 446.1 kB / 361.7 MB, free: 3.023 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: 3.087196609005332]