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.006699/0.006699, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001463/0.001463, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2684/0.2684, allocations: 22.37 MB / 312.9 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 62.88 kB / 437.1 MB, free: 33.87 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1363, allocations: 54.96 MB / 492 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002634/0.139, allocations: 1.801 MB / 493.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.14, allocations: 0.5845 MB / 494.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.1401, allocations: 0 / 494.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003279/0.1405, allocations: 43.64 kB / 494.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.1407, allocations: 63.69 kB / 494.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1409, allocations: 91.8 kB / 494.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.1412, allocations: 259.5 kB / 494.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1414, allocations: 45.67 kB / 494.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1415, allocations: 107.6 kB / 495 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.1418, allocations: 115.6 kB / 495.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.1418, allocations: 23.94 kB / 495.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.2e-05/0.1419, allocations: 12 kB / 495.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.142, allocations: 63.8 kB / 495.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.1421, allocations: 87.45 kB / 495.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1423, allocations: 183.3 kB / 495.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1423, allocations: 0 / 495.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1423, allocations: 0 / 495.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.1423, allocations: 0 / 495.5 MB, free: 13.75 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.001267/0.1436, allocations: 0.5767 MB / 496.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1437, allocations: 12.03 kB / 496.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.1437, allocations: 20.75 kB / 496.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006022/0.1443, allocations: 311.4 kB / 496.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1444, allocations: 8.609 kB / 496.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.1444, allocations: 16.38 kB / 496.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.1447, allocations: 147.8 kB / 496.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1447, allocations: 4 kB / 496.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.1448, allocations: 8 kB / 496.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1448, allocations: 0 / 496.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.145, allocations: 132.6 kB / 496.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/0.146, allocations: 0.5402 MB / 497.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.1464, allocations: 196.9 kB / 497.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.1466, allocations: 88.81 kB / 497.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.1466, allocations: 3.984 kB / 497.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1467, allocations: 38.55 kB / 497.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 2.705e-06/0.1467, allocations: 4 kB / 497.6 MB, free: 11.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.00055/0.1472, allocations: 261.5 kB / 497.8 MB, free: 11.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.1473, allocations: 55.41 kB / 497.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.1478, allocations: 258.9 kB / 498.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.1478, allocations: 33.7 kB / 498.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1479, allocations: 135.9 kB / 498.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/0.148, allocations: 59.11 kB / 498.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.148, allocations: 37.7 kB / 498.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1482, allocations: 330.8 kB / 498.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1483, allocations: 59.95 kB / 498.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1484, allocations: 63.97 kB / 498.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.1501, allocations: 470.6 kB / 499.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1501, allocations: 0 / 499.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003649/0.1505, allocations: 230.6 kB / 499.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1505, allocations: 7.938 kB / 499.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1505, allocations: 0 / 499.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1505, allocations: 4 kB / 499.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.1507, allocations: 35.97 kB / 499.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1507, allocations: 4 kB / 499.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.151, allocations: 39.8 kB / 499.6 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.151, allocations: 4 kB / 499.6 MB, free: 9.395 MB / 366.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.0001992/0.1512, allocations: 163.6 kB / 499.8 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.1513, allocations: 23.72 kB / 499.8 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.1517, allocations: 235.3 kB / 0.4883 GB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1517, allocations: 4 kB / 0.4883 GB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1518, allocations: 4 kB / 0.4883 GB, free: 8.961 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.1518, allocations: 3.984 kB / 0.4883 GB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003282/0.1521, allocations: 293.4 kB / 0.4886 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1521, allocations: 0 / 0.4886 GB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.1524, allocations: 35.97 kB / 0.4886 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1524, allocations: 0 / 0.4886 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.1524, allocations: 8 kB / 0.4886 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1524, allocations: 0 / 0.4886 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1524, allocations: 0 / 0.4886 GB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.153, allocations: 413.1 kB / 0.489 GB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.257e-05/0.1531, allocations: 100.8 kB / 0.4891 GB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.1531, allocations: 8.062 kB / 0.4891 GB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.1534, allocations: 27.95 kB / 0.4892 GB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.1535, allocations: 11.98 kB / 0.4892 GB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.1535, allocations: 4 kB / 0.4892 GB, free: 7.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004118/0.1539, allocations: 208.5 kB / 0.4894 GB, free: 7.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1539, allocations: 0 / 0.4894 GB, free: 7.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1542, allocations: 39.91 kB / 0.4894 GB, free: 7.75 MB / 366.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.0001639/0.1544, allocations: 95.25 kB / 0.4895 GB, free: 7.648 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.1548, allocations: 179.8 kB / 0.4897 GB, free: 7.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1548, allocations: 4 kB / 0.4897 GB, free: 7.469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.1549, allocations: 87.89 kB / 0.4898 GB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1553, allocations: 44.19 kB / 0.4898 GB, free: 7.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1564, allocations: 0.4895 MB / 0.4903 GB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1567, allocations: 0.7514 MB / 0.491 GB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.1569, allocations: 53.58 kB / 0.4911 GB, free: 6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.157, allocations: 19.44 kB / 0.4911 GB, free: 5.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.157, allocations: 0 / 0.4911 GB, free: 5.98 MB / 366.1 MB Notification: Performance of Templates: time 0.005136/0.1621, allocations: 1.922 MB / 0.493 GB, free: 4.066 MB / 366.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)