Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.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.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") translateModel(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.00111/0.00111, allocations: 189.9 kB / 17.2 MB, free: 5.59 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09454/0.09454, allocations: 22.33 MB / 313.4 MB, free: 8.957 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 66.92 kB / 381.4 MB, free: 41.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07632/0.07765, allocations: 54.96 MB / 436.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.00295/0.08063, allocations: 1.808 MB / 438.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.0817, allocations: 0.6585 MB / 438.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.08181, allocations: 0 / 438.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.08209, allocations: 31.73 kB / 438.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.08224, allocations: 43.7 kB / 439 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.08253, allocations: 123.8 kB / 439.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.0828, allocations: 227.5 kB / 439.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.08293, allocations: 53.53 kB / 439.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.08306, allocations: 91.67 kB / 439.4 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.08322, allocations: 91.66 kB / 439.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.08327, allocations: 20 kB / 439.5 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.178e-05/0.08331, allocations: 20 kB / 439.6 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.08341, allocations: 63.75 kB / 439.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.0835, allocations: 79.53 kB / 439.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.08372, allocations: 203.6 kB / 439.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.08373, allocations: 0 / 439.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.08374, allocations: 0 / 439.9 MB, free: 9.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.08375, allocations: 0 / 439.9 MB, free: 9.527 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001051/0.08481, allocations: 0.5723 MB / 440.5 MB, free: 8.895 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.08484, allocations: 8.031 kB / 440.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.08491, allocations: 20.75 kB / 440.5 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.08536, allocations: 276.6 kB / 440.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.08539, allocations: 20.38 kB / 440.8 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.08543, allocations: 12.38 kB / 440.8 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.08578, allocations: 184.3 kB / 441 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.0858, allocations: 0 / 441 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.08583, allocations: 8 kB / 441 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.08584, allocations: 0 / 441 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.08616, allocations: 140 kB / 441.1 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.08703, allocations: 0.5319 MB / 441.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.08755, allocations: 178.4 kB / 441.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.08774, allocations: 88.81 kB / 441.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.08777, allocations: 7.984 kB / 441.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.08806, allocations: 202.6 kB / 442.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.08807, allocations: 0 / 442.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001627/0.0897, allocations: 0.6165 MB / 442.7 MB, free: 6.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.08979, allocations: 166.2 kB / 442.9 MB, free: 6.254 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.09013, allocations: 206.7 kB / 443.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.09017, allocations: 29.7 kB / 443.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.274e-05/0.09025, allocations: 128.2 kB / 443.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.0903, allocations: 47.3 kB / 443.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.09038, allocations: 37.7 kB / 443.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09048, allocations: 330.8 kB / 443.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.09065, allocations: 72.81 kB / 443.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.09083, allocations: 91.72 kB / 443.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.09206, allocations: 0.5184 MB / 444.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.09207, allocations: 3.938 kB / 444.4 MB, free: 4.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004464/0.09252, allocations: 280.6 kB / 444.6 MB, free: 4.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.09258, allocations: 67.41 kB / 444.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.09259, allocations: 0 / 444.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.0926, allocations: 0 / 444.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.0928, allocations: 35.91 kB / 444.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.09281, allocations: 0 / 444.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.09302, allocations: 27.91 kB / 444.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.09304, allocations: 8 kB / 444.8 MB, free: 4.277 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002144/0.09326, allocations: 160 kB / 444.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001244/0.0934, allocations: 73.62 kB / 445 MB, free: 4.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009923/0.0944, allocations: 0.4983 MB / 445.5 MB, free: 3.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.666e-06/0.09442, allocations: 3.938 kB / 445.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003472/0.09477, allocations: 244.8 kB / 445.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.09481, allocations: 63.39 kB / 445.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.09482, allocations: 4 kB / 445.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-06/0.09483, allocations: 0 / 445.8 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.09498, allocations: 31.92 kB / 445.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.095, allocations: 4 kB / 445.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.09519, allocations: 27.81 kB / 445.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.09521, allocations: 8 kB / 445.9 MB, free: 3.09 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: 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: 6 ($PRE.TDO.timeNextEv,$PRE.TDO.tdo,TDO.timeNextEv,TDO.tdo,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001428/0.09536, allocations: 237.8 kB / 446.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.09541, allocations: 15.81 kB / 446.1 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.09546, allocations: 21.53 kB / 446.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.09547, allocations: 0 / 446.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.09548, allocations: 4 kB / 446.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.09549, allocations: 3.984 kB / 446.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.09574, allocations: 277.4 kB / 446.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.09575, allocations: 0 / 446.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.09589, allocations: 23.92 kB / 446.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/0.09626, allocations: 142.5 kB / 446.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.0963, allocations: 11.98 kB / 446.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000891/0.09719, allocations: 0.8036 MB / 447.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.09721, allocations: 3.938 kB / 447.4 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009417/0.09816, allocations: 0.4992 MB / 447.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.09823, allocations: 92.98 kB / 448 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.761e-05/0.09828, allocations: 8 kB / 448 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.09851, allocations: 23.97 kB / 448 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.09858, allocations: 11.98 kB / 448 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.0986, allocations: 4 kB / 448 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002906/0.0989, allocations: 176.2 kB / 448.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.09891, allocations: 0 / 448.2 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.09924, allocations: 63.75 kB / 448.3 MB, free: 0.543 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.FO.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TDO.tdo,TDO.timeNextEv) * Number of discrete states: 4 ($whenCondition2,TDO.timeNextEv,TDO.tdo,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001085/0.09935, allocations: 107.2 kB / 448.4 MB, free: 440 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006651/0.1, allocations: 492.5 kB / 448.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1, allocations: 0 / 448.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.1005, allocations: 219.2 kB / 449.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.1008, allocations: 36.66 kB / 449.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008004/0.1016, allocations: 443.2 kB / 449.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.1019, allocations: 0.728 MB / 450.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.1019, allocations: 15.44 kB / 450.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1019, allocations: 3.938 kB / 450.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of Templates: time 0.004345/0.1063, allocations: 2.488 MB / 452.8 MB, free: 11.91 MB / 334.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.sim & ./AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe 2>&1)