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.00124/0.00124, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001283/0.001283, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.222/1.222, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0858/0.0858, allocations: 22.31 MB / 313.1 MB, free: 8.895 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 62.98 kB / 380.9 MB, free: 41.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.072/0.07323, allocations: 54.97 MB / 435.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.00287/0.07613, allocations: 1.955 MB / 437.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.07706, allocations: 0.5768 MB / 438.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.07719, allocations: 0 / 438.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.07747, allocations: 43.7 kB / 438.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.07764, allocations: 39.78 kB / 438.5 MB, free: 10.7 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.0002325/0.07788, allocations: 107.9 kB / 438.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.07819, allocations: 304.1 kB / 438.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.07831, allocations: 56.58 kB / 438.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.07846, allocations: 119.6 kB / 439.1 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.07865, allocations: 139.4 kB / 439.2 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.07869, allocations: 16 kB / 439.2 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.946e-05/0.07873, allocations: 23.94 kB / 439.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.07881, allocations: 59.77 kB / 439.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.096e-05/0.07889, allocations: 91.45 kB / 439.4 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.07904, allocations: 151.6 kB / 439.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.07905, allocations: 0 / 439.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07906, allocations: 0 / 439.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.07907, allocations: 0 / 439.5 MB, free: 9.656 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.001135/0.08021, allocations: 0.5843 MB / 440.1 MB, free: 9.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.08025, allocations: 16.03 kB / 440.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.08031, allocations: 28.56 kB / 440.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005058/0.08082, allocations: 307.5 kB / 440.5 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.08084, allocations: 8.375 kB / 440.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.08089, allocations: 24.36 kB / 440.5 MB, free: 8.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.08122, allocations: 200.6 kB / 440.7 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.08123, allocations: 3.938 kB / 440.7 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.08126, allocations: 8 kB / 440.7 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.08127, allocations: 4 kB / 440.7 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002952/0.08157, allocations: 155.8 kB / 440.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009431/0.08252, allocations: 0.7307 MB / 441.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.08297, allocations: 230.6 kB / 441.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.08312, allocations: 76.83 kB / 441.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.08316, allocations: 7.984 kB / 441.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.08318, allocations: 34.5 kB / 441.9 MB, free: 7.078 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.08319, allocations: 4 kB / 441.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004996/0.08369, allocations: 268.8 kB / 442.2 MB, free: 6.809 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/0.08373, allocations: 55.41 kB / 442.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.08419, allocations: 288.8 kB / 442.5 MB, free: 6.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.08422, allocations: 33.7 kB / 442.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.08431, allocations: 148.3 kB / 442.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.08436, allocations: 71 kB / 442.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.08444, allocations: 57.61 kB / 442.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.08455, allocations: 330.8 kB / 443.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.08469, allocations: 72.25 kB / 443.2 MB, free: 5.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.08486, allocations: 130.5 kB / 443.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.08615, allocations: 460.4 kB / 443.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.08616, allocations: 0 / 443.8 MB, free: 5.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004168/0.08659, allocations: 283 kB / 444.1 MB, free: 4.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.08661, allocations: 8 kB / 444.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.08662, allocations: 192 / 444.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.08664, allocations: 8 kB / 444.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.0869, allocations: 59.91 kB / 444.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.08692, allocations: 7.938 kB / 444.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.08718, allocations: 51.64 kB / 444.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.08721, allocations: 12 kB / 444.2 MB, free: 4.684 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.000153/0.08737, allocations: 157.6 kB / 444.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.08742, allocations: 19.75 kB / 444.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.08781, allocations: 231.6 kB / 444.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.08783, allocations: 0 / 444.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.08784, allocations: 0 / 444.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.08785, allocations: 7.984 kB / 444.6 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.08813, allocations: 289.5 kB / 444.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.08814, allocations: 0 / 444.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.08841, allocations: 51.91 kB / 445 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.08842, allocations: 7.938 kB / 445 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.08845, allocations: 4 kB / 445 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.08845, allocations: 4 kB / 445 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.08846, allocations: 0 / 445 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005102/0.08897, allocations: 402 kB / 445.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.08905, allocations: 112.6 kB / 445.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.08909, allocations: 19.98 kB / 445.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.08935, allocations: 27.97 kB / 445.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.08941, allocations: 11.97 kB / 445.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.08943, allocations: 8 kB / 445.6 MB, free: 3.258 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003792/0.08981, allocations: 220.4 kB / 445.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08982, allocations: 0 / 445.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.09009, allocations: 40 kB / 445.8 MB, free: 3.004 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.035e-05/0.09019, allocations: 103.2 kB / 445.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.09057, allocations: 215.7 kB / 446.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.09058, allocations: 384 / 446.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.09073, allocations: 91.91 kB / 446.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.09106, allocations: 32.25 kB / 446.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.09194, allocations: 0.623 MB / 446.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.09221, allocations: 0.7558 MB / 447.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.0923, allocations: 23.44 kB / 447.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.0923, allocations: 3.938 kB / 447.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of Templates: time 0.004055/0.09636, allocations: 2.799 MB / 450.4 MB, free: 14.3 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 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1)