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.001234/0.001234, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.206/0.206, allocations: 22.36 MB / 312.7 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 60.14 kB / 380.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3545, allocations: 54.95 MB / 435.8 MB, free: 39.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002944/0.3575, allocations: 1.908 MB / 437.7 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3586, allocations: 0.5822 MB / 438.3 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.3587, allocations: 6.5 kB / 438.3 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.3592, allocations: 48.19 kB / 438.3 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001836/0.3594, allocations: 55.11 kB / 438.4 MB, free: 37.98 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.0002684/0.3597, allocations: 112.9 kB / 438.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003597/0.36, allocations: 304.8 kB / 438.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.3602, allocations: 56.08 kB / 438.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.3604, allocations: 123.8 kB / 439 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.3606, allocations: 125.5 kB / 439.1 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.3607, allocations: 19.88 kB / 439.1 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.338e-05/0.3607, allocations: 17.09 kB / 439.1 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3608, allocations: 68.64 kB / 439.2 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.361, allocations: 91.89 kB / 439.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002438/0.3612, allocations: 192.2 kB / 439.5 MB, free: 37.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3612, allocations: 0 / 439.5 MB, free: 37.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3612, allocations: 3.938 kB / 439.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.3612, allocations: 0 / 439.5 MB, free: 37.48 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.001405/0.3627, allocations: 0.5902 MB / 440.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3627, allocations: 11.69 kB / 440.1 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.3628, allocations: 30 kB / 440.1 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.3634, allocations: 313.2 kB / 440.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3634, allocations: 9.969 kB / 440.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.3635, allocations: 22.91 kB / 440.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.3638, allocations: 207.2 kB / 440.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3639, allocations: 0 / 440.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3639, allocations: 6.656 kB / 440.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3639, allocations: 3.188 kB / 440.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.3642, allocations: 153 kB / 440.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008712/0.3651, allocations: 0.7331 MB / 441.5 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004288/0.3655, allocations: 218.8 kB / 441.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.3657, allocations: 85.83 kB / 441.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.3657, allocations: 7.047 kB / 441.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3657, allocations: 37.83 kB / 441.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.3657, allocations: 0 / 441.9 MB, free: 35.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005189/0.3663, allocations: 271.3 kB / 442.1 MB, free: 35.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.3663, allocations: 54.31 kB / 442.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.3668, allocations: 290.7 kB / 442.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.3668, allocations: 29.7 kB / 442.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.3669, allocations: 150.1 kB / 442.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.367, allocations: 71.16 kB / 442.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.3671, allocations: 54.73 kB / 442.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.271e-05/0.3672, allocations: 335.1 kB / 443.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.3673, allocations: 74.86 kB / 443.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.3675, allocations: 132.9 kB / 443.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.3688, allocations: 451 kB / 443.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3688, allocations: 0 / 443.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00039/0.3692, allocations: 288 kB / 444 MB, free: 34.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3692, allocations: 5.875 kB / 444 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3692, allocations: 3.969 kB / 444 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3692, allocations: 4.188 kB / 444 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.3695, allocations: 60.72 kB / 444.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3695, allocations: 2.844 kB / 444.1 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.3698, allocations: 52.19 kB / 444.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.3698, allocations: 11.28 kB / 444.2 MB, free: 34.5 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.0001546/0.37, allocations: 149 kB / 444.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.37, allocations: 31.81 kB / 444.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003975/0.3704, allocations: 227.8 kB / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3704, allocations: 2.875 kB / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3704, allocations: 0 / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3704, allocations: 0 / 444.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.3707, allocations: 302.2 kB / 444.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3707, allocations: 0 / 444.9 MB, free: 33.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.371, allocations: 52.98 kB / 444.9 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.371, allocations: 3.938 kB / 444.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.371, allocations: 7.062 kB / 444.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3711, allocations: 0 / 444.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3711, allocations: 3.969 kB / 444.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.3716, allocations: 406.1 kB / 445.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.3716, allocations: 106.5 kB / 445.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.3717, allocations: 11.38 kB / 445.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.3719, allocations: 35.94 kB / 445.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.372, allocations: 9.781 kB / 445.5 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.372, allocations: 11 kB / 445.5 MB, free: 33.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003574/0.3724, allocations: 219.9 kB / 445.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3724, allocations: 0 / 445.7 MB, free: 33.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.3727, allocations: 38.16 kB / 445.7 MB, free: 33.48 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.875e-05/0.3728, allocations: 104.4 kB / 445.8 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.3732, allocations: 210.8 kB / 446 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3732, allocations: 384 / 446 MB, free: 33.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.3733, allocations: 98.84 kB / 446.1 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3737, allocations: 30.97 kB / 446.2 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009179/0.3746, allocations: 0.5168 MB / 446.7 MB, free: 32.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.3749, allocations: 0.758 MB / 447.4 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.375, allocations: 39.23 kB / 447.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.3751, allocations: 21.44 kB / 447.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3751, allocations: 0 / 447.5 MB, free: 32.26 MB / 350.1 MB Notification: Performance of Templates: time 0.004775/0.3798, allocations: 2.137 MB / 449.6 MB, free: 32.09 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)