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.006516/0.006516, allocations: 103.4 kB / 15.73 MB, free: 6.047 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.001417/0.001417, allocations: 188.1 kB / 16.67 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1253/0.1253, allocations: 22.32 MB / 312.8 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 67.89 kB / 437 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1379, allocations: 54.95 MB / 492 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.0029/0.1409, allocations: 1.791 MB / 493.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.1419, allocations: 0.5806 MB / 494.3 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.142, allocations: 4 kB / 494.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.1423, allocations: 35.72 kB / 494.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1425, allocations: 63.62 kB / 494.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1427, allocations: 91.86 kB / 494.5 MB, free: 2.164 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.143, allocations: 263.5 kB / 494.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1432, allocations: 53.59 kB / 494.8 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.1433, allocations: 95.67 kB / 494.9 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1435, allocations: 123.5 kB / 495.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.1436, allocations: 12 kB / 495.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.1436, allocations: 16 kB / 495.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1437, allocations: 67.73 kB / 495.2 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.1438, allocations: 91.45 kB / 495.2 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.144, allocations: 179.4 kB / 495.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.144, allocations: 0 / 495.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.144, allocations: 0 / 495.4 MB, free: 1.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.144, allocations: 4 kB / 495.4 MB, free: 1.273 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.00122/0.1452, allocations: 0.5753 MB / 496 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1453, allocations: 8.031 kB / 496 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.1453, allocations: 24.66 kB / 496 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.146, allocations: 319.5 kB / 496.3 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.146, allocations: 12.61 kB / 496.4 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.146, allocations: 12.38 kB / 496.4 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.1463, allocations: 149.9 kB / 496.5 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1463, allocations: 0 / 496.5 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.1464, allocations: 4 kB / 496.5 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1464, allocations: 8 kB / 496.5 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.1467, allocations: 136.6 kB / 496.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.1475, allocations: 0.5285 MB / 497.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.148, allocations: 214.2 kB / 497.4 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1481, allocations: 84.81 kB / 497.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1481, allocations: 0 / 497.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1482, allocations: 34.56 kB / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.1482, allocations: 0 / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005114/0.1487, allocations: 268.1 kB / 497.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.1487, allocations: 63.67 kB / 497.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/0.1493, allocations: 262.9 kB / 498.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1493, allocations: 25.7 kB / 498.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.1494, allocations: 132 kB / 498.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.628e-05/0.1494, allocations: 55.11 kB / 498.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.1495, allocations: 45.7 kB / 498.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1496, allocations: 330.8 kB / 498.7 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1497, allocations: 59.97 kB / 498.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.1499, allocations: 59.95 kB / 498.8 MB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.1516, allocations: 475.1 kB / 499.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1516, allocations: 0 / 499.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003901/0.152, allocations: 238.7 kB / 499.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.152, allocations: 4 kB / 499.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.152, allocations: 0 / 499.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1521, allocations: 0 / 499.5 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.1523, allocations: 35.97 kB / 499.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1523, allocations: 7.938 kB / 499.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.1525, allocations: 35.91 kB / 499.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1526, allocations: 7.984 kB / 499.6 MB, free: 12.9 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.0001747/0.1528, allocations: 151.6 kB / 499.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.1528, allocations: 15.81 kB / 499.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.1533, allocations: 243.3 kB / 500 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1533, allocations: 4 kB / 500 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1533, allocations: 0 / 500 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1533, allocations: 7.969 kB / 500 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.1536, allocations: 297.3 kB / 0.4886 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1537, allocations: 4 kB / 0.4886 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.1539, allocations: 35.97 kB / 0.4886 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1539, allocations: 4 kB / 0.4886 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.154, allocations: 7.938 kB / 0.4886 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.154, allocations: 4 kB / 0.4886 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.154, allocations: 0 / 0.4886 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.1546, allocations: 400.7 kB / 0.489 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-05/0.1546, allocations: 108.9 kB / 0.4891 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.595e-05/0.1547, allocations: 0 / 0.4891 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.155, allocations: 31.95 kB / 0.4891 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.155, allocations: 7.984 kB / 0.4891 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.155, allocations: 4 kB / 0.4891 GB, free: 11.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004412/0.1555, allocations: 215.1 kB / 0.4893 GB, free: 11.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1555, allocations: 0 / 0.4893 GB, free: 11.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1558, allocations: 39.94 kB / 0.4894 GB, free: 11.26 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.0001072/0.1559, allocations: 99.19 kB / 0.4895 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.1563, allocations: 179.8 kB / 0.4896 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1563, allocations: 0 / 0.4896 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.1564, allocations: 89.61 kB / 0.4897 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1568, allocations: 35.92 kB / 0.4898 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009253/0.1577, allocations: 0.4909 MB / 0.4902 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.1582, allocations: 0.7553 MB / 0.491 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.1584, allocations: 37.53 kB / 0.491 GB, free: 9.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.1585, allocations: 23.42 kB / 0.491 GB, free: 9.496 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1585, allocations: 0 / 0.491 GB, free: 9.496 MB / 382.1 MB Notification: Performance of Templates: time 0.005266/0.1637, allocations: 1.97 MB / 0.493 GB, free: 7.535 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)