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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07737/0.07737, allocations: 17.69 MB / 33.63 MB, free: 1.785 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009608/0.0009609, allocations: 179.6 kB / 38.91 MB, free: 24 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 249.5 MB, free: 2.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000891/0.0008911, allocations: 90.23 kB / 302.2 MB, free: 4.434 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005775/0.0005778, allocations: 16 kB / 366.9 MB, free: 3.625 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3462, allocations: 51.98 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.452, allocations: 78.09 MB / 497 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4523, allocations: 83.94 kB / 497.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009086/0.4614, allocations: 2.745 MB / 499.8 MB, free: 7.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4614, allocations: 0 / 499.8 MB, free: 7.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.4614, allocations: 0 / 499.8 MB, free: 7.371 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0009402/0.4624, allocations: 0.545 MB / 0.4887 GB, free: 6.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4624, allocations: 12.03 kB / 0.4887 GB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/0.4625, allocations: 20.75 kB / 0.4887 GB, free: 6.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.4631, allocations: 291.9 kB / 0.489 GB, free: 6.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.4631, allocations: 4.375 kB / 0.489 GB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.4631, allocations: 12.38 kB / 0.489 GB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.4634, allocations: 126.1 kB / 0.4891 GB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4635, allocations: 8.125 kB / 0.4891 GB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.4635, allocations: 11.94 kB / 0.4891 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4635, allocations: 0 / 0.4891 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002241/0.4637, allocations: 103.9 kB / 0.4892 GB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008155/0.4645, allocations: 460.5 kB / 0.4897 GB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.465, allocations: 162.4 kB / 0.4898 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.4651, allocations: 76.81 kB / 0.4899 GB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.4651, allocations: 4 kB / 0.4899 GB, free: 5.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002555/0.4654, allocations: 186.9 kB / 0.4901 GB, free: 5.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.4654, allocations: 0 / 0.4901 GB, free: 5.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001224/0.4666, allocations: 0.515 MB / 0.4906 GB, free: 4.637 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.4667, allocations: 140.5 kB / 0.4907 GB, free: 4.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.4672, allocations: 246.2 kB / 0.4909 GB, free: 4.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.4672, allocations: 25.7 kB / 0.491 GB, free: 4.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.4673, allocations: 116 kB / 0.4911 GB, free: 4.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/0.4674, allocations: 51.28 kB / 0.4911 GB, free: 4.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.707e-06/0.4674, allocations: 4 kB / 0.4911 GB, free: 4.016 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4675, allocations: 330.8 kB / 0.4914 GB, free: 3.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4676, allocations: 51.97 kB / 0.4915 GB, free: 3.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.706e-05/0.4677, allocations: 51.97 kB / 0.4915 GB, free: 3.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.4689, allocations: 0.5239 MB / 0.4921 GB, free: 3.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4689, allocations: 0 / 0.4921 GB, free: 3.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003718/0.4693, allocations: 260.8 kB / 0.4923 GB, free: 2.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.4694, allocations: 59.41 kB / 0.4924 GB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4694, allocations: 0 / 0.4924 GB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4694, allocations: 0 / 0.4924 GB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.4695, allocations: 27.86 kB / 0.4924 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4695, allocations: 4 kB / 0.4924 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.4698, allocations: 43.8 kB / 0.4924 GB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.4698, allocations: 4 kB / 0.4924 GB, free: 2.59 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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.tdo,$PRE.TDO.timeNextEv,$whenCondition1,$whenCondition2,TDO.tdo,TDO.timeNextEv) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001842/0.47, allocations: 175.2 kB / 0.4926 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.47, allocations: 15.81 kB / 0.4926 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.597e-05/0.4701, allocations: 25.53 kB / 0.4926 GB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.4701, allocations: 7.938 kB / 0.4927 GB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4701, allocations: 0 / 0.4927 GB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4701, allocations: 7.922 kB / 0.4927 GB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.4704, allocations: 249.5 kB / 0.4929 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4704, allocations: 0 / 0.4929 GB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.4705, allocations: 15.94 kB / 0.4929 GB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002513/0.4707, allocations: 118.5 kB / 0.493 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.4708, allocations: 4 kB / 0.493 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006158/0.4714, allocations: 0.7257 MB / 0.4937 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4714, allocations: 4.031 kB / 0.4937 GB, free: 1.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.4722, allocations: 451.2 kB / 0.4942 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.4722, allocations: 101 kB / 0.4943 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.4723, allocations: 8.031 kB / 0.4943 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.4725, allocations: 35.95 kB / 0.4943 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.4726, allocations: 7.984 kB / 0.4943 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4726, allocations: 4 kB / 0.4943 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003646/0.473, allocations: 200.2 kB / 0.4945 GB, free: 316 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.473, allocations: 0 / 0.4945 GB, free: 316 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.4732, allocations: 39.94 kB / 0.4946 GB, free: 276 kB / 362.7 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.x_scaled[1]) * 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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.4734, allocations: 123.1 kB / 0.4947 GB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.1793/0.6527, allocations: 264.1 kB / 0.4949 GB, free: 83.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6527, allocations: 0.8125 kB / 0.4949 GB, free: 83.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.6532, allocations: 175.4 kB / 0.4951 GB, free: 83.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.6536, allocations: 25.61 kB / 0.4951 GB, free: 83.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000819/0.6544, allocations: 417.5 kB / 0.4955 GB, free: 83.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.6546, allocations: 0.7317 MB / 0.4962 GB, free: 82.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.6547, allocations: 28.83 kB / 0.4963 GB, free: 82.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.6548, allocations: 18.03 kB / 0.4963 GB, free: 82.96 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6548, allocations: 0.5938 kB / 0.4963 GB, free: 82.96 MB / 362.7 MB Notification: Performance of Templates: time 0.005721/0.6605, allocations: 1.955 MB / 0.4982 GB, free: 82.89 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.pipe 2>&1)