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) 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.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001777/0.001777, allocations: 187 kB / 17.34 MB, free: 5.742 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09266/0.09266, allocations: 22.32 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 59.91 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 54.96 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003542/0.121, allocations: 1.787 MB / 494.5 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1223, allocations: 0.5806 MB / 495 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1225, allocations: 4 kB / 495 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.1228, allocations: 43.7 kB / 495.1 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002237/0.1231, allocations: 51.64 kB / 495.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.1234, allocations: 95.86 kB / 495.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/0.1238, allocations: 267.5 kB / 495.5 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.1239, allocations: 49.59 kB / 495.5 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.1241, allocations: 103.7 kB / 495.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.1243, allocations: 119.5 kB / 495.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.1244, allocations: 16 kB / 495.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.09e-05/0.1244, allocations: 12 kB / 495.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1245, allocations: 71.73 kB / 495.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.1247, allocations: 83.41 kB / 495.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1249, allocations: 183.4 kB / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.125, allocations: 0 / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.125, allocations: 4 kB / 496.1 MB, free: 1.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.125, allocations: 0 / 496.1 MB, free: 1.301 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.00137/0.1264, allocations: 0.5767 MB / 496.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1264, allocations: 12.03 kB / 496.7 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.159e-05/0.1265, allocations: 20.66 kB / 496.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006918/0.1272, allocations: 311.5 kB / 497 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1272, allocations: 8.609 kB / 497 MB, free: 296 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.1273, allocations: 16.38 kB / 497 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.1276, allocations: 153.9 kB / 497.2 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1276, allocations: 0 / 497.2 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1276, allocations: 4 kB / 497.2 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1276, allocations: 0 / 497.2 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.1279, allocations: 132.7 kB / 497.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008994/0.1288, allocations: 0.5363 MB / 497.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.1293, allocations: 198.3 kB / 498.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.1295, allocations: 99.42 kB / 498.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.1295, allocations: 3.984 kB / 498.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.1295, allocations: 34.56 kB / 498.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1295, allocations: 0 / 498.2 MB, free: 15.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005563/0.1301, allocations: 265.2 kB / 498.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1301, allocations: 51.69 kB / 498.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.1307, allocations: 266.9 kB / 498.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1307, allocations: 33.7 kB / 498.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.1308, allocations: 124 kB / 498.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.1309, allocations: 63.09 kB / 499 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.1309, allocations: 33.7 kB / 499 MB, free: 14.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1311, allocations: 326.8 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.1312, allocations: 67.95 kB / 499.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1313, allocations: 67.95 kB / 499.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.133, allocations: 463.1 kB / 499.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.133, allocations: 0 / 499.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000384/0.1334, allocations: 238.9 kB / 0.4884 GB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1334, allocations: 4 kB / 0.4884 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1335, allocations: 0 / 0.4884 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.1335, allocations: 7.984 kB / 0.4884 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.1337, allocations: 35.98 kB / 0.4885 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1337, allocations: 3.938 kB / 0.4885 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.134, allocations: 35.83 kB / 0.4885 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.134, allocations: 11.98 kB / 0.4885 GB, free: 12.94 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.0002097/0.1342, allocations: 167.6 kB / 0.4887 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.1343, allocations: 15.81 kB / 0.4887 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.1348, allocations: 241.3 kB / 0.4889 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1348, allocations: 4 kB / 0.4889 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1348, allocations: 0 / 0.4889 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1348, allocations: 0 / 0.4889 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.1351, allocations: 297.3 kB / 0.4892 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1352, allocations: 0 / 0.4892 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.1354, allocations: 35.98 kB / 0.4893 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1354, allocations: 0 / 0.4893 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.1354, allocations: 11.98 kB / 0.4893 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1355, allocations: 0 / 0.4893 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1355, allocations: 3.938 kB / 0.4893 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.136, allocations: 403 kB / 0.4897 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.1361, allocations: 96.83 kB / 0.4897 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.1362, allocations: 12.05 kB / 0.4898 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.1364, allocations: 23.97 kB / 0.4898 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.1365, allocations: 19.97 kB / 0.4898 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1365, allocations: 4 kB / 0.4898 GB, free: 11.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.1369, allocations: 203.1 kB / 0.49 GB, free: 11.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.137, allocations: 0 / 0.49 GB, free: 11.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1372, allocations: 39.94 kB / 0.49 GB, free: 11.3 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.0001177/0.1374, allocations: 103.2 kB / 0.4901 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.1377, allocations: 171.8 kB / 0.4903 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1377, allocations: 0 / 0.4903 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1379, allocations: 93.61 kB / 0.4904 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1383, allocations: 47.78 kB / 0.4904 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009924/0.1393, allocations: 0.5261 MB / 0.4909 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.1396, allocations: 0.7514 MB / 0.4917 GB, free: 9.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.1397, allocations: 19.44 kB / 0.4917 GB, free: 9.527 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1397, allocations: 0 / 0.4917 GB, free: 9.527 MB / 382.1 MB Notification: Performance of Templates: time 0.004499/0.1442, allocations: 2.561 MB / 0.4942 GB, free: 6.969 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile (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)