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.006267/0.006267, allocations: 100.5 kB / 15.73 MB, free: 5.98 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.001076/0.001076, allocations: 200.3 kB / 16.68 MB, free: 5.906 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09028/0.09028, allocations: 22.32 MB / 312.8 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001966, allocations: 71.86 kB / 437 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1241, allocations: 54.94 MB / 492 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001738/0.1258, allocations: 0.571 MB / 492.5 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001551/0.126, allocations: 31.83 kB / 492.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.126, allocations: 0 / 492.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.1261, allocations: 7.938 kB / 492.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.163e-05/0.1262, allocations: 11.86 kB / 492.6 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001138/0.1263, allocations: 7.922 kB / 492.6 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.553e-05/0.1264, allocations: 31.98 kB / 492.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.522e-05/0.1265, allocations: 0 / 492.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.1265, allocations: 19.91 kB / 492.7 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.1266, allocations: 27.8 kB / 492.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1266, allocations: 0 / 492.7 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.1266, allocations: 4 kB / 492.7 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.1267, allocations: 3.984 kB / 492.7 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1267, allocations: 15.88 kB / 492.7 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.811e-05/0.1268, allocations: 27.83 kB / 492.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1268, allocations: 0 / 492.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1268, allocations: 4 kB / 492.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1268, allocations: 0 / 492.7 MB, free: 4.02 MB / 366.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.0004682/0.1273, allocations: 359.3 kB / 493.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1273, allocations: 8.031 kB / 493.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.1274, allocations: 12.84 kB / 493.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1275, allocations: 164.3 kB / 493.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.1275, allocations: 4.375 kB / 493.3 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1276, allocations: 12.28 kB / 493.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1277, allocations: 54.17 kB / 493.3 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1277, allocations: 192 / 493.3 MB, free: 3.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1277, allocations: 7.938 kB / 493.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1277, allocations: 0 / 493.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.1278, allocations: 16 kB / 493.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.1282, allocations: 268.8 kB / 493.6 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1284, allocations: 54.56 kB / 493.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.1284, allocations: 16.8 kB / 493.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.1285, allocations: 0 / 493.7 MB, free: 2.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1285, allocations: 34.56 kB / 493.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1285, allocations: 0 / 493.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001778/0.1287, allocations: 65.67 kB / 493.8 MB, free: 2.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1287, allocations: 51.41 kB / 493.8 MB, free: 2.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.1288, allocations: 125.8 kB / 494 MB, free: 2.598 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1288, allocations: 29.7 kB / 494 MB, free: 2.562 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.1289, allocations: 96.03 kB / 494.1 MB, free: 2.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.1289, allocations: 15.81 kB / 494.1 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.129, allocations: 17.72 kB / 494.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1291, allocations: 326.8 kB / 494.4 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.1291, allocations: 7.938 kB / 494.4 MB, free: 2.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.1291, allocations: 29.7 kB / 494.5 MB, free: 2.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.1294, allocations: 85.62 kB / 494.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1294, allocations: 0 / 494.6 MB, free: 1.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001213/0.1296, allocations: 73.53 kB / 494.6 MB, free: 1.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1296, allocations: 4 kB / 494.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1296, allocations: 0 / 494.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1296, allocations: 4 kB / 494.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.1297, allocations: 24.02 kB / 494.7 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1297, allocations: 4 kB / 494.7 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1298, allocations: 0 / 494.7 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1298, allocations: 4 kB / 494.7 MB, free: 1.848 MB / 366.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.0001502/0.1299, allocations: 130.4 kB / 494.8 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.13, allocations: 3.906 kB / 494.8 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.13, allocations: 15.89 kB / 494.8 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.13, allocations: 4 kB / 494.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.13, allocations: 0 / 494.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.13, allocations: 0 / 494.8 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.1302, allocations: 161.7 kB / 495 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.1302, allocations: 11.98 kB / 495 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.1303, allocations: 12 kB / 495 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1303, allocations: 0 / 495 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1303, allocations: 4 kB / 495 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1303, allocations: 0 / 495 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1304, allocations: 0 / 495 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.1305, allocations: 183.5 kB / 495.2 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.1306, allocations: 77.11 kB / 495.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.1306, allocations: 0 / 495.3 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.1307, allocations: 4.031 kB / 495.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.1307, allocations: 0 / 495.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1307, allocations: 3.984 kB / 495.3 MB, free: 1.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.008e-05/0.1308, allocations: 95.28 kB / 495.4 MB, free: 1.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1308, allocations: 0 / 495.4 MB, free: 1.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.131, allocations: 15.97 kB / 495.4 MB, free: 1.043 MB / 366.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 8.818e-05/0.1311, allocations: 95.23 kB / 495.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.1312, allocations: 39.86 kB / 495.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1312, allocations: 0 / 495.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.1312, allocations: 12 kB / 495.5 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.1315, allocations: 7.938 kB / 495.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.1318, allocations: 162.3 kB / 495.7 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1321, allocations: 0.6923 MB / 496.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.1321, allocations: 0 / 496.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.1322, allocations: 11.44 kB / 496.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1322, allocations: 0 / 496.4 MB, free: 15.97 MB / 382.1 MB Notification: Performance of Templates: time 0.002241/0.1344, allocations: 429 kB / 496.8 MB, free: 15.55 MB / 382.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)