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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00107/0.00107, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1964/0.1964, allocations: 22.35 MB / 312.3 MB, free: 12.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.89 kB / 380.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2784, allocations: 54.94 MB / 435 MB, free: 39.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002747/0.2812, allocations: 1.985 MB / 437 MB, free: 38.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008867/0.2821, allocations: 0.6635 MB / 437.7 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2822, allocations: 0 / 437.7 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.2825, allocations: 61.53 kB / 437.8 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.2828, allocations: 87.8 kB / 437.8 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.283, allocations: 141.7 kB / 438 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.2833, allocations: 419.6 kB / 438.4 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2835, allocations: 52.5 kB / 438.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.2836, allocations: 158.4 kB / 438.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.2838, allocations: 189.3 kB / 438.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.349e-05/0.2839, allocations: 18 kB / 438.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.2839, allocations: 10.47 kB / 438.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.2841, allocations: 83.53 kB / 438.9 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.97e-05/0.2841, allocations: 109 kB / 439 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2843, allocations: 256.9 kB / 439.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2844, allocations: 6.688 kB / 439.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2844, allocations: 0 / 439.3 MB, free: 37.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2844, allocations: 0 / 439.3 MB, free: 37.27 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.001685/0.2861, allocations: 0.7447 MB / 440 MB, free: 36.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2861, allocations: 14.84 kB / 440 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.2862, allocations: 33.73 kB / 440 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008071/0.287, allocations: 420.6 kB / 440.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.287, allocations: 7.25 kB / 440.5 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.2871, allocations: 16.09 kB / 440.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.2873, allocations: 174.2 kB / 440.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2874, allocations: 4 kB / 440.7 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.2874, allocations: 6.875 kB / 440.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.2874, allocations: 2.562 kB / 440.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003161/0.2877, allocations: 180.7 kB / 440.8 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.2887, allocations: 0.6526 MB / 441.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.2892, allocations: 250.5 kB / 441.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.2894, allocations: 111.1 kB / 441.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.2894, allocations: 3.156 kB / 441.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.2895, allocations: 45.16 kB / 441.9 MB, free: 35.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.2895, allocations: 0 / 441.9 MB, free: 35.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006299/0.2901, allocations: 337.9 kB / 442.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.2901, allocations: 54.22 kB / 442.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.2909, allocations: 421.5 kB / 442.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.291, allocations: 29.7 kB / 442.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.2911, allocations: 159.8 kB / 442.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.2911, allocations: 83.92 kB / 443 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.2912, allocations: 41.41 kB / 443 MB, free: 35.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.2913, allocations: 340.8 kB / 443.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2914, allocations: 89.69 kB / 443.4 MB, free: 34.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.2916, allocations: 90.7 kB / 443.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002156/0.2937, allocations: 0.6233 MB / 444.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2938, allocations: 0 / 444.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004126/0.2942, allocations: 315.9 kB / 444.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2942, allocations: 9.844 kB / 444.4 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2942, allocations: 3.938 kB / 444.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2942, allocations: 6.844 kB / 444.5 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.2945, allocations: 47.86 kB / 444.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2945, allocations: 0 / 444.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.2949, allocations: 56.58 kB / 444.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.2949, allocations: 9.844 kB / 444.6 MB, free: 34.42 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.0001817/0.2951, allocations: 171.7 kB / 444.7 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.2951, allocations: 29 kB / 444.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005145/0.2957, allocations: 317.4 kB / 445.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.2957, allocations: 3.719 kB / 445.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2957, allocations: 0 / 445.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2957, allocations: 0 / 445.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.296, allocations: 354.3 kB / 445.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.296, allocations: 0 / 445.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.2963, allocations: 40 kB / 445.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2963, allocations: 4 kB / 445.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.2963, allocations: 14.03 kB / 445.5 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2964, allocations: 3 kB / 445.5 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2964, allocations: 3.938 kB / 445.5 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.2969, allocations: 491.5 kB / 446 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.505e-05/0.297, allocations: 115.2 kB / 446.1 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.2971, allocations: 17.72 kB / 446.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.2975, allocations: 51.14 kB / 446.1 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.2976, allocations: 18.94 kB / 446.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2976, allocations: 3.062 kB / 446.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006533/0.2982, allocations: 330.9 kB / 446.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2982, allocations: 0 / 446.5 MB, free: 33.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.2985, allocations: 51.94 kB / 446.5 MB, free: 33.31 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 9.28e-05/0.2986, allocations: 110.2 kB / 446.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003847/0.299, allocations: 243.1 kB / 446.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.299, allocations: 0 / 446.9 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.2992, allocations: 118.6 kB / 447 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.2996, allocations: 53.28 kB / 447.1 MB, free: 33.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.3007, allocations: 0.7341 MB / 447.8 MB, free: 32.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.3009, allocations: 0.7867 MB / 448.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001586/0.3011, allocations: 60.22 kB / 448.6 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-05/0.3012, allocations: 31.17 kB / 448.7 MB, free: 31.94 MB / 350.1 MB Notification: Performance of SimCode: time 2.014e-06/0.3012, allocations: 0 / 448.7 MB, free: 31.94 MB / 350.1 MB Notification: Performance of Templates: time 0.005419/0.3066, allocations: 2.684 MB / 451.3 MB, free: 31.73 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)