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.0008825/0.0008825, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005686/0.005686, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.248/1.248, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1832/0.1832, allocations: 22.35 MB / 313.8 MB, free: 13.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 12 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2214, allocations: 55.99 MB / 438.6 MB, free: 39.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.0004793/0.2219, allocations: 301.7 kB / 438.9 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.2221, allocations: 31.33 kB / 438.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.2221, allocations: 0 / 438.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.2221, allocations: 3.938 kB / 438.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.2222, allocations: 0 / 438.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.356e-05/0.2223, allocations: 11.73 kB / 438.9 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.44e-05/0.2223, allocations: 33.45 kB / 438.9 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.2224, allocations: 3 kB / 439 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.2224, allocations: 15.81 kB / 439 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.2225, allocations: 20.2 kB / 439 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2225, allocations: 0 / 439 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.2225, allocations: 2.656 kB / 439 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.2225, allocations: 15.25 kB / 439 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.2225, allocations: 43.11 kB / 439 MB, free: 39.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.043e-05/0.2226, allocations: 25.2 kB / 439.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2226, allocations: 0 / 439.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2226, allocations: 0 / 439.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.2226, allocations: 2.969 kB / 439.1 MB, free: 39.09 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.0002851/0.2229, allocations: 355.7 kB / 439.4 MB, free: 38.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.2229, allocations: 13.34 kB / 439.4 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.223, allocations: 3.5 kB / 439.4 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.895e-05/0.223, allocations: 166.8 kB / 439.6 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.223, allocations: 4.375 kB / 439.6 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.2231, allocations: 3 kB / 439.6 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.193e-05/0.2232, allocations: 59.31 kB / 439.7 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2232, allocations: 192 / 439.7 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.2232, allocations: 11 kB / 439.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2232, allocations: 0 / 439.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.2233, allocations: 16.77 kB / 439.7 MB, free: 38.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.2235, allocations: 284 kB / 440 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2237, allocations: 46.59 kB / 440 MB, free: 38.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.2237, allocations: 25.11 kB / 440 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.2238, allocations: 0 / 440 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.056e-05/0.2238, allocations: 33.75 kB / 440.1 MB, free: 38.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2238, allocations: 0 / 440.1 MB, free: 38.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001358/0.2239, allocations: 54.86 kB / 440.1 MB, free: 38.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.518e-05/0.2239, allocations: 59.34 kB / 440.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.224, allocations: 122.7 kB / 440.3 MB, free: 37.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.224, allocations: 25.7 kB / 440.3 MB, free: 37.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.224, allocations: 94.59 kB / 440.4 MB, free: 37.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/0.2241, allocations: 15.75 kB / 440.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.2241, allocations: 16.12 kB / 440.5 MB, free: 37.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.2241, allocations: 317.6 kB / 440.8 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.2242, allocations: 17.36 kB / 440.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.541e-05/0.2242, allocations: 23.72 kB / 440.8 MB, free: 37.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.2244, allocations: 83.03 kB / 440.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2244, allocations: 0 / 440.9 MB, free: 37.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.625e-05/0.2245, allocations: 77.56 kB / 441 MB, free: 37.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.2245, allocations: 5.5 kB / 441 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2246, allocations: 4.031 kB / 441 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.2246, allocations: 0 / 441 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.2247, allocations: 24.16 kB / 441 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2247, allocations: 0 / 441 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.2247, allocations: 6.719 kB / 441 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2247, allocations: 2.906 kB / 441 MB, free: 37.27 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 9.277e-05/0.2248, allocations: 124.4 kB / 441.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.2249, allocations: 6.656 kB / 441.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.2249, allocations: 14.03 kB / 441.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2249, allocations: 4 kB / 441.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2249, allocations: 4.188 kB / 441.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2249, allocations: 0 / 441.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.225, allocations: 177.2 kB / 441.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.225, allocations: 0 / 441.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.2251, allocations: 17.39 kB / 441.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2251, allocations: 0 / 441.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2252, allocations: 3.406 kB / 441.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2252, allocations: 4 kB / 441.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2252, allocations: 0 / 441.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2253, allocations: 165.5 kB / 441.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.2253, allocations: 83.89 kB / 441.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2253, allocations: 0 / 441.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.2254, allocations: 2.875 kB / 441.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.2254, allocations: 3.422 kB / 441.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.2254, allocations: 0 / 441.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.107e-05/0.2255, allocations: 102.2 kB / 441.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2255, allocations: 0 / 441.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.2257, allocations: 9.094 kB / 441.7 MB, free: 36.57 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 4.728e-05/0.2257, allocations: 90.88 kB / 441.8 MB, free: 36.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.2258, allocations: 35.89 kB / 441.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2258, allocations: 0 / 441.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.2259, allocations: 13.06 kB / 441.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.2261, allocations: 14.52 kB / 441.9 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002079/0.2263, allocations: 183.3 kB / 442 MB, free: 36.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.605e-05/0.2264, allocations: 0.6841 MB / 442.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.2264, allocations: 6.812 kB / 442.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.2264, allocations: 10.19 kB / 442.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2264, allocations: 0 / 442.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of Templates: time 0.001778/0.2282, allocations: 388.8 kB / 443.1 MB, free: 35.54 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)