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.0008508/0.0008508, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.00102/0.00102, allocations: 181.9 kB / 16.28 MB, free: 6.656 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2404/0.2404, allocations: 22.35 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003069, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3197, allocations: 55.98 MB / 438.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.001619/0.3213, allocations: 1.604 MB / 440.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007694/0.3221, allocations: 0.5725 MB / 440.8 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.3222, allocations: 3.938 kB / 440.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.3225, allocations: 39.39 kB / 440.8 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.3227, allocations: 48.56 kB / 440.8 MB, free: 37.67 MB / 350.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.0001952/0.3229, allocations: 100.8 kB / 440.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.3231, allocations: 301.7 kB / 441.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.3233, allocations: 51.56 kB / 441.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.3234, allocations: 100.5 kB / 441.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.3235, allocations: 115.1 kB / 441.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.3236, allocations: 12.28 kB / 441.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.316e-05/0.3236, allocations: 7.938 kB / 441.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.3237, allocations: 48.28 kB / 441.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.3238, allocations: 115.9 kB / 441.7 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3239, allocations: 176.5 kB / 441.8 MB, free: 37.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3239, allocations: 3.469 kB / 441.9 MB, free: 37.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3239, allocations: 0 / 441.9 MB, free: 37.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3239, allocations: 2.531 kB / 441.9 MB, free: 37.22 MB / 350.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.00104/0.325, allocations: 0.559 MB / 442.4 MB, free: 36.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.325, allocations: 11.38 kB / 442.4 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.3251, allocations: 26.06 kB / 442.4 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.3256, allocations: 308.6 kB / 442.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.3256, allocations: 17.41 kB / 442.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.3256, allocations: 25.22 kB / 442.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.3259, allocations: 208 kB / 443 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.326, allocations: 0 / 443 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.326, allocations: 4 kB / 443 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.326, allocations: 5.812 kB / 443 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.3263, allocations: 155.8 kB / 443.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.3272, allocations: 0.7401 MB / 443.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.3276, allocations: 216.9 kB / 444.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.3277, allocations: 79.61 kB / 444.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3278, allocations: 7.656 kB / 444.2 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.3278, allocations: 38.5 kB / 444.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.3278, allocations: 0 / 444.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004758/0.3283, allocations: 264.9 kB / 444.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.3283, allocations: 54.31 kB / 444.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.3288, allocations: 291.2 kB / 444.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3288, allocations: 32.61 kB / 444.9 MB, free: 35.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3289, allocations: 144.4 kB / 445 MB, free: 35.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.3289, allocations: 83.36 kB / 445.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.329, allocations: 37.86 kB / 445.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.329, allocations: 331.7 kB / 445.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.3292, allocations: 77.94 kB / 445.5 MB, free: 34.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3293, allocations: 125.1 kB / 445.6 MB, free: 34.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3305, allocations: 466.5 kB / 446.1 MB, free: 34.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3306, allocations: 4 kB / 446.1 MB, free: 34.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003985/0.331, allocations: 287.3 kB / 446.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.331, allocations: 6.062 kB / 446.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.331, allocations: 2.875 kB / 446.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.331, allocations: 2.906 kB / 446.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.3313, allocations: 58.39 kB / 446.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3313, allocations: 7.641 kB / 446.5 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.3316, allocations: 61.06 kB / 446.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.3316, allocations: 5.812 kB / 446.5 MB, free: 34.26 MB / 350.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.0001511/0.3317, allocations: 158.1 kB / 446.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.3318, allocations: 26.91 kB / 446.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.3322, allocations: 237.2 kB / 446.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3322, allocations: 3.031 kB / 446.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3322, allocations: 0 / 446.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3322, allocations: 0 / 446.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.3325, allocations: 291.2 kB / 447.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3325, allocations: 2.688 kB / 447.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.3327, allocations: 40.34 kB / 447.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3327, allocations: 10.14 kB / 447.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3328, allocations: 10.94 kB / 447.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3328, allocations: 0 / 447.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3328, allocations: 0 / 447.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.3332, allocations: 404.3 kB / 447.7 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.3333, allocations: 105 kB / 447.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.3333, allocations: 10.75 kB / 447.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.3336, allocations: 36.86 kB / 447.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.3336, allocations: 11.72 kB / 447.8 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3337, allocations: 10.23 kB / 447.9 MB, free: 33.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003453/0.334, allocations: 217.9 kB / 448.1 MB, free: 33.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.334, allocations: 7.938 kB / 448.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3343, allocations: 40.78 kB / 448.1 MB, free: 33.25 MB / 350.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 8.358e-05/0.3344, allocations: 102.2 kB / 448.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.3347, allocations: 192.6 kB / 448.4 MB, free: 33.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3347, allocations: 7.875 kB / 448.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.3349, allocations: 94.84 kB / 448.5 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.3352, allocations: 38.69 kB / 448.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000811/0.336, allocations: 0.609 MB / 449.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.3362, allocations: 0.7599 MB / 449.9 MB, free: 31.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3363, allocations: 36.2 kB / 449.9 MB, free: 31.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.668e-05/0.3364, allocations: 19.66 kB / 450 MB, free: 31.96 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3364, allocations: 0 / 450 MB, free: 31.96 MB / 350.1 MB Notification: Performance of Templates: time 0.004277/0.3407, allocations: 1.923 MB / 451.9 MB, free: 31.82 MB / 350.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)