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.00152/0.00152, allocations: 112.6 kB / 16.37 MB, free: 6 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.001616/0.001616, allocations: 196 kB / 17.31 MB, free: 5.613 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0918/0.0918, allocations: 22.31 MB / 313.5 MB, free: 8.922 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.95 kB / 382.2 MB, free: 41.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.09582, allocations: 54.96 MB / 437.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002888/0.09874, allocations: 1.898 MB / 439.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009149/0.09967, allocations: 0.5922 MB / 439.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.09977, allocations: 0 / 439.7 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1001, allocations: 51.59 kB / 439.7 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.1002, allocations: 55.62 kB / 439.8 MB, free: 9.688 MB / 318.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.0002354/0.1005, allocations: 111.8 kB / 439.9 MB, free: 9.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.1008, allocations: 308 kB / 440.2 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.101, allocations: 56.38 kB / 440.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.1011, allocations: 115.6 kB / 440.4 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.1013, allocations: 131.4 kB / 440.5 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.1014, allocations: 19.94 kB / 440.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.808e-05/0.1014, allocations: 20 kB / 440.5 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.1015, allocations: 63.8 kB / 440.6 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.1016, allocations: 91.41 kB / 440.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1019, allocations: 207.2 kB / 440.9 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1019, allocations: 4 kB / 440.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1019, allocations: 0 / 440.9 MB, free: 8.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1019, allocations: 4 kB / 440.9 MB, free: 8.582 MB / 318.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.001192/0.1031, allocations: 0.5804 MB / 441.5 MB, free: 7.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1031, allocations: 8.031 kB / 441.5 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.794e-05/0.1032, allocations: 32.55 kB / 441.5 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.1037, allocations: 307.5 kB / 441.8 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.1038, allocations: 16.31 kB / 441.8 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.1038, allocations: 24.36 kB / 441.9 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.1042, allocations: 196 kB / 442.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1042, allocations: 0 / 442.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.1042, allocations: 4 kB / 442.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1042, allocations: 4 kB / 442.1 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.1045, allocations: 163.8 kB / 442.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009746/0.1055, allocations: 0.7268 MB / 443 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.106, allocations: 214.7 kB / 443.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1062, allocations: 94.81 kB / 443.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.1062, allocations: 0 / 443.3 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1062, allocations: 46.5 kB / 443.3 MB, free: 6.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.1062, allocations: 0 / 443.3 MB, free: 6.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005499/0.1068, allocations: 261.6 kB / 443.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1069, allocations: 55.34 kB / 443.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.1073, allocations: 292.8 kB / 443.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1074, allocations: 33.7 kB / 443.9 MB, free: 5.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1075, allocations: 148.3 kB / 444.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.1075, allocations: 67.02 kB / 444.1 MB, free: 5.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.779e-05/0.1076, allocations: 61.59 kB / 444.2 MB, free: 5.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1077, allocations: 334.8 kB / 444.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1079, allocations: 68.25 kB / 444.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.1081, allocations: 131 kB / 444.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.1094, allocations: 457.9 kB / 445.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1094, allocations: 0 / 445.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004622/0.1099, allocations: 283.2 kB / 445.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.1099, allocations: 4.188 kB / 445.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1099, allocations: 8 kB / 445.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1099, allocations: 0 / 445.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.1102, allocations: 63.91 kB / 445.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1102, allocations: 3.938 kB / 445.5 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.1105, allocations: 47.7 kB / 445.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.1105, allocations: 12 kB / 445.6 MB, free: 3.621 MB / 318.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.000156/0.1107, allocations: 150.5 kB / 445.7 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.1107, allocations: 27.75 kB / 445.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.1111, allocations: 237.6 kB / 446 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1112, allocations: 4 kB / 446 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1112, allocations: 0 / 446 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1112, allocations: 3.984 kB / 446 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.1115, allocations: 289.5 kB / 446.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1115, allocations: 4 kB / 446.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.1118, allocations: 51.91 kB / 446.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1118, allocations: 3.938 kB / 446.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.1118, allocations: 8 kB / 446.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1118, allocations: 3.938 kB / 446.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1118, allocations: 0 / 446.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.1124, allocations: 404.5 kB / 446.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.1125, allocations: 108.7 kB / 446.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1125, allocations: 7.984 kB / 446.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.1128, allocations: 27.97 kB / 446.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.1128, allocations: 19.97 kB / 446.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1129, allocations: 8 kB / 446.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003952/0.1133, allocations: 220.4 kB / 447.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1133, allocations: 0 / 447.1 MB, free: 1.98 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.1136, allocations: 36 kB / 447.2 MB, free: 1.945 MB / 318.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 9.154e-05/0.1137, allocations: 107.2 kB / 447.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.1141, allocations: 196 kB / 447.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1141, allocations: 4.062 kB / 447.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.1142, allocations: 98.89 kB / 447.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1146, allocations: 28.42 kB / 447.6 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008752/0.1155, allocations: 0.5143 MB / 448.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1158, allocations: 0.7597 MB / 448.9 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001108/0.1159, allocations: 37.88 kB / 448.9 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.116, allocations: 27.42 kB / 448.9 MB, free: 124 kB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.116, allocations: 0 / 448.9 MB, free: 124 kB / 318.1 MB Notification: Performance of Templates: time 0.004825/0.1208, allocations: 2.125 MB / 451.1 MB, free: 13.99 MB / 334.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 -s gbode -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1)