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.001221/0.001221, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 196 kB / 16.79 MB, free: 6.809 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.308/1.308, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2398/0.2398, allocations: 22.36 MB / 313 MB, free: 12.75 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001476, allocations: 63.91 kB / 380.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2495, allocations: 54.93 MB / 435.7 MB, free: 39.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002642/0.2521, allocations: 1.984 MB / 437.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.2531, allocations: 0.6654 MB / 438.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2532, allocations: 0 / 438.4 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.2535, allocations: 63.98 kB / 438.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.2537, allocations: 87.39 kB / 438.5 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.254, allocations: 147.9 kB / 438.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.2543, allocations: 407.7 kB / 439 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2544, allocations: 57 kB / 439.1 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.2546, allocations: 151.6 kB / 439.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2548, allocations: 193.6 kB / 439.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.2548, allocations: 13.25 kB / 439.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.2549, allocations: 10.81 kB / 439.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.255, allocations: 98.23 kB / 439.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.718e-05/0.2551, allocations: 105.3 kB / 439.7 MB, free: 37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.2552, allocations: 202.8 kB / 439.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2552, allocations: 0 / 439.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2552, allocations: 0 / 439.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.2552, allocations: 0 / 439.9 MB, free: 36.93 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.001654/0.2569, allocations: 0.7529 MB / 440.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2569, allocations: 12.12 kB / 440.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.257, allocations: 30.09 kB / 440.7 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008128/0.2578, allocations: 415.1 kB / 441.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2579, allocations: 14.06 kB / 441.1 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.2579, allocations: 12.59 kB / 441.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.2582, allocations: 178.1 kB / 441.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2582, allocations: 0 / 441.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.2582, allocations: 10.56 kB / 441.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2582, allocations: 2.562 kB / 441.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003073/0.2586, allocations: 185.3 kB / 441.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009554/0.2595, allocations: 0.6432 MB / 442.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.26, allocations: 253.2 kB / 442.3 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.2602, allocations: 109.6 kB / 442.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.2602, allocations: 11.23 kB / 442.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.2602, allocations: 37.44 kB / 442.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.2602, allocations: 0 / 442.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005765/0.2608, allocations: 346.9 kB / 442.8 MB, free: 35.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.2608, allocations: 54.41 kB / 442.9 MB, free: 35.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.2616, allocations: 417 kB / 443.3 MB, free: 35.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2617, allocations: 32.67 kB / 443.3 MB, free: 35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.2617, allocations: 154.5 kB / 443.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.2618, allocations: 86.38 kB / 443.6 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.2619, allocations: 47.58 kB / 443.6 MB, free: 34.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.826e-05/0.2619, allocations: 340.4 kB / 443.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2621, allocations: 85.23 kB / 444 MB, free: 34.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2622, allocations: 89.91 kB / 444.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.2644, allocations: 0.628 MB / 444.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2644, allocations: 0 / 444.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004212/0.2648, allocations: 314.1 kB / 445.1 MB, free: 34.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2649, allocations: 5.875 kB / 445.1 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2649, allocations: 3.938 kB / 445.1 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2649, allocations: 4 kB / 445.1 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.2651, allocations: 55.23 kB / 445.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2652, allocations: 2.844 kB / 445.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.2655, allocations: 60.28 kB / 445.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2655, allocations: 3 kB / 445.2 MB, free: 34.08 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.0001887/0.2657, allocations: 162.6 kB / 445.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.2658, allocations: 31.31 kB / 445.4 MB, free: 33.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.2663, allocations: 311 kB / 445.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2663, allocations: 3.031 kB / 445.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2663, allocations: 0 / 445.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2663, allocations: 0 / 445.7 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.2666, allocations: 355.1 kB / 446 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2666, allocations: 0 / 446 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2669, allocations: 43.92 kB / 446.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2669, allocations: 0 / 446.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.267, allocations: 14.06 kB / 446.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.267, allocations: 10.91 kB / 446.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.267, allocations: 0 / 446.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.2676, allocations: 499.8 kB / 446.6 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.2676, allocations: 107 kB / 446.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.2677, allocations: 13.16 kB / 446.7 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004078/0.2681, allocations: 52.88 kB / 446.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.2682, allocations: 23.22 kB / 446.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2682, allocations: 2.938 kB / 446.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006602/0.2688, allocations: 337.2 kB / 447.1 MB, free: 32.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2689, allocations: 0 / 447.1 MB, free: 32.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.2691, allocations: 52.12 kB / 447.2 MB, free: 32.97 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 8.113e-05/0.2692, allocations: 94.44 kB / 447.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003766/0.2696, allocations: 244.7 kB / 447.5 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2696, allocations: 2.875 kB / 447.5 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.2698, allocations: 119.7 kB / 447.6 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.2702, allocations: 53.95 kB / 447.7 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.2713, allocations: 0.7761 MB / 448.4 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.2714, allocations: 0.7852 MB / 449.2 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2716, allocations: 29 kB / 449.2 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2716, allocations: 0 / 449.2 MB, free: 31.57 MB / 350.1 MB Notification: Performance of Templates: time 0.004444/0.276, allocations: 3.678 MB / 452.9 MB, free: 31.25 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)