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.007571/0.007571, allocations: 101.4 kB / 15.88 MB, free: 6.328 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.001941/0.001941, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.319/1.319, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1987/0.1987, allocations: 22.35 MB / 313 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 380.8 MB, free: 11.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2588, allocations: 54.94 MB / 435.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.002667/0.2616, allocations: 1.955 MB / 437.7 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007548/0.2623, allocations: 0.5812 MB / 438.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.494e-05/0.2624, allocations: 2.906 kB / 438.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.2627, allocations: 43.61 kB / 438.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.2629, allocations: 40.55 kB / 438.3 MB, free: 37.64 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.0001933/0.2631, allocations: 109.7 kB / 438.4 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.2634, allocations: 297.5 kB / 438.7 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2635, allocations: 51.55 kB / 438.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2636, allocations: 98.94 kB / 438.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2638, allocations: 134.2 kB / 439 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.2638, allocations: 10.56 kB / 439 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.926e-05/0.2638, allocations: 10.25 kB / 439 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.469e-05/0.2639, allocations: 58.28 kB / 439.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.264, allocations: 84.33 kB / 439.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.2641, allocations: 143.3 kB / 439.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2641, allocations: 0 / 439.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2641, allocations: 0 / 439.3 MB, free: 37.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2641, allocations: 0 / 439.3 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.001123/0.2653, allocations: 0.5856 MB / 439.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.2653, allocations: 17.5 kB / 439.9 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.2654, allocations: 23.03 kB / 439.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004628/0.2658, allocations: 325 kB / 440.2 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.2659, allocations: 12.5 kB / 440.2 MB, free: 36.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.2659, allocations: 20.44 kB / 440.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.2662, allocations: 200.8 kB / 440.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2662, allocations: 0 / 440.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.2663, allocations: 6.844 kB / 440.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2663, allocations: 3.031 kB / 440.5 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.2666, allocations: 158.3 kB / 440.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008333/0.2674, allocations: 0.7359 MB / 441.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.2679, allocations: 234.1 kB / 441.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.268, allocations: 79.17 kB / 441.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.268, allocations: 2.969 kB / 441.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.2681, allocations: 38.5 kB / 441.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.2681, allocations: 0 / 441.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004779/0.2686, allocations: 263.4 kB / 442 MB, free: 35.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.2686, allocations: 58.12 kB / 442 MB, free: 35.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.269, allocations: 294 kB / 442.3 MB, free: 35.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.269, allocations: 29.7 kB / 442.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.2691, allocations: 150.7 kB / 442.5 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.2692, allocations: 70.17 kB / 442.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.398e-05/0.2692, allocations: 56.77 kB / 442.6 MB, free: 35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.2693, allocations: 331.9 kB / 442.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2694, allocations: 72.48 kB / 443 MB, free: 34.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.2696, allocations: 129.7 kB / 443.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.2708, allocations: 454.7 kB / 443.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2708, allocations: 0 / 443.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003802/0.2712, allocations: 281.3 kB / 443.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2712, allocations: 5.844 kB / 443.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2712, allocations: 3.375 kB / 443.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2713, allocations: 3.375 kB / 443.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.2715, allocations: 72.36 kB / 443.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.2715, allocations: 6.156 kB / 443.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.2718, allocations: 43.62 kB / 444 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.2718, allocations: 8.812 kB / 444 MB, free: 34.23 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.0001468/0.272, allocations: 157.5 kB / 444.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.272, allocations: 26.81 kB / 444.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.2724, allocations: 235.2 kB / 444.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2724, allocations: 2.719 kB / 444.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2724, allocations: 0 / 444.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2724, allocations: 2.625 kB / 444.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.2727, allocations: 297.5 kB / 444.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2727, allocations: 0 / 444.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.273, allocations: 48.16 kB / 444.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.273, allocations: 10.81 kB / 444.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.273, allocations: 6.938 kB / 444.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.273, allocations: 0 / 444.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.273, allocations: 0 / 444.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.2735, allocations: 399.7 kB / 445.2 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.2735, allocations: 104.2 kB / 445.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.2736, allocations: 9.859 kB / 445.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.2738, allocations: 33.66 kB / 445.3 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.2739, allocations: 12.44 kB / 445.3 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.2739, allocations: 9.844 kB / 445.3 MB, free: 33.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003385/0.2742, allocations: 218.3 kB / 445.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2743, allocations: 0 / 445.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.2745, allocations: 38.91 kB / 445.6 MB, free: 33.23 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.115e-05/0.2746, allocations: 106.9 kB / 445.7 MB, free: 33.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.2749, allocations: 194.9 kB / 445.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2749, allocations: 0 / 445.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.2751, allocations: 99.97 kB / 446 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.0003224/0.2754, allocations: 33.88 kB / 446 MB, free: 33.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007817/0.2762, allocations: 0.6229 MB / 446.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.2764, allocations: 0.7591 MB / 447.4 MB, free: 31.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.2764, allocations: 21.03 kB / 447.4 MB, free: 31.9 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2765, allocations: 0 / 447.4 MB, free: 31.9 MB / 350.1 MB Notification: Performance of Templates: time 0.003435/0.2799, allocations: 2.796 MB / 450.2 MB, free: 31.68 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)