Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, 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.001203/0.001203, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2081/0.2081, allocations: 22.36 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 68.03 kB / 380.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2726, allocations: 54.94 MB / 435.2 MB, free: 39.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002667/0.2753, allocations: 2.059 MB / 437.3 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2765, allocations: 0.6694 MB / 438 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.2767, allocations: 6.719 kB / 438 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.2771, allocations: 63.84 kB / 438 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.2774, allocations: 83.42 kB / 438.1 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.2777, allocations: 153.5 kB / 438.3 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.278, allocations: 452.4 kB / 438.7 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.2782, allocations: 82.75 kB / 438.8 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.2784, allocations: 185.9 kB / 439 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.2786, allocations: 209.3 kB / 439.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.2787, allocations: 25.31 kB / 439.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.646e-05/0.2787, allocations: 22.44 kB / 439.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2788, allocations: 101.1 kB / 439.3 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.2789, allocations: 137.3 kB / 439.4 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.2791, allocations: 286.8 kB / 439.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2791, allocations: 0 / 439.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2791, allocations: 3.062 kB / 439.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2791, allocations: 0 / 439.7 MB, free: 36.95 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001745/0.2809, allocations: 0.7673 MB / 440.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2809, allocations: 8.625 kB / 440.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.281, allocations: 40.88 kB / 440.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.2819, allocations: 419.9 kB / 441 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2819, allocations: 12.86 kB / 441 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.2819, allocations: 21.5 kB / 441 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.2823, allocations: 203.6 kB / 441.2 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2823, allocations: 0 / 441.2 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.2823, allocations: 10.91 kB / 441.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2823, allocations: 2.781 kB / 441.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/0.2827, allocations: 196.2 kB / 441.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.2837, allocations: 0.7 MB / 442.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.2843, allocations: 317.2 kB / 442.4 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.2845, allocations: 122.3 kB / 442.5 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.2846, allocations: 2.906 kB / 442.5 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.2846, allocations: 42.5 kB / 442.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.413e-06/0.2846, allocations: 0 / 442.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006092/0.2852, allocations: 368.9 kB / 442.9 MB, free: 35.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2852, allocations: 54.38 kB / 443 MB, free: 35.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007892/0.286, allocations: 426.2 kB / 443.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.2861, allocations: 32.7 kB / 443.4 MB, free: 34.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.2861, allocations: 158.9 kB / 443.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.147e-05/0.2862, allocations: 88.78 kB / 443.7 MB, free: 34.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.181e-05/0.2863, allocations: 49.08 kB / 443.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.2864, allocations: 341.9 kB / 444.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.2865, allocations: 97.48 kB / 444.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2867, allocations: 99.48 kB / 444.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.2889, allocations: 0.6678 MB / 444.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2889, allocations: 0 / 444.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004486/0.2894, allocations: 328.7 kB / 445.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2894, allocations: 4.219 kB / 445.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2894, allocations: 0 / 445.2 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2894, allocations: 4 kB / 445.2 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.2897, allocations: 58.77 kB / 445.3 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2897, allocations: 0 / 445.3 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003805/0.2901, allocations: 61.72 kB / 445.4 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.2901, allocations: 9.781 kB / 445.4 MB, free: 33.98 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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.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 (31): * Single equations (assignments): 31 * 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.0001905/0.2903, allocations: 177.9 kB / 445.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.2904, allocations: 33.88 kB / 445.6 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005308/0.2909, allocations: 325 kB / 445.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2909, allocations: 2.625 kB / 445.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.299e-06/0.291, allocations: 3.328 kB / 445.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.291, allocations: 0 / 445.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.2913, allocations: 372.6 kB / 446.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2913, allocations: 3.938 kB / 446.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.2916, allocations: 50.48 kB / 446.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2917, allocations: 0 / 446.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.2917, allocations: 6.469 kB / 446.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2917, allocations: 7.656 kB / 446.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2917, allocations: 0 / 446.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.2923, allocations: 0.5202 MB / 446.9 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.2924, allocations: 117.4 kB / 447 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.2924, allocations: 7.594 kB / 447 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.2929, allocations: 53.17 kB / 447 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.2929, allocations: 19.09 kB / 447 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.293, allocations: 9.406 kB / 447.1 MB, free: 32.97 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000673/0.2936, allocations: 332 kB / 447.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2937, allocations: 0 / 447.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002894/0.2939, allocations: 59.16 kB / 447.4 MB, free: 32.83 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,CA2.x_scaled[1],CA1.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 (26): * Single equations (assignments): 26 * 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 8.883e-05/0.294, allocations: 109.8 kB / 447.5 MB, free: 32.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004481/0.2945, allocations: 284.8 kB / 447.8 MB, free: 32.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2945, allocations: 0 / 447.8 MB, free: 32.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.2947, allocations: 135.1 kB / 448 MB, free: 32.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004596/0.2952, allocations: 57.75 kB / 448 MB, free: 32.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.2963, allocations: 0.7895 MB / 448.8 MB, free: 32.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2965, allocations: 0.7995 MB / 449.6 MB, free: 31.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.2967, allocations: 62.86 kB / 449.7 MB, free: 31.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.2968, allocations: 24.06 kB / 449.7 MB, free: 31.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2968, allocations: 0 / 449.7 MB, free: 31.39 MB / 350.1 MB Notification: Performance of Templates: time 0.005458/0.3023, allocations: 2.899 MB / 452.6 MB, free: 31.18 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)