Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001335, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001625/0.001624, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2939/0.2939, allocations: 22.33 MB / 313.3 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003501, allocations: 8 kB / 381.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3251, allocations: 55.98 MB / 437.8 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002376/0.3275, allocations: 1.475 MB / 439.3 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009735/0.3285, allocations: 0.5371 MB / 439.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-05/0.3286, allocations: 3 kB / 439.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.329, allocations: 35 kB / 439.8 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3291, allocations: 60.14 kB / 439.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.3293, allocations: 67.42 kB / 440 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.3295, allocations: 146.8 kB / 440.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3296, allocations: 33.8 kB / 440.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3298, allocations: 107.1 kB / 440.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.33, allocations: 101.6 kB / 440.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.33, allocations: 7.25 kB / 440.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.733e-05/0.3301, allocations: 4.656 kB / 440.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.3301, allocations: 54.95 kB / 440.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.3302, allocations: 47.64 kB / 440.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.3303, allocations: 125.3 kB / 440.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.3303, allocations: 0 / 440.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3304, allocations: 0 / 440.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.3304, allocations: 2.625 kB / 440.6 MB, free: 37.61 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001156/0.3315, allocations: 0.5417 MB / 441.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3316, allocations: 8.281 kB / 441.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.3316, allocations: 26 kB / 441.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.3322, allocations: 315.2 kB / 441.5 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.3322, allocations: 6.281 kB / 441.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.3323, allocations: 19.56 kB / 441.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.3326, allocations: 124 kB / 441.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3326, allocations: 2.969 kB / 441.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.3326, allocations: 7.953 kB / 441.6 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3326, allocations: 7 kB / 441.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.3329, allocations: 125.7 kB / 441.8 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000853/0.3337, allocations: 0.5124 MB / 442.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.3341, allocations: 176.3 kB / 442.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.3342, allocations: 6.562 kB / 442.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.3342, allocations: 34.56 kB / 442.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.233e-06/0.3342, allocations: 4 kB / 442.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004726/0.3347, allocations: 242.1 kB / 442.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.3347, allocations: 54.56 kB / 442.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.3352, allocations: 268.8 kB / 443 MB, free: 36.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3352, allocations: 29.7 kB / 443.1 MB, free: 36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.3353, allocations: 128.1 kB / 443.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.3354, allocations: 56 kB / 443.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.3354, allocations: 2.938 kB / 443.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.3355, allocations: 335.1 kB / 443.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.3356, allocations: 57.64 kB / 443.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.3357, allocations: 59.86 kB / 443.7 MB, free: 35.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.3358, allocations: 73.58 kB / 443.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3358, allocations: 0 / 443.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002944/0.3361, allocations: 219.5 kB / 444 MB, free: 35.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3361, allocations: 6.125 kB / 444 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3361, allocations: 0 / 444 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3361, allocations: 6.875 kB / 444 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3363, allocations: 34.27 kB / 444 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3364, allocations: 4 kB / 444 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.3366, allocations: 35.14 kB / 444.1 MB, free: 35.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.3366, allocations: 14.2 kB / 444.1 MB, free: 35.32 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.3368, allocations: 159.7 kB / 444.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.3368, allocations: 24.34 kB / 444.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003713/0.3372, allocations: 227 kB / 444.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3372, allocations: 0 / 444.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3372, allocations: 3.688 kB / 444.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3372, allocations: 0 / 444.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.3375, allocations: 282.8 kB / 444.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3375, allocations: 0 / 444.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3377, allocations: 33.95 kB / 444.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.3377, allocations: 7.141 kB / 444.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.3377, allocations: 4 kB / 444.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3377, allocations: 6.875 kB / 444.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3377, allocations: 3.422 kB / 444.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.3382, allocations: 380.7 kB / 445.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.3382, allocations: 100.7 kB / 445.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.3383, allocations: 6.656 kB / 445.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.3385, allocations: 28.52 kB / 445.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.3386, allocations: 12.95 kB / 445.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3386, allocations: 6.406 kB / 445.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.339, allocations: 220.6 kB / 445.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.339, allocations: 0 / 445.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.3392, allocations: 43.81 kB / 445.6 MB, free: 34.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.404e-05/0.3393, allocations: 96.03 kB / 445.7 MB, free: 34.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.3396, allocations: 161.3 kB / 445.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3396, allocations: 0 / 445.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.3397, allocations: 79.7 kB / 445.9 MB, free: 34.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.34, allocations: 38.47 kB / 446 MB, free: 34.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007743/0.3408, allocations: 0.5356 MB / 446.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.341, allocations: 0.7532 MB / 447.2 MB, free: 33.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3411, allocations: 41.25 kB / 447.3 MB, free: 33.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.3412, allocations: 19.55 kB / 447.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3412, allocations: 0 / 447.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of Templates: time 0.003991/0.3452, allocations: 1.767 MB / 449.1 MB, free: 33 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile Environment - environmentSimulation: (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) Environment - environmentSimulation: