Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1163/0.1163, allocations: 17.69 MB / 33.63 MB, free: 1.57 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.001427/0.001427, allocations: 179 kB / 38.91 MB, free: 8.242 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.685/1.685, allocations: 205.4 MB / 249.5 MB, free: 2.445 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.001053/0.001053, allocations: 101.7 kB / 302.2 MB, free: 4.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004308, allocations: 12 kB / 366.9 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 51.98 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.4256, allocations: 78.33 MB / 497.3 MB, free: 9.949 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.426, allocations: 71.95 kB / 497.3 MB, free: 9.879 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02011/0.4461, allocations: 6.108 MB / 0.4916 GB, free: 3.766 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4461, allocations: 0 / 0.4916 GB, free: 3.766 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.662e-05/0.4462, allocations: 16.09 kB / 0.4917 GB, free: 3.75 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001603/0.4478, allocations: 0.6892 MB / 0.4923 GB, free: 3.008 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4478, allocations: 8.031 kB / 0.4923 GB, free: 3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4479, allocations: 32.56 kB / 0.4924 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.4491, allocations: 471.7 kB / 0.4928 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4491, allocations: 8.375 kB / 0.4928 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.4492, allocations: 20.38 kB / 0.4928 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.4496, allocations: 174 kB / 0.493 GB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.4496, allocations: 4.125 kB / 0.493 GB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.4496, allocations: 11.94 kB / 0.493 GB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.4496, allocations: 7.984 kB / 0.493 GB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.45, allocations: 179.9 kB / 0.4932 GB, free: 2.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.4514, allocations: 0.6407 MB / 0.4938 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007837/0.4522, allocations: 302.8 kB / 0.4941 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4524, allocations: 104.7 kB / 0.4942 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.4524, allocations: 7.938 kB / 0.4942 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4525, allocations: 30.56 kB / 0.4943 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.044e-06/0.4525, allocations: 0 / 0.4943 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.00134/0.4538, allocations: 0.4998 MB / 0.4947 GB, free: 396 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.4539, allocations: 55.34 kB / 0.4948 GB, free: 328 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2772/0.7311, allocations: 460.8 kB / 0.4952 GB, free: 82.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.7313, allocations: 31.88 kB / 0.4953 GB, free: 82.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.7315, allocations: 162.2 kB / 0.4954 GB, free: 82.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.7316, allocations: 76.64 kB / 0.4955 GB, free: 82.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.7316, allocations: 3.219 kB / 0.4955 GB, free: 82.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7317, allocations: 341.8 kB / 0.4958 GB, free: 81.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.732, allocations: 84.38 kB / 0.4959 GB, free: 81.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.7322, allocations: 108.8 kB / 0.496 GB, free: 81.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.7342, allocations: 0.523 MB / 0.4965 GB, free: 81.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.7342, allocations: 0 / 0.4965 GB, free: 81.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001065/0.7353, allocations: 343.9 kB / 0.4968 GB, free: 81.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.7353, allocations: 8.844 kB / 0.4969 GB, free: 81.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7354, allocations: 0 / 0.4969 GB, free: 81.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/0.7357, allocations: 51.02 kB / 0.4969 GB, free: 81.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.7359, allocations: 35.64 kB / 0.4969 GB, free: 81.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.7373, allocations: 1.508 MB / 0.4984 GB, free: 80.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.7377, allocations: 73.12 kB / 0.4985 GB, free: 80.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.7378, allocations: 7.062 kB / 0.4985 GB, free: 80.56 MB / 362.7 MB Warning: Assuming fixed start value for the following 5 variables: P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C.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: 2 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002893/0.7381, allocations: 163.9 kB / 0.4986 GB, free: 80.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.7382, allocations: 30.25 kB / 0.4987 GB, free: 80.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/0.7382, allocations: 40.61 kB / 0.4987 GB, free: 80.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7383, allocations: 6.375 kB / 0.4987 GB, free: 80.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7383, allocations: 1.438 kB / 0.4987 GB, free: 80.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.7383, allocations: 1.359 kB / 0.4987 GB, free: 80.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.7389, allocations: 353.4 kB / 0.4991 GB, free: 80.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7389, allocations: 0 / 0.4991 GB, free: 80.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.7391, allocations: 31.22 kB / 0.4991 GB, free: 80.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.7393, allocations: 49.52 kB / 0.4991 GB, free: 80.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.7393, allocations: 7.5 kB / 0.4991 GB, free: 80.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.7404, allocations: 1.506 MB / 0.5006 GB, free: 78.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7405, allocations: 4.5 kB / 0.5006 GB, free: 78.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008625/0.7413, allocations: 0.5164 MB / 0.5011 GB, free: 78.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-05/0.7414, allocations: 112.4 kB / 0.5012 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.7415, allocations: 8.141 kB / 0.5012 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.7419, allocations: 64.64 kB / 0.5013 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/0.742, allocations: 15.67 kB / 0.5013 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.742, allocations: 8.469 kB / 0.5013 GB, free: 78.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000876/0.7429, allocations: 364.7 kB / 0.5017 GB, free: 78.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7429, allocations: 0 / 0.5017 GB, free: 78.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000364/0.7433, allocations: 60.73 kB / 0.5017 GB, free: 78.47 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.x_scaled[1]) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.7434, allocations: 113 kB / 0.5018 GB, free: 78.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.7441, allocations: 350.1 kB / 0.5022 GB, free: 78.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7442, allocations: 1.312 kB / 0.5022 GB, free: 78.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.7445, allocations: 238.3 kB / 0.5024 GB, free: 78.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.7449, allocations: 48.92 kB / 0.5024 GB, free: 78.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.7464, allocations: 0.7263 MB / 0.5032 GB, free: 77.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.7468, allocations: 0.8002 MB / 0.5039 GB, free: 76.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.747, allocations: 59.17 kB / 0.504 GB, free: 76.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.7471, allocations: 26.47 kB / 0.504 GB, free: 76.9 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7471, allocations: 1.281 kB / 0.504 GB, free: 76.9 MB / 362.7 MB Notification: Performance of Templates: time 0.007139/0.7542, allocations: 2.842 MB / 0.5068 GB, free: 76.72 MB / 362.7 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1)