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.001/0.001, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001075/0.001076, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08893/0.08893, allocations: 22.33 MB / 313.5 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 54.96 MB / 492.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.003028/0.1216, allocations: 1.795 MB / 494.5 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1227, allocations: 0.5767 MB / 495 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.1229, allocations: 4 kB / 495 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.1232, allocations: 43.7 kB / 495.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1234, allocations: 59.69 kB / 495.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1237, allocations: 95.84 kB / 495.2 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.124, allocations: 259.4 kB / 495.5 MB, free: 1.902 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.1242, allocations: 49.61 kB / 495.5 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1243, allocations: 103.6 kB / 495.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1245, allocations: 119.6 kB / 495.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.1246, allocations: 16 kB / 495.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.298e-05/0.1246, allocations: 16 kB / 495.8 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1247, allocations: 71.78 kB / 495.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1248, allocations: 79.47 kB / 495.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.1251, allocations: 183.3 kB / 496.1 MB, free: 1.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1251, allocations: 0 / 496.1 MB, free: 1.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1251, allocations: 0 / 496.1 MB, free: 1.273 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1251, allocations: 0 / 496.1 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.001275/0.1264, allocations: 0.5728 MB / 496.7 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1264, allocations: 11.97 kB / 496.7 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.1265, allocations: 28.66 kB / 496.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006432/0.1271, allocations: 307.6 kB / 497 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1272, allocations: 8.609 kB / 497 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.1272, allocations: 12.38 kB / 497 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.1275, allocations: 157.8 kB / 497.2 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1275, allocations: 4 kB / 497.2 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.1276, allocations: 4 kB / 497.2 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.1276, allocations: 4 kB / 497.2 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.1278, allocations: 128.6 kB / 497.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008568/0.1287, allocations: 0.5363 MB / 497.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/0.1292, allocations: 206.3 kB / 498.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1293, allocations: 84.81 kB / 498.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1294, allocations: 11.92 kB / 498.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1294, allocations: 30.56 kB / 498.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.1294, allocations: 4 kB / 498.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005638/0.13, allocations: 261.2 kB / 498.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.13, allocations: 55.69 kB / 498.5 MB, free: 14.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.1305, allocations: 262.9 kB / 498.8 MB, free: 14.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1306, allocations: 29.7 kB / 498.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.1306, allocations: 128 kB / 498.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.1307, allocations: 63.05 kB / 499 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.1308, allocations: 33.7 kB / 499 MB, free: 14.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1309, allocations: 334.8 kB / 499.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.131, allocations: 63.95 kB / 499.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.1312, allocations: 59.97 kB / 499.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.1329, allocations: 474.4 kB / 499.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1329, allocations: 0 / 499.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003674/0.1333, allocations: 230.8 kB / 0.4884 GB, free: 13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1333, allocations: 8 kB / 0.4884 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1333, allocations: 0 / 0.4884 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1333, allocations: 11.92 kB / 0.4884 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1336, allocations: 35.97 kB / 0.4885 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.1336, allocations: 8 kB / 0.4885 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.1338, allocations: 35.89 kB / 0.4885 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.1339, allocations: 4 kB / 0.4885 GB, 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.0002468/0.1341, allocations: 159.6 kB / 0.4887 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.1342, allocations: 15.81 kB / 0.4887 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.1347, allocations: 233.4 kB / 0.4889 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1347, allocations: 7.984 kB / 0.4889 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1347, allocations: 4 kB / 0.4889 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1347, allocations: 0 / 0.4889 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003513/0.1351, allocations: 293.3 kB / 0.4892 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1351, allocations: 0 / 0.4892 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.1353, allocations: 39.91 kB / 0.4892 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1354, allocations: 4 kB / 0.4892 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.1354, allocations: 0 / 0.4892 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1354, allocations: 7.938 kB / 0.4893 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1354, allocations: 0 / 0.4893 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005585/0.136, allocations: 411 kB / 0.4896 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.139e-05/0.136, allocations: 96.83 kB / 0.4897 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.1361, allocations: 4.062 kB / 0.4897 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/0.1363, allocations: 27.95 kB / 0.4898 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.1364, allocations: 15.92 kB / 0.4898 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1364, allocations: 4 kB / 0.4898 GB, free: 11.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.1369, allocations: 211.1 kB / 0.49 GB, free: 11.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1369, allocations: 0 / 0.49 GB, free: 11.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003014/0.1372, allocations: 35.94 kB / 0.49 GB, free: 11.27 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.0001271/0.1373, allocations: 103.2 kB / 0.4901 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003749/0.1377, allocations: 177.4 kB / 0.4903 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1377, allocations: 4 kB / 0.4903 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1379, allocations: 89.61 kB / 0.4904 GB, free: 10.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.1383, allocations: 43.84 kB / 0.4904 GB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.1393, allocations: 0.5225 MB / 0.4909 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.1397, allocations: 0.7514 MB / 0.4917 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.372e-05/0.1398, allocations: 23.42 kB / 0.4917 GB, free: 9.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1398, allocations: 0 / 0.4917 GB, free: 9.5 MB / 382.1 MB Notification: Performance of Templates: time 0.006003/0.1458, allocations: 2.572 MB / 0.4942 GB, free: 6.926 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)