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.001213/0.001213, allocations: 111.4 kB / 16.37 MB, free: 6.344 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.001095/0.001095, allocations: 192.1 kB / 17.3 MB, free: 5.898 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08787/0.08787, allocations: 22.34 MB / 313.5 MB, free: 8.914 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 437.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1069, allocations: 54.96 MB / 492.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002776/0.1097, allocations: 1.904 MB / 494.5 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1108, allocations: 0.5884 MB / 495.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/0.1109, allocations: 4 kB / 495.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1112, allocations: 43.59 kB / 495.2 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.1114, allocations: 55.62 kB / 495.2 MB, free: 2.215 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.0002237/0.1116, allocations: 115.8 kB / 495.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.1119, allocations: 312 kB / 495.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1121, allocations: 60.31 kB / 495.7 MB, free: 1.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1122, allocations: 119.6 kB / 495.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1124, allocations: 123.5 kB / 495.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.1124, allocations: 16 kB / 495.9 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.771e-05/0.1125, allocations: 23.94 kB / 496 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.1126, allocations: 59.8 kB / 496 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.1127, allocations: 95.41 kB / 496.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1129, allocations: 203.2 kB / 496.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1129, allocations: 0 / 496.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1129, allocations: 0 / 496.3 MB, free: 1.109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1129, allocations: 0 / 496.3 MB, free: 1.109 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.001179/0.1141, allocations: 0.5804 MB / 496.9 MB, free: 492 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1141, allocations: 8.031 kB / 496.9 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.1142, allocations: 24.66 kB / 496.9 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.1147, allocations: 323.4 kB / 497.2 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1148, allocations: 12.31 kB / 497.2 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.1148, allocations: 20.38 kB / 497.3 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.1152, allocations: 207.8 kB / 497.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1152, allocations: 0 / 497.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1152, allocations: 8 kB / 497.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1152, allocations: 8 kB / 497.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.1155, allocations: 155.8 kB / 497.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.1165, allocations: 0.723 MB / 498.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.117, allocations: 226.7 kB / 498.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1172, allocations: 80.81 kB / 498.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.1172, allocations: 4 kB / 498.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1172, allocations: 38.5 kB / 498.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.1172, allocations: 0 / 498.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005319/0.1178, allocations: 261.6 kB / 499 MB, free: 14.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.1178, allocations: 59.34 kB / 499 MB, free: 14.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.1183, allocations: 296.8 kB / 499.3 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1184, allocations: 29.7 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.662e-05/0.1185, allocations: 148.3 kB / 499.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.1185, allocations: 66.95 kB / 499.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.1186, allocations: 57.69 kB / 499.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1187, allocations: 334.8 kB / 499.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.1189, allocations: 68.25 kB / 500 MB, free: 13.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1191, allocations: 135.2 kB / 0.4884 GB, free: 13.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.1204, allocations: 457.9 kB / 0.4888 GB, free: 12.56 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1204, allocations: 0 / 0.4888 GB, free: 12.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004429/0.1209, allocations: 287.4 kB / 0.4891 GB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.1209, allocations: 8 kB / 0.4891 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1209, allocations: 0 / 0.4891 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.1209, allocations: 4 kB / 0.4891 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.1212, allocations: 59.91 kB / 0.4892 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1212, allocations: 4 kB / 0.4892 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.1215, allocations: 51.78 kB / 0.4892 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1215, allocations: 8 kB / 0.4892 GB, free: 12.14 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.000178/0.1217, allocations: 154.5 kB / 0.4894 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.1217, allocations: 27.66 kB / 0.4894 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.1222, allocations: 231.6 kB / 0.4896 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1222, allocations: 0 / 0.4896 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1222, allocations: 0 / 0.4896 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1222, allocations: 4 kB / 0.4896 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.1225, allocations: 293.4 kB / 0.4899 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1225, allocations: 4 kB / 0.4899 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.1228, allocations: 51.91 kB / 0.49 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1228, allocations: 3.938 kB / 0.49 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.1228, allocations: 11.94 kB / 0.49 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1229, allocations: 0 / 0.49 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1229, allocations: 0 / 0.49 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.1234, allocations: 407 kB / 0.4904 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.1235, allocations: 104.7 kB / 0.4905 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.1235, allocations: 11.98 kB / 0.4905 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.1238, allocations: 23.97 kB / 0.4905 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1239, allocations: 19.91 kB / 0.4905 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1239, allocations: 8 kB / 0.4905 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003914/0.1243, allocations: 220.4 kB / 0.4908 GB, free: 10.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1243, allocations: 0 / 0.4908 GB, free: 10.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1246, allocations: 40 kB / 0.4908 GB, free: 10.45 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.0001079/0.1247, allocations: 107.3 kB / 0.4909 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.1251, allocations: 201.3 kB / 0.4911 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1251, allocations: 0 / 0.4911 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1252, allocations: 95.89 kB / 0.4912 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1256, allocations: 34.39 kB / 0.4912 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009274/0.1265, allocations: 0.5491 MB / 0.4917 GB, free: 9.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1268, allocations: 0.7558 MB / 0.4925 GB, free: 8.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.1269, allocations: 23.44 kB / 0.4925 GB, free: 8.633 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1269, allocations: 0 / 0.4925 GB, free: 8.633 MB / 382.1 MB Notification: Performance of Templates: time 0.004252/0.1312, allocations: 2.81 MB / 0.4953 GB, free: 5.816 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)