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.0009945/0.0009947, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.00108/0.00108, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2181/0.2181, allocations: 22.34 MB / 313.3 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004905, allocations: 8 kB / 381.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3393, allocations: 55.98 MB / 437.8 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.001687/0.3411, allocations: 1.601 MB / 439.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008487/0.3419, allocations: 0.6277 MB / 440 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.3421, allocations: 2.781 kB / 440 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003292/0.3424, allocations: 61.09 kB / 440.1 MB, free: 37.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.3426, allocations: 92.88 kB / 440.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3428, allocations: 116.7 kB / 440.3 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.3431, allocations: 243.8 kB / 440.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.3432, allocations: 46.92 kB / 440.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.3434, allocations: 183.7 kB / 440.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.3436, allocations: 171.7 kB / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.3437, allocations: 8.375 kB / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.3437, allocations: 10.72 kB / 441 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.3438, allocations: 85.83 kB / 441 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.3438, allocations: 55.95 kB / 441.1 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.344, allocations: 187.3 kB / 441.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.344, allocations: 0 / 441.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.344, allocations: 0 / 441.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.344, allocations: 0 / 441.3 MB, free: 37.14 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.001542/0.3456, allocations: 0.7206 MB / 442 MB, free: 36.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3456, allocations: 8.656 kB / 442 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.3457, allocations: 30.34 kB / 442 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008325/0.3465, allocations: 409.9 kB / 442.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3466, allocations: 9.594 kB / 442.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.3466, allocations: 12.31 kB / 442.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002732/0.3469, allocations: 177.6 kB / 442.6 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3469, allocations: 3.938 kB / 442.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.3469, allocations: 7.953 kB / 442.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3469, allocations: 6.219 kB / 442.6 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.3472, allocations: 180.4 kB / 442.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009885/0.3482, allocations: 0.6638 MB / 443.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.3487, allocations: 240.4 kB / 443.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.3487, allocations: 2.812 kB / 443.7 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.3488, allocations: 45.31 kB / 443.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/0.3488, allocations: 3.984 kB / 443.8 MB, free: 35.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0005991/0.3494, allocations: 338.7 kB / 444.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.3494, allocations: 55.31 kB / 444.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.3502, allocations: 424.7 kB / 444.6 MB, free: 35.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3502, allocations: 29.12 kB / 444.6 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.73e-05/0.3503, allocations: 157.4 kB / 444.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.111e-05/0.3504, allocations: 77.81 kB / 444.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/0.3504, allocations: 7.031 kB / 444.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.3505, allocations: 342.7 kB / 445.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.3507, allocations: 92.52 kB / 445.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3508, allocations: 84.73 kB / 445.3 MB, free: 34.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.351, allocations: 105.5 kB / 445.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.351, allocations: 0 / 445.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004297/0.3514, allocations: 310.1 kB / 445.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3515, allocations: 5.625 kB / 445.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3515, allocations: 0 / 445.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3515, allocations: 0 / 445.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.3517, allocations: 54.3 kB / 445.8 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.3518, allocations: 4 kB / 445.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.3521, allocations: 62.39 kB / 445.9 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3521, allocations: 6.344 kB / 445.9 MB, free: 34.51 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: 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] Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.3523, allocations: 176.5 kB / 446 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.3524, allocations: 27.19 kB / 446.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.3529, allocations: 318.5 kB / 446.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3529, allocations: 2.688 kB / 446.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3529, allocations: 0 / 446.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3529, allocations: 3.469 kB / 446.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.3533, allocations: 356.7 kB / 446.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3533, allocations: 0 / 446.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.3535, allocations: 46.7 kB / 446.8 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3536, allocations: 3.938 kB / 446.8 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3536, allocations: 13.02 kB / 446.8 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3536, allocations: 0 / 446.8 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3536, allocations: 0 / 446.8 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005528/0.3542, allocations: 499.3 kB / 447.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.3542, allocations: 115.7 kB / 447.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.3543, allocations: 6.938 kB / 447.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.3547, allocations: 58.05 kB / 447.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.3547, allocations: 9.203 kB / 447.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.3548, allocations: 12.88 kB / 447.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008591/0.3556, allocations: 330.5 kB / 447.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.3556, allocations: 0 / 447.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004403/0.3561, allocations: 48.34 kB / 447.9 MB, free: 33.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.3562, allocations: 106.2 kB / 448 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.3566, allocations: 235.6 kB / 448.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3566, allocations: 4 kB / 448.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.3568, allocations: 121.8 kB / 448.3 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3572, allocations: 45.22 kB / 448.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.3586, allocations: 0.7455 MB / 449.1 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.3588, allocations: 0.7984 MB / 449.9 MB, free: 32.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.359, allocations: 64.8 kB / 450 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.759e-05/0.3591, allocations: 26.56 kB / 450 MB, free: 32.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3591, allocations: 0 / 450 MB, free: 32.04 MB / 350.1 MB Notification: Performance of Templates: time 0.005782/0.3649, allocations: 2.555 MB / 452.5 MB, free: 31.85 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: