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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.0777/0.0777, allocations: 17.69 MB / 33.63 MB, free: 1.621 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 181.2 kB / 38.92 MB, free: 8.246 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.4 MB / 249.5 MB, free: 2.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008173/0.0008176, allocations: 104.8 kB / 302.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006423, allocations: 16 kB / 366.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2762, allocations: 51.99 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.383, allocations: 78.61 MB / 497.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/0.3832, allocations: 79.95 kB / 497.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01107/0.3943, allocations: 3.521 MB / 0.4894 GB, free: 6.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3943, allocations: 0 / 0.4894 GB, free: 6.055 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.3943, allocations: 4 kB / 0.4894 GB, free: 6.051 MB / 362.7 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.0009953/0.3953, allocations: 0.5377 MB / 0.4899 GB, free: 5.457 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.3954, allocations: 8.031 kB / 0.4899 GB, free: 5.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.3955, allocations: 28.64 kB / 0.49 GB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.3961, allocations: 319.6 kB / 0.4903 GB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.3962, allocations: 8.609 kB / 0.4903 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.3962, allocations: 16.28 kB / 0.4903 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3965, allocations: 144 kB / 0.4904 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3965, allocations: 4.188 kB / 0.4904 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3965, allocations: 7.938 kB / 0.4904 GB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3966, allocations: 11.92 kB / 0.4904 GB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.3968, allocations: 129.5 kB / 0.4906 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007883/0.3976, allocations: 0.5127 MB / 0.4911 GB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.3981, allocations: 205.2 kB / 0.4913 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.3982, allocations: 88.81 kB / 0.4914 GB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.3983, allocations: 3.984 kB / 0.4914 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3983, allocations: 34.56 kB / 0.4914 GB, free: 3.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3983, allocations: 4 kB / 0.4914 GB, free: 3.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005526/0.3989, allocations: 253.5 kB / 0.4916 GB, free: 3.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3989, allocations: 63.34 kB / 0.4917 GB, free: 3.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.3994, allocations: 259.1 kB / 0.4919 GB, free: 3.254 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.3995, allocations: 29.7 kB / 0.492 GB, free: 3.219 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.3995, allocations: 135.9 kB / 0.4921 GB, free: 3.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.3996, allocations: 51.2 kB / 0.4921 GB, free: 3.031 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.3996, allocations: 12 kB / 0.4922 GB, free: 3.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3998, allocations: 330.8 kB / 0.4925 GB, free: 2.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.3999, allocations: 55.97 kB / 0.4925 GB, free: 2.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.4, allocations: 63.95 kB / 0.4926 GB, free: 2.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.4016, allocations: 473.3 kB / 0.493 GB, free: 2.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4016, allocations: 0 / 0.493 GB, free: 2.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000378/0.402, allocations: 233.2 kB / 0.4933 GB, free: 1.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4021, allocations: 4 kB / 0.4933 GB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4021, allocations: 0 / 0.4933 GB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4021, allocations: 4 kB / 0.4933 GB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.4023, allocations: 35.98 kB / 0.4933 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4023, allocations: 0 / 0.4933 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.4025, allocations: 39.8 kB / 0.4933 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.4026, allocations: 11.94 kB / 0.4934 GB, free: 1.777 MB / 362.7 MB Warning: Assuming fixed start value for the following 5 variables: Act2.y:VARIABLE(start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001927/0.4028, allocations: 144.4 kB / 0.4935 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.4028, allocations: 27.66 kB / 0.4935 GB, free: 1.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/0.4033, allocations: 235.4 kB / 0.4937 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4033, allocations: 0 / 0.4937 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4033, allocations: 0 / 0.4937 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4033, allocations: 0 / 0.4937 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.4036, allocations: 301.3 kB / 0.494 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4037, allocations: 0 / 0.494 GB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.4039, allocations: 35.92 kB / 0.4941 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.4039, allocations: 0 / 0.4941 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4039, allocations: 15.92 kB / 0.4941 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4039, allocations: 0 / 0.4941 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4039, allocations: 0 / 0.4941 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.4045, allocations: 405.9 kB / 0.4945 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.4046, allocations: 100.9 kB / 0.4946 GB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.4046, allocations: 4.062 kB / 0.4946 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.4048, allocations: 25.31 kB / 0.4946 GB, free: 428 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.4049, allocations: 23.95 kB / 0.4946 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.4049, allocations: 4 kB / 0.4946 GB, free: 400 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003781/0.4053, allocations: 210.9 kB / 0.4948 GB, free: 188 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4053, allocations: 4 kB / 0.4948 GB, free: 184 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.4056, allocations: 43.84 kB / 0.4949 GB, free: 140 kB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001265/0.4057, allocations: 103.2 kB / 0.495 GB, free: 24 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.1809/0.5867, allocations: 168.2 kB / 0.4951 GB, free: 83.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5867, allocations: 0 / 0.4951 GB, free: 83.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.5869, allocations: 93.3 kB / 0.4952 GB, free: 83.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.5874, allocations: 36.33 kB / 0.4952 GB, free: 83.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009868/0.5884, allocations: 0.5437 MB / 0.4958 GB, free: 83.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.5886, allocations: 0.7487 MB / 0.4965 GB, free: 82.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001571/0.5887, allocations: 43.2 kB / 0.4966 GB, free: 82.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.5888, allocations: 21.27 kB / 0.4966 GB, free: 82.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5888, allocations: 0 / 0.4966 GB, free: 82.31 MB / 362.7 MB Notification: Performance of Templates: time 0.004638/0.5935, allocations: 1.715 MB / 0.4982 GB, free: 82.26 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)