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.0009779/0.0009779, allocations: 91.53 kB / 16.02 MB, free: 80 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.001268/0.001268, allocations: 179.3 kB / 16.92 MB, free: 6.648 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.372/1.372, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1927/0.1927, allocations: 22.34 MB / 314.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 8 kB / 383.2 MB, free: 10.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2569, allocations: 55.98 MB / 439.2 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.001612/0.2585, allocations: 1.607 MB / 440.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.2593, allocations: 0.5713 MB / 441.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.2594, allocations: 0 / 441.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.2596, allocations: 41.94 kB / 441.4 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.2598, allocations: 52.08 kB / 441.5 MB, free: 37.61 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.0001922/0.26, allocations: 97.92 kB / 441.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.2603, allocations: 298.7 kB / 441.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2604, allocations: 53.34 kB / 441.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.2605, allocations: 112.1 kB / 442 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2606, allocations: 116.5 kB / 442.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.2607, allocations: 8.844 kB / 442.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.283e-05/0.2607, allocations: 8.156 kB / 442.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.2608, allocations: 49.41 kB / 442.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.2608, allocations: 105.2 kB / 442.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.261, allocations: 135.2 kB / 442.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.261, allocations: 0 / 442.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.261, allocations: 0 / 442.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.261, allocations: 2.594 kB / 442.5 MB, free: 37.19 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.001026/0.262, allocations: 0.5591 MB / 443 MB, free: 36.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2621, allocations: 14.34 kB / 443 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.2621, allocations: 23 kB / 443.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.2626, allocations: 312.3 kB / 443.4 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.2626, allocations: 18.34 kB / 443.4 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.2627, allocations: 20.06 kB / 443.4 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.263, allocations: 205.6 kB / 443.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.263, allocations: 0 / 443.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.263, allocations: 6.906 kB / 443.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.263, allocations: 2.469 kB / 443.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.2633, allocations: 160.4 kB / 443.8 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008335/0.2642, allocations: 0.7518 MB / 444.5 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.2646, allocations: 216.9 kB / 444.7 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.2648, allocations: 91.33 kB / 444.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.2648, allocations: 2.688 kB / 444.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.2648, allocations: 34.5 kB / 444.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.2648, allocations: 0 / 444.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004805/0.2653, allocations: 265.6 kB / 445.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.2653, allocations: 54.31 kB / 445.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.2658, allocations: 294.2 kB / 445.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.2658, allocations: 29.7 kB / 445.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.2659, allocations: 142.9 kB / 445.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.2659, allocations: 74.55 kB / 445.7 MB, free: 35.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.266, allocations: 30.17 kB / 445.7 MB, free: 35.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.266, allocations: 338.7 kB / 446.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.2662, allocations: 73.3 kB / 446.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.2663, allocations: 120.6 kB / 446.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2676, allocations: 473.5 kB / 446.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2676, allocations: 0 / 446.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003969/0.268, allocations: 286.5 kB / 447 MB, free: 34.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.268, allocations: 7.594 kB / 447 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.268, allocations: 6.656 kB / 447 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2681, allocations: 6.406 kB / 447 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.2683, allocations: 64.27 kB / 447.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.2684, allocations: 7.766 kB / 447.1 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.2686, allocations: 48.42 kB / 447.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2686, allocations: 12.91 kB / 447.1 MB, free: 34.22 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.0001722/0.2688, allocations: 154.7 kB / 447.3 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.2689, allocations: 20.78 kB / 447.3 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.2693, allocations: 236.5 kB / 447.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2693, allocations: 0 / 447.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2693, allocations: 2.688 kB / 447.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2693, allocations: 3.328 kB / 447.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.2696, allocations: 296.8 kB / 447.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2696, allocations: 0 / 447.8 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.2698, allocations: 41.11 kB / 447.9 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2698, allocations: 17.77 kB / 447.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2699, allocations: 6.688 kB / 447.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2699, allocations: 0 / 447.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2699, allocations: 0 / 447.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004724/0.2704, allocations: 404.8 kB / 448.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.2704, allocations: 109.8 kB / 448.4 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.2705, allocations: 7.562 kB / 448.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.2707, allocations: 32.81 kB / 448.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.2708, allocations: 16.61 kB / 448.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2708, allocations: 14.38 kB / 448.5 MB, free: 33.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003592/0.2712, allocations: 224.9 kB / 448.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2712, allocations: 0 / 448.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.2715, allocations: 40.34 kB / 448.7 MB, free: 33.21 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 7.79e-05/0.2715, allocations: 94.22 kB / 448.8 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003315/0.2719, allocations: 195.9 kB / 449 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2719, allocations: 384 / 449 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.272, allocations: 96.62 kB / 449.1 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.2724, allocations: 32.86 kB / 449.1 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/0.2732, allocations: 0.6496 MB / 449.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2733, allocations: 0.7508 MB / 450.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.2734, allocations: 21 kB / 450.6 MB, free: 31.9 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2734, allocations: 3.938 kB / 450.6 MB, free: 31.9 MB / 350.1 MB Notification: Performance of Templates: time 0.003716/0.2772, allocations: 2.779 MB / 453.3 MB, free: 31.7 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)