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.001487/0.001487, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001794/0.001794, allocations: 191.9 kB / 16.25 MB, free: 6.637 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2134/0.2134, allocations: 22.35 MB / 312.4 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.88 kB / 380.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2569, allocations: 54.94 MB / 435.2 MB, free: 39.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003336/0.2603, allocations: 1.953 MB / 437.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.2613, allocations: 0.5912 MB / 437.8 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.723e-05/0.2614, allocations: 0 / 437.8 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.2617, allocations: 42.5 kB / 437.8 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.2619, allocations: 39.83 kB / 437.9 MB, free: 37.87 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.0002048/0.2621, allocations: 107.4 kB / 438 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.2624, allocations: 309.5 kB / 438.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.2626, allocations: 58.31 kB / 438.3 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2627, allocations: 115.9 kB / 438.4 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.2628, allocations: 130 kB / 438.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.2629, allocations: 17.06 kB / 438.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.085e-05/0.2629, allocations: 18.72 kB / 438.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.263, allocations: 65.91 kB / 438.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.2631, allocations: 100.5 kB / 438.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.2633, allocations: 190.1 kB / 438.9 MB, free: 37.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2633, allocations: 0 / 438.9 MB, free: 37.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2633, allocations: 0 / 438.9 MB, free: 37.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2633, allocations: 0 / 438.9 MB, free: 37.38 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.001187/0.2645, allocations: 0.5874 MB / 439.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2645, allocations: 8.062 kB / 439.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.2646, allocations: 25.81 kB / 439.6 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.2651, allocations: 316.9 kB / 439.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.2651, allocations: 12.88 kB / 439.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.2652, allocations: 18.19 kB / 439.9 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.2655, allocations: 206.1 kB / 440.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2655, allocations: 0 / 440.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.2655, allocations: 14.03 kB / 440.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2655, allocations: 6.969 kB / 440.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.2659, allocations: 154.9 kB / 440.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009084/0.2668, allocations: 0.7313 MB / 441 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.2672, allocations: 236.8 kB / 441.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.2674, allocations: 80.17 kB / 441.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.2674, allocations: 2.469 kB / 441.3 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.2674, allocations: 38.5 kB / 441.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.2674, allocations: 0 / 441.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004889/0.2679, allocations: 267.6 kB / 441.6 MB, free: 35.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.268, allocations: 55.19 kB / 441.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.2684, allocations: 297.7 kB / 442 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2684, allocations: 25.7 kB / 442 MB, free: 35.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.2685, allocations: 147.8 kB / 442.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.2686, allocations: 69.55 kB / 442.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/0.2686, allocations: 60.84 kB / 442.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/0.2687, allocations: 338.5 kB / 442.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.2688, allocations: 74.05 kB / 442.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.269, allocations: 126 kB / 442.8 MB, free: 34.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.2702, allocations: 458.8 kB / 443.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2703, allocations: 6.656 kB / 443.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000412/0.2707, allocations: 280.1 kB / 443.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2707, allocations: 5.75 kB / 443.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2707, allocations: 0 / 443.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2707, allocations: 2.875 kB / 443.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.271, allocations: 65.3 kB / 443.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.271, allocations: 3.094 kB / 443.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/0.2713, allocations: 52.28 kB / 443.6 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2713, allocations: 8.531 kB / 443.6 MB, free: 34.38 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.0001627/0.2715, allocations: 151.2 kB / 443.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.2715, allocations: 25.12 kB / 443.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/0.2721, allocations: 240.3 kB / 444.1 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2721, allocations: 2.875 kB / 444.1 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2721, allocations: 0 / 444.1 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.2721, allocations: 0 / 444.1 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.2725, allocations: 295.8 kB / 444.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2725, allocations: 2.844 kB / 444.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.2729, allocations: 41.78 kB / 444.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2729, allocations: 3.938 kB / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.2729, allocations: 10.91 kB / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2729, allocations: 7.938 kB / 444.4 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2729, allocations: 0 / 444.4 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.2734, allocations: 398.9 kB / 444.8 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.2735, allocations: 109 kB / 444.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.2735, allocations: 6.688 kB / 444.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2738, allocations: 33.7 kB / 444.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.2738, allocations: 13.28 kB / 445 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2738, allocations: 8.688 kB / 445 MB, free: 33.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004123/0.2743, allocations: 218.7 kB / 445.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.2743, allocations: 0 / 445.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004807/0.2748, allocations: 41.22 kB / 445.2 MB, free: 33.38 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 0.0001007/0.2749, allocations: 108.7 kB / 445.3 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.2753, allocations: 205.3 kB / 445.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2753, allocations: 0 / 445.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001394/0.2754, allocations: 92.25 kB / 445.6 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.2758, allocations: 39.7 kB / 445.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.2767, allocations: 0.5974 MB / 446.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.2769, allocations: 0.7565 MB / 447 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.2771, allocations: 40.56 kB / 447.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.2772, allocations: 22.38 kB / 447.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2772, allocations: 0 / 447.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of Templates: time 0.004602/0.2818, allocations: 2.041 MB / 449.1 MB, free: 31.91 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)