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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001366, allocations: 100.1 kB / 16.4 MB, free: 6.5 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.001551/0.001551, allocations: 187 kB / 17.34 MB, free: 5.77 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08973/0.08973, allocations: 22.32 MB / 313.5 MB, free: 8.855 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.89 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.0982, allocations: 54.96 MB / 492.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003048/0.1013, allocations: 1.969 MB / 494.6 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1026, allocations: 0.7092 MB / 495.4 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.1028, allocations: 4 kB / 495.4 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.1032, allocations: 79.47 kB / 495.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.1035, allocations: 107.4 kB / 495.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.104, allocations: 187.7 kB / 495.7 MB, free: 1.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.1045, allocations: 499.1 kB / 496.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1047, allocations: 60.72 kB / 496.3 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.105, allocations: 199.4 kB / 496.5 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003622/0.1054, allocations: 211.2 kB / 496.7 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.255e-05/0.1054, allocations: 28 kB / 496.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.134e-05/0.1055, allocations: 24 kB / 496.7 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1056, allocations: 91.72 kB / 496.8 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.1057, allocations: 127.2 kB / 496.9 MB, free: 440 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.106, allocations: 282.8 kB / 497.2 MB, free: 156 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.106, allocations: 0 / 497.2 MB, free: 156 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.106, allocations: 0 / 497.2 MB, free: 156 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1061, allocations: 0 / 497.2 MB, free: 156 kB / 366.1 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.001951/0.108, allocations: 0.771 MB / 498 MB, free: 15.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1081, allocations: 8.031 kB / 498 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.286e-05/0.1082, allocations: 36.56 kB / 498 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009946/0.1092, allocations: 451.8 kB / 498.5 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1092, allocations: 12.23 kB / 498.5 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.1092, allocations: 20.28 kB / 498.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.1096, allocations: 181.8 kB / 498.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1096, allocations: 0 / 498.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1096, allocations: 8 kB / 498.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1096, allocations: 0 / 498.7 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.1099, allocations: 191.8 kB / 498.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.111, allocations: 0.6445 MB / 499.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008051/0.1118, allocations: 346.8 kB / 499.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.112, allocations: 104.7 kB / 500 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.112, allocations: 4 kB / 500 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.112, allocations: 34.56 kB / 500 MB, free: 13.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.112, allocations: 0 / 500 MB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001216/0.1133, allocations: 0.4949 MB / 0.4888 GB, free: 12.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1133, allocations: 55.41 kB / 0.4888 GB, free: 12.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/0.1142, allocations: 456.3 kB / 0.4892 GB, free: 12.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.1143, allocations: 33.7 kB / 0.4893 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1144, allocations: 160.4 kB / 0.4894 GB, free: 11.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.835e-05/0.1145, allocations: 78.89 kB / 0.4895 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.1145, allocations: 41.7 kB / 0.4895 GB, free: 11.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1147, allocations: 346.8 kB / 0.4899 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1148, allocations: 84.17 kB / 0.49 GB, free: 11.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.115, allocations: 102.1 kB / 0.4901 GB, free: 11.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.1165, allocations: 0.5182 MB / 0.4906 GB, free: 10.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1165, allocations: 4 kB / 0.4906 GB, free: 10.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005715/0.1171, allocations: 345.8 kB / 0.4909 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1171, allocations: 8 kB / 0.4909 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1171, allocations: 0 / 0.4909 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.1173, allocations: 52.81 kB / 0.491 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1175, allocations: 31.94 kB / 0.491 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.1189, allocations: 1.607 MB / 0.4926 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.1193, allocations: 83.69 kB / 0.4926 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1193, allocations: 4 kB / 0.4926 GB, free: 8.496 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: C.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] M.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] P.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002113/0.1195, allocations: 174.7 kB / 0.4928 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.1196, allocations: 27.62 kB / 0.4928 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.1197, allocations: 47.02 kB / 0.4929 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1197, allocations: 4 kB / 0.4929 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1197, allocations: 0 / 0.4929 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1197, allocations: 3.938 kB / 0.4929 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.1201, allocations: 349.3 kB / 0.4932 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.1201, allocations: 7.984 kB / 0.4932 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1203, allocations: 20 kB / 0.4932 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.1205, allocations: 52.81 kB / 0.4933 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1205, allocations: 8 kB / 0.4933 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001246/0.1218, allocations: 1.611 MB / 0.4949 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1218, allocations: 0 / 0.4949 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.1225, allocations: 0.5128 MB / 0.4954 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.1226, allocations: 112.9 kB / 0.4955 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.1227, allocations: 4 kB / 0.4955 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.1231, allocations: 55.91 kB / 0.4955 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.1232, allocations: 27.91 kB / 0.4956 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.1232, allocations: 4 kB / 0.4956 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008127/0.124, allocations: 358.9 kB / 0.4959 GB, free: 4.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.124, allocations: 0 / 0.4959 GB, free: 4.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.1243, allocations: 59.84 kB / 0.496 GB, free: 4.844 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001232/0.1245, allocations: 115.2 kB / 0.4961 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006282/0.1251, allocations: 360.9 kB / 0.4964 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1251, allocations: 4.062 kB / 0.4964 GB, free: 4.355 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.1255, allocations: 238.4 kB / 0.4967 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.1259, allocations: 57.3 kB / 0.4967 GB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.1271, allocations: 0.6651 MB / 0.4974 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1274, allocations: 0.7986 MB / 0.4981 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.1275, allocations: 27.44 kB / 0.4982 GB, free: 2.508 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1275, allocations: 0 / 0.4982 GB, free: 2.508 MB / 382.1 MB Notification: Performance of Templates: time 0.1983/0.3259, allocations: 4.626 MB / 0.5027 GB, free: 21.88 MB / 382.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1)