Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.001319/0.001319, 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.001301/0.001301, 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.461/1.461, 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.09862/0.09862, allocations: 22.7 MB / 327.2 MB, free: 7.227 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.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.17 kB / 460.6 MB, free: 40.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1256, allocations: 58.03 MB / 0.5065 GB, free: 6.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002879/0.1285, allocations: 1.814 MB / 0.5083 GB, free: 4.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.1294, allocations: 0.5962 MB / 0.5088 GB, free: 4.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.1295, allocations: 4 kB / 0.5089 GB, free: 4.238 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1299, allocations: 39.7 kB / 0.5089 GB, free: 4.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1301, allocations: 59.69 kB / 0.5089 GB, free: 4.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.1303, allocations: 83.88 kB / 0.509 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.1306, allocations: 279.4 kB / 0.5093 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1308, allocations: 33.61 kB / 0.5093 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1309, allocations: 99.66 kB / 0.5094 GB, free: 3.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1311, allocations: 135.5 kB / 0.5095 GB, free: 3.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.1312, allocations: 16 kB / 0.5096 GB, free: 3.504 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.888e-05/0.1312, allocations: 16 kB / 0.5096 GB, free: 3.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.773e-05/0.1313, allocations: 63.81 kB / 0.5096 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.1314, allocations: 87.39 kB / 0.5097 GB, free: 3.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1316, allocations: 179.2 kB / 0.5099 GB, free: 3.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1316, allocations: 0 / 0.5099 GB, free: 3.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1316, allocations: 7.938 kB / 0.5099 GB, free: 3.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.1316, allocations: 0 / 0.5099 GB, free: 3.156 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001156/0.1328, allocations: 0.5805 MB / 0.5105 GB, free: 2.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1328, allocations: 8.75 kB / 0.5105 GB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.1329, allocations: 24.8 kB / 0.5105 GB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.1334, allocations: 311.7 kB / 0.5108 GB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1334, allocations: 8.609 kB / 0.5108 GB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.1335, allocations: 12.38 kB / 0.5108 GB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.1337, allocations: 159.7 kB / 0.511 GB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1337, allocations: 0 / 0.511 GB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.1337, allocations: 4 kB / 0.511 GB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1337, allocations: 4 kB / 0.511 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.134, allocations: 124.6 kB / 0.5111 GB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007291/0.1347, allocations: 0.5403 MB / 0.5116 GB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.1351, allocations: 198.3 kB / 0.5118 GB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1352, allocations: 84.81 kB / 0.5119 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.1352, allocations: 3.984 kB / 0.5119 GB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.1353, allocations: 34.56 kB / 0.5119 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.1353, allocations: 0 / 0.5119 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004583/0.1357, allocations: 263.8 kB / 0.5122 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1358, allocations: 59.34 kB / 0.5122 GB, free: 0.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.1362, allocations: 263.1 kB / 0.5125 GB, free: 320 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1362, allocations: 33.7 kB / 0.5125 GB, free: 280 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.1362, allocations: 124.3 kB / 0.5126 GB, free: 152 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.557e-05/0.1363, allocations: 67.42 kB / 0.5127 GB, free: 84 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.1363, allocations: 37.7 kB / 0.5127 GB, free: 40 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1365, allocations: 326.8 kB / 0.5131 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1366, allocations: 63.95 kB / 0.5131 GB, free: 15.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1368, allocations: 67.95 kB / 0.5132 GB, free: 15.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.1386, allocations: 470.6 kB / 0.5136 GB, free: 15.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1386, allocations: 0 / 0.5136 GB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004129/0.139, allocations: 236 kB / 0.5139 GB, free: 14.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.139, allocations: 8 kB / 0.5139 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.139, allocations: 0 / 0.5139 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.139, allocations: 7.969 kB / 0.5139 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/0.1392, allocations: 35.98 kB / 0.5139 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1393, allocations: 0 / 0.5139 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.1395, allocations: 39.84 kB / 0.5139 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1395, allocations: 4 kB / 0.5139 GB, free: 14.79 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 21 * 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.0002892/0.1398, allocations: 159.6 kB / 0.5141 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.1398, allocations: 15.91 kB / 0.5141 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.1404, allocations: 241.2 kB / 0.5143 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1404, allocations: 7.938 kB / 0.5143 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1404, allocations: 0 / 0.5143 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1404, allocations: 0 / 0.5143 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.1407, allocations: 293.4 kB / 0.5146 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1407, allocations: 3.984 kB / 0.5146 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.141, allocations: 35.92 kB / 0.5147 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.141, allocations: 0 / 0.5147 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.141, allocations: 15.98 kB / 0.5147 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.141, allocations: 0 / 0.5147 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.141, allocations: 0 / 0.5147 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.1416, allocations: 399.2 kB / 0.5151 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.1418, allocations: 96.97 kB / 0.5152 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.1418, allocations: 12.05 kB / 0.5152 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.1421, allocations: 23.97 kB / 0.5152 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.1421, allocations: 19.97 kB / 0.5152 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1421, allocations: 4 kB / 0.5152 GB, free: 13.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004347/0.1426, allocations: 212.2 kB / 0.5154 GB, free: 13.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1426, allocations: 0 / 0.5154 GB, free: 13.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1428, allocations: 39.89 kB / 0.5155 GB, free: 13.15 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (18): * Single equations (assignments): 18 * 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 0.0001417/0.143, allocations: 103.2 kB / 0.5156 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.1434, allocations: 173.9 kB / 0.5157 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1434, allocations: 0 / 0.5157 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.1436, allocations: 83.89 kB / 0.5158 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1439, allocations: 45.23 kB / 0.5158 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.145, allocations: 0.4918 MB / 0.5163 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.1454, allocations: 0.7514 MB / 0.5171 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.1455, allocations: 41.52 kB / 0.5171 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.1456, allocations: 27.38 kB / 0.5171 GB, free: 11.39 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1456, allocations: 0 / 0.5171 GB, free: 11.39 MB / 382.1 MB Notification: Performance of Templates: time 0.005787/0.1514, allocations: 2.004 MB / 0.5191 GB, free: 9.391 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.85006754938513]