Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001684/0.001685, 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.001672/0.001672, 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.317/1.317, 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.08809/0.08809, allocations: 22.33 MB / 313.5 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.91 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1062, allocations: 54.95 MB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.00321/0.1094, allocations: 1.915 MB / 494.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1105, allocations: 0.5884 MB / 495.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1106, allocations: 0 / 495.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.111, allocations: 51.59 kB / 495.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.1112, allocations: 51.64 kB / 495.3 MB, free: 2.121 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1114, allocations: 115.8 kB / 495.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1118, allocations: 308 kB / 495.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.112, allocations: 64.3 kB / 495.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.1121, allocations: 115.6 kB / 495.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.1123, allocations: 131.5 kB / 496 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.1124, allocations: 16 kB / 496 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.42e-05/0.1124, allocations: 20 kB / 496 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.25e-05/0.1125, allocations: 63.73 kB / 496.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.1126, allocations: 91.47 kB / 496.2 MB, free: 1.215 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1129, allocations: 199.2 kB / 496.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1129, allocations: 4 kB / 496.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1129, allocations: 0 / 496.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1129, allocations: 0 / 496.4 MB, free: 1.016 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001287/0.1142, allocations: 0.5843 MB / 496.9 MB, free: 392 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1142, allocations: 8.031 kB / 497 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.1143, allocations: 24.66 kB / 497 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.1149, allocations: 319.3 kB / 497.3 MB, free: 0 / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.1149, allocations: 12.42 kB / 497.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.115, allocations: 24.38 kB / 497.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1153, allocations: 203.8 kB / 497.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1153, allocations: 0 / 497.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1153, allocations: 8 kB / 497.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1154, allocations: 0 / 497.5 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.1157, allocations: 155.8 kB / 497.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009887/0.1167, allocations: 0.7269 MB / 498.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004742/0.1172, allocations: 230.7 kB / 498.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1173, allocations: 80.81 kB / 498.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1174, allocations: 0 / 498.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1174, allocations: 38.5 kB / 498.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.1174, allocations: 0 / 498.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00054/0.1179, allocations: 268 kB / 499 MB, free: 14.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.118, allocations: 55.34 kB / 499.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.1185, allocations: 292.8 kB / 499.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1185, allocations: 29.7 kB / 499.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.1186, allocations: 148.3 kB / 499.5 MB, free: 13.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.1187, allocations: 70.94 kB / 499.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.671e-05/0.1188, allocations: 61.64 kB / 499.7 MB, free: 13.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1189, allocations: 334.8 kB / 500 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.119, allocations: 72.23 kB / 0.4883 GB, free: 13.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.1192, allocations: 131.2 kB / 0.4885 GB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.1205, allocations: 457.9 kB / 0.4889 GB, free: 12.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1205, allocations: 0 / 0.4889 GB, free: 12.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004371/0.121, allocations: 287.2 kB / 0.4892 GB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.121, allocations: 7.984 kB / 0.4892 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.121, allocations: 4 kB / 0.4892 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.121, allocations: 4 kB / 0.4892 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.1213, allocations: 60.09 kB / 0.4892 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1213, allocations: 8 kB / 0.4893 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.1216, allocations: 47.8 kB / 0.4893 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.1216, allocations: 12 kB / 0.4893 GB, free: 12.04 MB / 382.1 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(flow=false start = M.y_start fixed = true ) "Connector of Real output signal" type: Real PI.xfb:VARIABLE(fixed = true ) type: Real 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: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.000185/0.1218, allocations: 150.4 kB / 0.4895 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.127e-05/0.1219, allocations: 31.66 kB / 0.4895 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.1223, allocations: 227.6 kB / 0.4897 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1223, allocations: 4 kB / 0.4897 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1223, allocations: 0 / 0.4897 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1224, allocations: 0 / 0.4897 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.1227, allocations: 293.4 kB / 0.49 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1227, allocations: 0 / 0.49 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.1229, allocations: 47.92 kB / 0.49 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.123, allocations: 3.938 kB / 0.49 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.123, allocations: 15.98 kB / 0.49 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.123, allocations: 0 / 0.49 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.123, allocations: 0 / 0.49 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.1236, allocations: 399 kB / 0.4904 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.1236, allocations: 104.7 kB / 0.4905 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.1237, allocations: 7.938 kB / 0.4905 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.1239, allocations: 35.95 kB / 0.4906 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.124, allocations: 11.98 kB / 0.4906 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.124, allocations: 11.98 kB / 0.4906 GB, free: 10.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004079/0.1244, allocations: 216.4 kB / 0.4908 GB, free: 10.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.1244, allocations: 0 / 0.4908 GB, free: 10.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1247, allocations: 47.94 kB / 0.4908 GB, free: 10.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001105/0.1248, allocations: 107.2 kB / 0.4909 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.1252, allocations: 197.2 kB / 0.4911 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1252, allocations: 0 / 0.4911 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.1254, allocations: 95.89 kB / 0.4912 GB, free: 9.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1257, allocations: 34.77 kB / 0.4913 GB, free: 9.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.1267, allocations: 0.549 MB / 0.4918 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.1269, allocations: 0.7636 MB / 0.4925 GB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.127, allocations: 19.44 kB / 0.4926 GB, free: 8.539 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.127, allocations: 0 / 0.4926 GB, free: 8.539 MB / 382.1 MB Notification: Performance of Templates: time 0.004394/0.1314, allocations: 2.835 MB / 0.4953 GB, free: 5.699 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1)