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.001138/0.001138, allocations: 108 kB / 15.6 MB, free: 132 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.001377/0.001377, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.493/1.493, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2205/0.2205, allocations: 22.35 MB / 312.7 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 55.91 kB / 380.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.34, allocations: 54.95 MB / 435.8 MB, free: 39.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003225/0.3433, allocations: 1.8 MB / 437.6 MB, free: 38.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3443, allocations: 0.5651 MB / 438.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.3444, allocations: 3.094 kB / 438.1 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.3448, allocations: 49.22 kB / 438.2 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.345, allocations: 54.77 kB / 438.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.3452, allocations: 92.39 kB / 438.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.3454, allocations: 250.4 kB / 438.6 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3455, allocations: 37.09 kB / 438.6 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3457, allocations: 105.4 kB / 438.7 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3458, allocations: 121.6 kB / 438.8 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.3459, allocations: 20.22 kB / 438.8 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.033e-05/0.3459, allocations: 22.62 kB / 438.9 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.831e-05/0.346, allocations: 56.31 kB / 438.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.3461, allocations: 76.25 kB / 439 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.3463, allocations: 173.9 kB / 439.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3463, allocations: 0 / 439.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3463, allocations: 2.906 kB / 439.2 MB, free: 37.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3463, allocations: 0 / 439.2 MB, free: 37.66 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.001206/0.3475, allocations: 0.5732 MB / 439.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3476, allocations: 8.781 kB / 439.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.3476, allocations: 28.53 kB / 439.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.3482, allocations: 306.6 kB / 440.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.3482, allocations: 13.59 kB / 440.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.3483, allocations: 12.16 kB / 440.1 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.3485, allocations: 136.1 kB / 440.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3485, allocations: 0 / 440.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.3485, allocations: 4 kB / 440.2 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3485, allocations: 6.562 kB / 440.2 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002091/0.3488, allocations: 121.1 kB / 440.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.3495, allocations: 0.5131 MB / 440.9 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.3499, allocations: 178 kB / 441 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.35, allocations: 74.97 kB / 441.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.35, allocations: 6.844 kB / 441.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.35, allocations: 34.56 kB / 441.2 MB, free: 36.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.35, allocations: 0 / 441.2 MB, free: 36.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004349/0.3505, allocations: 242.4 kB / 441.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.3505, allocations: 58.31 kB / 441.5 MB, free: 36.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.3509, allocations: 269.9 kB / 441.7 MB, free: 36.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.351, allocations: 33.7 kB / 441.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.351, allocations: 126.1 kB / 441.9 MB, free: 35.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.3511, allocations: 53.61 kB / 441.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.3511, allocations: 41.67 kB / 442 MB, free: 35.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.3512, allocations: 330.9 kB / 442.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.922e-05/0.3513, allocations: 59.7 kB / 442.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.3514, allocations: 67.17 kB / 442.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.353, allocations: 459.9 kB / 442.9 MB, free: 35.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.353, allocations: 0 / 442.9 MB, free: 35.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002966/0.3533, allocations: 223.1 kB / 443.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3534, allocations: 5.688 kB / 443.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3534, allocations: 3.938 kB / 443.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3534, allocations: 2.844 kB / 443.1 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.3536, allocations: 40.53 kB / 443.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.3536, allocations: 6.906 kB / 443.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.3538, allocations: 39.25 kB / 443.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3539, allocations: 3.031 kB / 443.2 MB, free: 35.2 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.0001682/0.354, allocations: 151.3 kB / 443.3 MB, free: 35.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3541, allocations: 20.28 kB / 443.3 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.3545, allocations: 222.7 kB / 443.6 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3545, allocations: 3.719 kB / 443.6 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3545, allocations: 3.938 kB / 443.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3545, allocations: 0 / 443.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.3547, allocations: 291.1 kB / 443.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3548, allocations: 0 / 443.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.355, allocations: 36.2 kB / 443.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.355, allocations: 0 / 443.9 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.355, allocations: 6.875 kB / 443.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.355, allocations: 4 kB / 443.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.355, allocations: 3.938 kB / 443.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004426/0.3555, allocations: 384.2 kB / 444.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.3555, allocations: 97.91 kB / 444.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3556, allocations: 7.031 kB / 444.4 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.3558, allocations: 32.44 kB / 444.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.533e-05/0.3559, allocations: 9.328 kB / 444.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3559, allocations: 6.062 kB / 444.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.3563, allocations: 218.4 kB / 444.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3563, allocations: 0 / 444.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3566, allocations: 36.56 kB / 444.7 MB, free: 34.24 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.338e-05/0.3567, allocations: 103.6 kB / 444.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.357, allocations: 175.1 kB / 445 MB, free: 34.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3571, allocations: 0 / 445 MB, free: 34.1 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.3572, allocations: 90.52 kB / 445 MB, free: 34.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3576, allocations: 43.33 kB / 445.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/0.3584, allocations: 478.7 kB / 445.6 MB, free: 33.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.3586, allocations: 0.7498 MB / 446.3 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.3588, allocations: 37.78 kB / 446.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.3588, allocations: 24.56 kB / 446.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3588, allocations: 0 / 446.4 MB, free: 33.07 MB / 350.1 MB Notification: Performance of Templates: time 0.004368/0.3632, allocations: 1.985 MB / 448.3 MB, free: 32.9 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)