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.001017/0.001017, allocations: 111 kB / 16.42 MB, free: 6.484 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.00104/0.00104, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09625/0.09625, allocations: 22.32 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 437.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08917, allocations: 54.95 MB / 492.7 MB, free: 4.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002713/0.09192, allocations: 1.912 MB / 494.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.09285, allocations: 0.5806 MB / 495.2 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.09295, allocations: 4 kB / 495.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.09326, allocations: 55.56 kB / 495.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.09344, allocations: 55.64 kB / 495.3 MB, free: 2.145 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.0002404/0.09369, allocations: 111.8 kB / 495.4 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.09402, allocations: 312 kB / 495.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.09415, allocations: 60.33 kB / 495.7 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.09431, allocations: 115.6 kB / 495.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.0945, allocations: 131.5 kB / 496 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.09455, allocations: 16 kB / 496 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.359e-05/0.09459, allocations: 24 kB / 496 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.09468, allocations: 59.77 kB / 496.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.09477, allocations: 91.45 kB / 496.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.09498, allocations: 195.2 kB / 496.4 MB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.09499, allocations: 7.984 kB / 496.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.095, allocations: 0 / 496.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.09501, allocations: 0 / 496.4 MB, free: 1.043 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.001185/0.0962, allocations: 0.5843 MB / 497 MB, free: 420 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.09624, allocations: 8.031 kB / 497 MB, free: 412 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.747e-05/0.0963, allocations: 24.66 kB / 497 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.09689, allocations: 319.4 kB / 497.3 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.09693, allocations: 16.31 kB / 497.3 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.09698, allocations: 20.45 kB / 497.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.09734, allocations: 207.8 kB / 497.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.09736, allocations: 3.984 kB / 497.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.09739, allocations: 8 kB / 497.5 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.0974, allocations: 4 kB / 497.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.09773, allocations: 155.8 kB / 497.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.09874, allocations: 0.723 MB / 498.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.09924, allocations: 222.7 kB / 498.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.0994, allocations: 84.83 kB / 498.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.09943, allocations: 0 / 498.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.09946, allocations: 46.48 kB / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.193e-06/0.09947, allocations: 0 / 498.8 MB, free: 14.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005384/0.1, allocations: 259.7 kB / 499 MB, free: 14.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.1001, allocations: 59.33 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.1006, allocations: 292.8 kB / 499.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1006, allocations: 25.7 kB / 499.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.1007, allocations: 152.3 kB / 499.5 MB, free: 13.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.314e-05/0.1007, allocations: 70.94 kB / 499.6 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.1008, allocations: 57.64 kB / 499.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1009, allocations: 334.8 kB / 500 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1011, allocations: 76.23 kB / 0.4884 GB, free: 13.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1013, allocations: 131.2 kB / 0.4885 GB, free: 12.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.1027, allocations: 457.9 kB / 0.4889 GB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1027, allocations: 0 / 0.4889 GB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004504/0.1031, allocations: 283.3 kB / 0.4892 GB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1031, allocations: 7.938 kB / 0.4892 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1032, allocations: 4 kB / 0.4892 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1032, allocations: 0 / 0.4892 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.1035, allocations: 67.91 kB / 0.4893 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1035, allocations: 3.984 kB / 0.4893 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.1038, allocations: 44 kB / 0.4893 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1038, allocations: 8 kB / 0.4893 GB, free: 12.07 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.0001649/0.104, allocations: 154.4 kB / 0.4895 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.104, allocations: 27.66 kB / 0.4895 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.1045, allocations: 242.6 kB / 0.4897 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1045, allocations: 0 / 0.4897 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1045, allocations: 0 / 0.4897 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.1046, allocations: 96.83 kB / 0.4898 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1046, allocations: 11.98 kB / 0.4898 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.1049, allocations: 23.97 kB / 0.4898 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.105, allocations: 19.97 kB / 0.4899 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007537/0.1057, allocations: 332.7 kB / 0.4902 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006124/0.1063, allocations: 0.4957 MB / 0.4907 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001544/0.1065, allocations: 87.94 kB / 0.4907 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004124/0.1069, allocations: 224.4 kB / 0.491 GB, free: 10.32 MB / 382.1 MB Notification: Performance of Backend: time 3.9e-07/0.1069, allocations: 0 / 0.491 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.1075, allocations: 210.3 kB / 0.4912 GB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 0.0008219/0.1083, allocations: 0.9185 MB / 0.4921 GB, free: 9.145 MB / 382.1 MB Notification: Performance of Templates: time 0.0055/0.1138, allocations: 2.656 MB / 0.4947 GB, free: 6.492 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)