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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] 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.09849/0.09849, allocations: 22.69 MB / 327.2 MB, free: 7.23 MB / 254.1 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.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=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 0.001921/0.001921, allocations: 64.58 kB / 460.6 MB, free: 40.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1501, allocations: 58.03 MB / 0.5065 GB, free: 6.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Modelling_principles.M2_PhasorDomain): time 0.001814/0.1519, allocations: 0.5757 MB / 0.5071 GB, free: 6.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001723/0.1521, allocations: 31.83 kB / 0.5071 GB, free: 6.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.567e-05/0.1521, allocations: 3.938 kB / 0.5071 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.105e-05/0.1522, allocations: 7.938 kB / 0.5071 GB, free: 6.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.1522, allocations: 7.922 kB / 0.5071 GB, free: 6.062 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.1524, allocations: 7.969 kB / 0.5071 GB, free: 6.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.1524, allocations: 35.86 kB / 0.5071 GB, free: 6.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.603e-05/0.1525, allocations: 4 kB / 0.5072 GB, free: 6.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.1525, allocations: 15.92 kB / 0.5072 GB, free: 6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.313e-05/0.1526, allocations: 15.92 kB / 0.5072 GB, free: 5.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1526, allocations: 8 kB / 0.5072 GB, free: 5.977 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.1526, allocations: 0 / 0.5072 GB, free: 5.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.1527, allocations: 11.92 kB / 0.5072 GB, free: 5.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.1527, allocations: 15.88 kB / 0.5072 GB, free: 5.949 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.859e-05/0.1528, allocations: 27.83 kB / 0.5072 GB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1528, allocations: 0 / 0.5072 GB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1528, allocations: 0 / 0.5072 GB, free: 5.922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1528, allocations: 0 / 0.5072 GB, free: 5.922 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.0004773/0.1533, allocations: 359.3 kB / 0.5076 GB, free: 5.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1533, allocations: 16.69 kB / 0.5076 GB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.1533, allocations: 8.875 kB / 0.5076 GB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1535, allocations: 168.3 kB / 0.5078 GB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1535, allocations: 4.375 kB / 0.5078 GB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1535, allocations: 4.375 kB / 0.5078 GB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.1536, allocations: 46.25 kB / 0.5078 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1536, allocations: 192 / 0.5078 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1536, allocations: 3.938 kB / 0.5078 GB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1536, allocations: 0 / 0.5078 GB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.1537, allocations: 27.92 kB / 0.5079 GB, free: 5.203 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1541, allocations: 280.7 kB / 0.5081 GB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1543, allocations: 46.56 kB / 0.5082 GB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.1543, allocations: 16.86 kB / 0.5082 GB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.1543, allocations: 0 / 0.5082 GB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.1543, allocations: 38.64 kB / 0.5082 GB, free: 4.758 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1543, allocations: 0 / 0.5082 GB, free: 4.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001878/0.1545, allocations: 65.58 kB / 0.5083 GB, free: 4.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.1545, allocations: 51.41 kB / 0.5083 GB, free: 4.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.1546, allocations: 117.8 kB / 0.5084 GB, free: 4.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.1546, allocations: 25.7 kB / 0.5085 GB, free: 4.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.1547, allocations: 96.08 kB / 0.5086 GB, free: 4.371 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.1547, allocations: 19.84 kB / 0.5086 GB, free: 4.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.1547, allocations: 25.7 kB / 0.5086 GB, free: 4.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.1548, allocations: 314.8 kB / 0.5089 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.1548, allocations: 8 kB / 0.5089 GB, free: 3.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.068e-05/0.1548, allocations: 25.7 kB / 0.5089 GB, free: 3.965 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.1551, allocations: 77.5 kB / 0.509 GB, free: 3.883 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1551, allocations: 4 kB / 0.509 GB, free: 3.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.339e-05/0.1552, allocations: 85.7 kB / 0.5091 GB, free: 3.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1552, allocations: 8 kB / 0.5091 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1552, allocations: 0 / 0.5091 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1552, allocations: 0 / 0.5091 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.1553, allocations: 19.98 kB / 0.5091 GB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1553, allocations: 3.938 kB / 0.5091 GB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.1554, allocations: 8 kB / 0.5091 GB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1554, allocations: 0 / 0.5091 GB, free: 3.75 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.0001335/0.1555, allocations: 126.5 kB / 0.5093 GB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.353e-05/0.1555, allocations: 7.984 kB / 0.5093 GB, free: 3.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.1555, allocations: 7.969 kB / 0.5093 GB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1555, allocations: 4.188 kB / 0.5093 GB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1555, allocations: 0 / 0.5093 GB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1556, allocations: 7.984 kB / 0.5093 GB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1557, allocations: 169.6 kB / 0.5094 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1557, allocations: 0 / 0.5094 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.373e-05/0.1558, allocations: 19.94 kB / 0.5095 GB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1558, allocations: 0 / 0.5095 GB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1558, allocations: 0 / 0.5095 GB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1558, allocations: 4 kB / 0.5095 GB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1558, allocations: 0 / 0.5095 GB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.1559, allocations: 167.4 kB / 0.5096 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.156, allocations: 89.09 kB / 0.5097 GB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.156, allocations: 0 / 0.5097 GB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.156, allocations: 4.062 kB / 0.5097 GB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.1561, allocations: 3.984 kB / 0.5097 GB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1561, allocations: 4 kB / 0.5097 GB, free: 3.051 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.359e-05/0.1561, allocations: 91.27 kB / 0.5098 GB, free: 2.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1561, allocations: 0 / 0.5098 GB, free: 2.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1563, allocations: 12 kB / 0.5098 GB, free: 2.949 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.456e-05/0.1564, allocations: 95.19 kB / 0.5099 GB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.1565, allocations: 31.98 kB / 0.5099 GB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1565, allocations: 0 / 0.5099 GB, free: 2.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.1565, allocations: 15.94 kB / 0.51 GB, free: 2.801 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1568, allocations: 18.67 kB / 0.51 GB, free: 2.785 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.1571, allocations: 161.8 kB / 0.5101 GB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.1572, allocations: 0.6846 MB / 0.5108 GB, free: 1.891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.015e-05/0.1572, allocations: 8.062 kB / 0.5108 GB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.1573, allocations: 11.38 kB / 0.5108 GB, free: 1.871 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1573, allocations: 0 / 0.5108 GB, free: 1.871 MB / 366.1 MB Notification: Performance of Templates: time 0.002856/0.1601, allocations: 440.9 kB / 0.5112 GB, free: 1.441 MB / 366.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Modelling_principles.M2_PhasorDomain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.844736721366644]