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.005529/0.005529, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001363/0.001363, allocations: 197.1 kB / 16.79 MB, free: 6.254 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.296/1.296, allocations: 222.9 MB / 240.5 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.216/0.216, allocations: 22.34 MB / 313 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 59.91 kB / 380.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2631, allocations: 54.94 MB / 435.7 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.0028/0.2659, allocations: 1.848 MB / 437.5 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.2668, allocations: 0.5677 MB / 438.1 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.849e-05/0.2669, allocations: 10.78 kB / 438.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.2672, allocations: 29.19 kB / 438.2 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.2674, allocations: 52.75 kB / 438.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.2676, allocations: 85.38 kB / 438.3 MB, free: 37.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.2679, allocations: 245.9 kB / 438.5 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.268, allocations: 46.48 kB / 438.6 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2681, allocations: 87.61 kB / 438.7 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.2683, allocations: 122.7 kB / 438.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.2684, allocations: 9.844 kB / 438.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.868e-05/0.2684, allocations: 9.219 kB / 438.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.2685, allocations: 50.78 kB / 438.8 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.963e-05/0.2686, allocations: 78.05 kB / 438.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.2687, allocations: 131.1 kB / 439.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2687, allocations: 0 / 439.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2687, allocations: 0 / 439.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.2687, allocations: 0 / 439.1 MB, free: 37.64 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.001199/0.2699, allocations: 0.5672 MB / 439.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.27, allocations: 16.09 kB / 439.6 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.27, allocations: 23.53 kB / 439.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.2706, allocations: 317.4 kB / 440 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.2706, allocations: 3.188 kB / 440 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.2706, allocations: 12.81 kB / 440 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.2709, allocations: 135.8 kB / 440.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2709, allocations: 0 / 440.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.2709, allocations: 8 kB / 440.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.2709, allocations: 2.844 kB / 440.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.2711, allocations: 114.9 kB / 440.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.2719, allocations: 0.5156 MB / 440.8 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.2723, allocations: 186.8 kB / 440.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.2725, allocations: 73.09 kB / 441 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.2725, allocations: 2.625 kB / 441 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.2725, allocations: 38.56 kB / 441 MB, free: 36.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.2725, allocations: 0 / 441 MB, free: 36.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004556/0.273, allocations: 239.1 kB / 441.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.273, allocations: 54.06 kB / 441.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.2735, allocations: 278.9 kB / 441.6 MB, free: 36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.2735, allocations: 25.7 kB / 441.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.2736, allocations: 132.6 kB / 441.8 MB, free: 35.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.2736, allocations: 53.97 kB / 441.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.2737, allocations: 31.44 kB / 441.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.2738, allocations: 332.6 kB / 442.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2739, allocations: 63.44 kB / 442.2 MB, free: 35.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-05/0.274, allocations: 62.86 kB / 442.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/0.2757, allocations: 464.1 kB / 442.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2757, allocations: 0 / 442.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003331/0.276, allocations: 218.5 kB / 443 MB, free: 35.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2761, allocations: 5.938 kB / 443 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2761, allocations: 0 / 443 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.2761, allocations: 3.938 kB / 443 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.2763, allocations: 35.12 kB / 443 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2763, allocations: 7.938 kB / 443 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.2765, allocations: 37.69 kB / 443 MB, free: 35.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2766, allocations: 9.812 kB / 443.1 MB, free: 35.19 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.2767, allocations: 154.2 kB / 443.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.2768, allocations: 24.11 kB / 443.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.2772, allocations: 223.9 kB / 443.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2772, allocations: 0 / 443.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2772, allocations: 3.938 kB / 443.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.2772, allocations: 6.578 kB / 443.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.2774, allocations: 284.3 kB / 443.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2775, allocations: 4 kB / 443.7 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.2777, allocations: 35.81 kB / 443.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2777, allocations: 0 / 443.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.2777, allocations: 7.969 kB / 443.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2777, allocations: 0 / 443.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2777, allocations: 3.938 kB / 443.8 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.2782, allocations: 377.5 kB / 444.2 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.2783, allocations: 108.7 kB / 444.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.2783, allocations: 6.844 kB / 444.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002609/0.2786, allocations: 27.5 kB / 444.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.2786, allocations: 9.141 kB / 444.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.2786, allocations: 10.27 kB / 444.3 MB, free: 34.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003641/0.279, allocations: 219 kB / 444.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.279, allocations: 0 / 444.5 MB, free: 34.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.2793, allocations: 35.53 kB / 444.6 MB, free: 34.22 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 (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.215e-05/0.2794, allocations: 102 kB / 444.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.2797, allocations: 163.4 kB / 444.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2797, allocations: 3.938 kB / 444.8 MB, free: 34.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.2798, allocations: 89.77 kB / 444.9 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2802, allocations: 39.94 kB / 445 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008404/0.2811, allocations: 0.5569 MB / 445.5 MB, free: 33.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.2813, allocations: 0.7463 MB / 446.3 MB, free: 32.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.2814, allocations: 22.27 kB / 446.3 MB, free: 32.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2814, allocations: 0 / 446.3 MB, free: 32.96 MB / 350.1 MB Notification: Performance of Templates: time 0.003693/0.2851, allocations: 2.524 MB / 448.8 MB, free: 32.75 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)