Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009974/0.0009973, allocations: 92.16 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.001157/0.001157, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.327/1.327, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1974/0.1974, allocations: 22.35 MB / 314.4 MB, free: 13.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 8 kB / 383.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 55.98 MB / 439.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.001568/0.2569, allocations: 1.631 MB / 440.9 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.2577, allocations: 0.6525 MB / 441.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.2578, allocations: 2.5 kB / 441.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2581, allocations: 60.81 kB / 441.6 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.2583, allocations: 91.09 kB / 441.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.2585, allocations: 145.3 kB / 441.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.2588, allocations: 416.1 kB / 442.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.259, allocations: 51.45 kB / 442.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.2591, allocations: 149.4 kB / 442.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.2593, allocations: 180.7 kB / 442.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.2594, allocations: 12.38 kB / 442.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.948e-05/0.2594, allocations: 9.5 kB / 442.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.286e-05/0.2595, allocations: 82.08 kB / 442.7 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.244e-05/0.2596, allocations: 129.9 kB / 442.8 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2597, allocations: 195.9 kB / 443 MB, free: 37.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2598, allocations: 0 / 443 MB, free: 37.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2598, allocations: 0 / 443 MB, free: 37.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2598, allocations: 0 / 443 MB, free: 37.01 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001523/0.2613, allocations: 0.7154 MB / 443.7 MB, free: 36.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2613, allocations: 14.44 kB / 443.7 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.2614, allocations: 34.75 kB / 443.8 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.2622, allocations: 413 kB / 444.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2622, allocations: 13.59 kB / 444.2 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.2623, allocations: 17.09 kB / 444.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.2625, allocations: 171.9 kB / 444.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2626, allocations: 3.188 kB / 444.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.2626, allocations: 4 kB / 444.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2626, allocations: 3.281 kB / 444.4 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.2629, allocations: 182.7 kB / 444.6 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.2638, allocations: 0.6554 MB / 445.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004425/0.2643, allocations: 256.4 kB / 445.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.2644, allocations: 101 kB / 445.6 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.2645, allocations: 7.359 kB / 445.6 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.2645, allocations: 38.44 kB / 445.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.2645, allocations: 7.125 kB / 445.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005522/0.2651, allocations: 342.7 kB / 446 MB, free: 35.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.2651, allocations: 51.41 kB / 446 MB, free: 35.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007882/0.2659, allocations: 423.6 kB / 446.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2659, allocations: 29.7 kB / 446.4 MB, free: 35.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.266, allocations: 159.9 kB / 446.6 MB, free: 34.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.2661, allocations: 80.69 kB / 446.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.2661, allocations: 30.02 kB / 446.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.558e-05/0.2662, allocations: 339.2 kB / 447 MB, free: 34.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.2663, allocations: 87.48 kB / 447.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2664, allocations: 92 kB / 447.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.2686, allocations: 0.6375 MB / 447.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2687, allocations: 3.938 kB / 447.9 MB, free: 34.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004133/0.2691, allocations: 317.8 kB / 448.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.2691, allocations: 5.375 kB / 448.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2691, allocations: 0 / 448.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2691, allocations: 10.81 kB / 448.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.2694, allocations: 48.92 kB / 448.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2694, allocations: 4 kB / 448.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.2698, allocations: 61.34 kB / 448.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.2698, allocations: 5.75 kB / 448.3 MB, free: 34.19 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] FA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0001769/0.27, allocations: 173.3 kB / 448.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.27, allocations: 27.52 kB / 448.5 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.2705, allocations: 317.3 kB / 448.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2705, allocations: 2.469 kB / 448.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2705, allocations: 0 / 448.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.2706, allocations: 0.625 kB / 448.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.2709, allocations: 345 kB / 449.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2709, allocations: 3.375 kB / 449.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.2712, allocations: 50.02 kB / 449.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2712, allocations: 0 / 449.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.2712, allocations: 15.09 kB / 449.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2712, allocations: 0 / 449.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2712, allocations: 0 / 449.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.2718, allocations: 0.4909 MB / 449.7 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.2718, allocations: 115.3 kB / 449.8 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.2719, allocations: 12.28 kB / 449.8 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.2723, allocations: 56.27 kB / 449.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.2724, allocations: 13.08 kB / 449.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2724, allocations: 8.156 kB / 449.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006842/0.2731, allocations: 334.9 kB / 450.2 MB, free: 33.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.52e-07/0.2731, allocations: 0 / 450.2 MB, free: 33.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.2734, allocations: 49.56 kB / 450.3 MB, free: 33.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,FA2.x_scaled[1],FA1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.195e-05/0.2734, allocations: 104 kB / 450.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.2738, allocations: 245.7 kB / 450.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2738, allocations: 0 / 450.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.274, allocations: 116.8 kB / 450.7 MB, free: 32.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.2745, allocations: 58.03 kB / 450.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009826/0.2755, allocations: 0.8028 MB / 451.6 MB, free: 32.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.2756, allocations: 0.7898 MB / 452.4 MB, free: 31.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.2758, allocations: 28.7 kB / 452.4 MB, free: 31.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2758, allocations: 0 / 452.4 MB, free: 31.67 MB / 350.1 MB Notification: Performance of Templates: time 0.004541/0.2803, allocations: 3.637 MB / 456 MB, free: 31.39 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)