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.0013/0.0013, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001422/0.001422, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1969/0.1969, allocations: 22.35 MB / 312.4 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.89 kB / 380.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2586, allocations: 54.95 MB / 435.2 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002672/0.2613, allocations: 1.988 MB / 437.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008971/0.2622, allocations: 0.6588 MB / 437.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.808e-05/0.2623, allocations: 2.312 kB / 437.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.2627, allocations: 58 kB / 437.9 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.2629, allocations: 94.53 kB / 438 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.2631, allocations: 141.8 kB / 438.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.2635, allocations: 430.9 kB / 438.6 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2636, allocations: 55.73 kB / 438.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.2638, allocations: 177.3 kB / 438.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.264, allocations: 202.8 kB / 439 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.264, allocations: 22.84 kB / 439 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.314e-05/0.2641, allocations: 19.97 kB / 439 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2642, allocations: 99.06 kB / 439.1 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.2643, allocations: 117.3 kB / 439.3 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.2645, allocations: 267.5 kB / 439.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2645, allocations: 0 / 439.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2645, allocations: 0 / 439.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.2645, allocations: 0 / 439.5 MB, free: 37.05 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.001716/0.2662, allocations: 0.7513 MB / 440.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2663, allocations: 10.34 kB / 440.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.2663, allocations: 36.25 kB / 440.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.2672, allocations: 413.2 kB / 440.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2672, allocations: 9.938 kB / 440.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.2673, allocations: 16.62 kB / 440.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002839/0.2676, allocations: 179 kB / 440.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2676, allocations: 0 / 440.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.2676, allocations: 6.625 kB / 440.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.2676, allocations: 2.594 kB / 440.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002987/0.2679, allocations: 180.9 kB / 441.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.2689, allocations: 0.6457 MB / 441.8 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.2693, allocations: 253.9 kB / 442 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2695, allocations: 104.3 kB / 442.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.2695, allocations: 7.328 kB / 442.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.2696, allocations: 37.34 kB / 442.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.2696, allocations: 0 / 442.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005607/0.2701, allocations: 344.2 kB / 442.5 MB, free: 35.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.2702, allocations: 58.28 kB / 442.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007954/0.271, allocations: 417.7 kB / 442.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.271, allocations: 33.7 kB / 443 MB, free: 35.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.2711, allocations: 156.3 kB / 443.1 MB, free: 34.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.2711, allocations: 84.53 kB / 443.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.2712, allocations: 39.17 kB / 443.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.087e-05/0.2713, allocations: 341.8 kB / 443.6 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.2714, allocations: 86.59 kB / 443.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2716, allocations: 90.88 kB / 443.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00221/0.2738, allocations: 0.6297 MB / 444.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2738, allocations: 3.234 kB / 444.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004565/0.2743, allocations: 318.4 kB / 444.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2743, allocations: 9.625 kB / 444.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.2743, allocations: 7.266 kB / 444.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2743, allocations: 0 / 444.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.2746, allocations: 45.61 kB / 444.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2746, allocations: 0 / 444.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003857/0.275, allocations: 66.38 kB / 444.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.275, allocations: 2.938 kB / 444.8 MB, free: 34.2 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.0002307/0.2753, allocations: 175 kB / 445 MB, free: 34.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.2753, allocations: 26.88 kB / 445 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.2759, allocations: 310.5 kB / 445.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2759, allocations: 2.844 kB / 445.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2759, allocations: 0 / 445.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2759, allocations: 3.031 kB / 445.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.2762, allocations: 350.2 kB / 445.7 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2763, allocations: 2.906 kB / 445.7 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.2766, allocations: 43.31 kB / 445.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2766, allocations: 0 / 445.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.2766, allocations: 18.62 kB / 445.7 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2766, allocations: 0 / 445.7 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2766, allocations: 0 / 445.7 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.2772, allocations: 0.4908 MB / 446.2 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.2773, allocations: 111.8 kB / 446.3 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.2773, allocations: 15 kB / 446.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.2778, allocations: 48.42 kB / 446.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.2778, allocations: 14 kB / 446.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.2778, allocations: 9.062 kB / 446.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006719/0.2785, allocations: 331.7 kB / 446.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2785, allocations: 0 / 446.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.2788, allocations: 50.16 kB / 446.8 MB, free: 33.1 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.191e-05/0.2789, allocations: 112.4 kB / 446.9 MB, free: 33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.2793, allocations: 261.7 kB / 447.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2794, allocations: 0 / 447.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2795, allocations: 122.8 kB / 447.3 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.000431/0.28, allocations: 59.39 kB / 447.3 MB, free: 32.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.281, allocations: 0.7395 MB / 448.1 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.2812, allocations: 0.7899 MB / 448.9 MB, free: 31.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.2814, allocations: 68.84 kB / 448.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.2815, allocations: 25.42 kB / 449 MB, free: 31.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2815, allocations: 0 / 449 MB, free: 31.7 MB / 350.1 MB Notification: Performance of Templates: time 0.005084/0.2866, allocations: 2.822 MB / 451.8 MB, free: 31.5 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)