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.001029/0.001029, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001334/0.001334, allocations: 168.7 kB / 15.95 MB, free: 204 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.545/1.545, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2526/0.2526, allocations: 22.35 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003752, allocations: 8 kB / 381.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3252, allocations: 55.98 MB / 437.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.001793/0.3271, allocations: 1.47 MB / 439.4 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.3281, allocations: 0.5443 MB / 439.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.3283, allocations: 2.688 kB / 439.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.3287, allocations: 29.81 kB / 440 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.3289, allocations: 56.22 kB / 440 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.3291, allocations: 72.7 kB / 440.1 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002853/0.3294, allocations: 218.8 kB / 440.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3295, allocations: 27.64 kB / 440.3 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.3297, allocations: 103.4 kB / 440.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3299, allocations: 111.6 kB / 440.5 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.33, allocations: 12.36 kB / 440.5 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.94e-05/0.33, allocations: 6.688 kB / 440.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.3301, allocations: 47.39 kB / 440.6 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.3301, allocations: 49.67 kB / 440.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.3303, allocations: 121.9 kB / 440.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3303, allocations: 0 / 440.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3303, allocations: 0 / 440.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.3303, allocations: 0 / 440.8 MB, free: 37.43 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.001166/0.3315, allocations: 0.5576 MB / 441.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.3315, allocations: 9.312 kB / 441.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.3316, allocations: 23.5 kB / 441.4 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.3322, allocations: 304.9 kB / 441.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.3322, allocations: 2.906 kB / 441.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.3322, allocations: 13.72 kB / 441.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3325, allocations: 131.4 kB / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3325, allocations: 0 / 441.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3325, allocations: 3.953 kB / 441.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3325, allocations: 6.109 kB / 441.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.3328, allocations: 122.7 kB / 441.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007651/0.3335, allocations: 0.5199 MB / 442.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.334, allocations: 180 kB / 442.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.3341, allocations: 70.16 kB / 442.7 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.3341, allocations: 6.234 kB / 442.7 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3342, allocations: 34.56 kB / 442.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.3342, allocations: 0 / 442.7 MB, free: 36.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005136/0.3347, allocations: 240.9 kB / 443 MB, free: 36.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.3347, allocations: 54.22 kB / 443 MB, free: 35.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.3352, allocations: 275.9 kB / 443.3 MB, free: 35.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3352, allocations: 25.7 kB / 443.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.3353, allocations: 132.7 kB / 443.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.3354, allocations: 56.5 kB / 443.5 MB, free: 35.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.3354, allocations: 3.938 kB / 443.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.3355, allocations: 339.6 kB / 443.8 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3356, allocations: 59.5 kB / 443.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3357, allocations: 60.23 kB / 444 MB, free: 35.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3358, allocations: 76.3 kB / 444 MB, free: 35.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3358, allocations: 0 / 444 MB, free: 35.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003311/0.3362, allocations: 217.7 kB / 444.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3362, allocations: 5.438 kB / 444.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3362, allocations: 0 / 444.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3362, allocations: 3.906 kB / 444.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.3364, allocations: 37.52 kB / 444.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3364, allocations: 4 kB / 444.3 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3367, allocations: 39.89 kB / 444.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.3367, allocations: 2.812 kB / 444.3 MB, free: 35.11 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.000197/0.3369, allocations: 166.7 kB / 444.5 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.337, allocations: 20.06 kB / 444.5 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004351/0.3374, allocations: 224.2 kB / 444.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3374, allocations: 0 / 444.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3374, allocations: 0 / 444.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3374, allocations: 4 kB / 444.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.3377, allocations: 286.1 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3377, allocations: 3.938 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.338, allocations: 30.27 kB / 445 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.338, allocations: 2.594 kB / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.338, allocations: 6.656 kB / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.338, allocations: 0 / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.338, allocations: 0 / 445.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.3385, allocations: 391.4 kB / 445.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/0.3386, allocations: 98.62 kB / 445.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.3386, allocations: 8 kB / 445.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.3389, allocations: 27.22 kB / 445.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.3389, allocations: 13.14 kB / 445.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.3389, allocations: 3.062 kB / 445.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003503/0.3393, allocations: 217 kB / 445.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3393, allocations: 2.719 kB / 445.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002674/0.3396, allocations: 33.66 kB / 445.8 MB, free: 34.15 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 9.252e-05/0.3397, allocations: 103.4 kB / 445.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.34, allocations: 161.3 kB / 446.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.34, allocations: 7 kB / 446.1 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.3402, allocations: 87.81 kB / 446.2 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.3406, allocations: 42.44 kB / 446.2 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008901/0.3415, allocations: 0.5173 MB / 446.7 MB, free: 33.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.3417, allocations: 0.7504 MB / 447.5 MB, free: 32.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.3418, allocations: 43.53 kB / 447.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.347e-05/0.3419, allocations: 19.19 kB / 447.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3419, allocations: 0 / 447.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004964/0.3469, allocations: 1.769 MB / 449.3 MB, free: 32.79 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (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)