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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80400,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") translateModel(AES.Coursework.Modelling_principles.M2_PhasorDomain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=80400,variableFilter="",fileNamePrefix="AES_AES.Coursework.Modelling_principles.M2_PhasorDomain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008761/0.000876, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005758/0.005758, allocations: 173.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.207/0.207, allocations: 22.34 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 12.22 kB / 382.6 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2924, allocations: 55.98 MB / 438.6 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.0005414/0.293, allocations: 304.2 kB / 438.9 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001268/0.2931, allocations: 28.53 kB / 438.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.2931, allocations: 0 / 438.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.2931, allocations: 0 / 438.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.2932, allocations: 14.03 kB / 438.9 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.805e-05/0.2933, allocations: 7.328 kB / 438.9 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.2934, allocations: 31.61 kB / 438.9 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.2934, allocations: 2.094 kB / 438.9 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.638e-05/0.2934, allocations: 19.28 kB / 439 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.2935, allocations: 19.36 kB / 439 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.2935, allocations: 3.594 kB / 439 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.2936, allocations: 6.438 kB / 439 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.2936, allocations: 3.234 kB / 439 MB, free: 39.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2936, allocations: 47.83 kB / 439 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.68e-05/0.2937, allocations: 24.53 kB / 439.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2937, allocations: 0 / 439.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2937, allocations: 0 / 439.1 MB, free: 39.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.2937, allocations: 0 / 439.1 MB, free: 39.03 MB / 350.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.0003089/0.294, allocations: 356.9 kB / 439.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.294, allocations: 14.69 kB / 439.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.2941, allocations: 3.719 kB / 439.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.287e-05/0.2942, allocations: 175.3 kB / 439.6 MB, free: 38.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2942, allocations: 6.969 kB / 439.6 MB, free: 38.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.2942, allocations: 384 / 439.6 MB, free: 38.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.606e-05/0.2943, allocations: 47.27 kB / 439.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2943, allocations: 192 / 439.7 MB, free: 38.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2943, allocations: 11.59 kB / 439.7 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2943, allocations: 0 / 439.7 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.113e-05/0.2944, allocations: 15.66 kB / 439.7 MB, free: 38.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.2947, allocations: 280 kB / 440 MB, free: 38.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.2949, allocations: 51.59 kB / 440 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.611e-05/0.2949, allocations: 18.2 kB / 440 MB, free: 38.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.2949, allocations: 0 / 440 MB, free: 38.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.2949, allocations: 37.92 kB / 440.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2949, allocations: 0 / 440.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001489/0.2951, allocations: 63.61 kB / 440.1 MB, free: 37.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2951, allocations: 51.41 kB / 440.2 MB, free: 37.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.2952, allocations: 126.3 kB / 440.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.2952, allocations: 29.67 kB / 440.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.2953, allocations: 95.48 kB / 440.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.2953, allocations: 14.69 kB / 440.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.2953, allocations: 13.72 kB / 440.4 MB, free: 37.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.2954, allocations: 321.1 kB / 440.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.2954, allocations: 13.06 kB / 440.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.2954, allocations: 29.33 kB / 440.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.2957, allocations: 81.3 kB / 440.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2957, allocations: 2.719 kB / 440.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.398e-05/0.2958, allocations: 68.56 kB / 441 MB, free: 37.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.2958, allocations: 7.125 kB / 441 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2958, allocations: 6.938 kB / 441 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.2958, allocations: 0 / 441 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.2959, allocations: 21.83 kB / 441 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2959, allocations: 2.625 kB / 441 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.296, allocations: 10.62 kB / 441 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.296, allocations: 0 / 441 MB, free: 37.2 MB / 350.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.0001082/0.2961, allocations: 123.2 kB / 441.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.2961, allocations: 0 / 441.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.2961, allocations: 13.91 kB / 441.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2961, allocations: 0 / 441.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2962, allocations: 0 / 441.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2962, allocations: 3.062 kB / 441.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.2963, allocations: 177.1 kB / 441.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2963, allocations: 0 / 441.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.821e-05/0.2964, allocations: 18.7 kB / 441.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2964, allocations: 0 / 441.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.2964, allocations: 3 kB / 441.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2964, allocations: 4 kB / 441.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2964, allocations: 0 / 441.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.2965, allocations: 171.9 kB / 441.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.901e-05/0.2966, allocations: 85.02 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.2966, allocations: 2.812 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.2966, allocations: 0 / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.2967, allocations: 3.281 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.2967, allocations: 6.844 kB / 441.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.142e-05/0.2967, allocations: 91.44 kB / 441.7 MB, free: 36.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2967, allocations: 2.812 kB / 441.7 MB, free: 36.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000207/0.2969, allocations: 13.75 kB / 441.7 MB, free: 36.5 MB / 350.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.439e-05/0.297, allocations: 92.62 kB / 441.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.744e-05/0.2971, allocations: 37.48 kB / 441.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2971, allocations: 0 / 441.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.2971, allocations: 11.61 kB / 441.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.2973, allocations: 19 kB / 441.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.2975, allocations: 173.2 kB / 442 MB, free: 36.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.159e-05/0.2977, allocations: 0.685 MB / 442.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.664e-05/0.2977, allocations: 7.938 kB / 442.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.2977, allocations: 11.38 kB / 442.7 MB, free: 35.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2977, allocations: 0 / 442.7 MB, free: 35.53 MB / 350.1 MB Notification: Performance of Templates: time 0.001913/0.2996, allocations: 393.5 kB / 443.1 MB, free: 35.47 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.makefile (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)