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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 84.23 kB / 20.23 MB, free: 4.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 157.7 kB / 23.53 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.108/0.108, allocations: 18.14 MB / 278.5 MB, free: 11.33 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") translateModel(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 356.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.651e-05, allocations: 2.312 kB / 356.5 MB, free: 8.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput): time 0.004896/0.004933, allocations: 1.8 MB / 358.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.007175, allocations: 0.6544 MB / 359 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.007331, allocations: 7.938 kB / 359 MB, free: 5.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.0078, allocations: 27.78 kB / 359 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.0081, allocations: 47.61 kB / 359 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006854/0.008786, allocations: 147.7 kB / 359.2 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004706/0.009256, allocations: 191.4 kB / 359.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.009471, allocations: 41.77 kB / 359.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.009664, allocations: 71.81 kB / 359.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.009943, allocations: 83.75 kB / 359.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.01002, allocations: 20 kB / 359.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.682e-05/0.01006, allocations: 23.94 kB / 359.6 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.0102, allocations: 51.83 kB / 359.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.01035, allocations: 51.84 kB / 359.7 MB, free: 5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.01083, allocations: 207.4 kB / 359.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.01084, allocations: 0 / 359.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01084, allocations: 0 / 359.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.01084, allocations: 3.938 kB / 359.9 MB, free: 4.793 MB / 282.7 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.001787/0.01263, allocations: 0.5124 MB / 360.4 MB, free: 4.238 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.01268, allocations: 8.922 kB / 360.4 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.01283, allocations: 28.84 kB / 360.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007291/0.01356, allocations: 217.4 kB / 360.7 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.01359, allocations: 16.38 kB / 360.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.01366, allocations: 16.38 kB / 360.7 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.0143, allocations: 232 kB / 360.9 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.01432, allocations: 4.188 kB / 360.9 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.106e-05/0.01435, allocations: 4.375 kB / 360.9 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.01436, allocations: 7.938 kB / 361 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.01494, allocations: 158.4 kB / 361.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.01644, allocations: 448.5 kB / 361.5 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.01719, allocations: 200.2 kB / 361.7 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.01742, allocations: 102.5 kB / 361.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.01746, allocations: 11.98 kB / 361.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000415/0.01787, allocations: 227.9 kB / 362.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.01787, allocations: 0 / 362.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.001914/0.01979, allocations: 0.6335 MB / 362.7 MB, free: 1.785 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.01993, allocations: 162.2 kB / 362.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.02034, allocations: 211.3 kB / 363.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.02037, allocations: 25.7 kB / 363.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.02048, allocations: 132.3 kB / 363.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/0.02055, allocations: 47.59 kB / 363.3 MB, free: 1.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.02065, allocations: 37.7 kB / 363.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.02084, allocations: 330.8 kB / 363.6 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.02106, allocations: 124.2 kB / 363.8 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.02131, allocations: 166.8 kB / 363.9 MB, free: 468 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.02274, allocations: 0.5308 MB / 364.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02274, allocations: 0 / 364.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006179/0.02336, allocations: 348.2 kB / 364.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.02343, allocations: 63.39 kB / 364.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.02343, allocations: 0 / 364.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.02345, allocations: 0 / 364.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.02367, allocations: 31.97 kB / 364.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.02368, allocations: 0 / 364.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.02392, allocations: 31.92 kB / 364.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.02395, allocations: 4 kB / 364.9 MB, free: 15.37 MB / 298.7 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.0003127/0.02426, allocations: 211.5 kB / 365.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002079/0.02447, allocations: 162.7 kB / 365.3 MB, free: 14.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001264/0.02573, allocations: 0.49 MB / 365.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.02573, allocations: 0 / 365.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0004857/0.02622, allocations: 320.3 kB / 366.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.02627, allocations: 67.28 kB / 366.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.02628, allocations: 0 / 366.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-06/0.02628, allocations: 0 / 366.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.02646, allocations: 39.91 kB / 366.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.02646, allocations: 4 kB / 366.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.02665, allocations: 23.92 kB / 366.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.02667, allocations: 4 kB / 366.2 MB, free: 13.94 MB / 298.7 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.0002153/0.02689, allocations: 222 kB / 366.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.02695, allocations: 35.77 kB / 366.5 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.032e-05/0.02701, allocations: 25.47 kB / 366.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.02701, allocations: 4 kB / 366.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.02701, allocations: 0 / 366.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.02702, allocations: 0 / 366.5 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.0273, allocations: 193.2 kB / 366.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.0273, allocations: 4 kB / 366.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.02745, allocations: 11.98 kB / 366.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/0.02789, allocations: 180.2 kB / 366.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.02792, allocations: 11.94 kB / 366.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.02922, allocations: 0.8696 MB / 367.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02922, allocations: 0 / 367.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.03039, allocations: 0.5784 MB / 368.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.03044, allocations: 19.84 kB / 368.4 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.011e-05/0.03048, allocations: 4 kB / 368.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.03072, allocations: 32 kB / 368.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.719e-05/0.03079, allocations: 15.92 kB / 368.4 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.0308, allocations: 8 kB / 368.4 MB, free: 11.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000312/0.03112, allocations: 155.2 kB / 368.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03112, allocations: 0 / 368.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000359/0.03148, allocations: 67.89 kB / 368.6 MB, free: 11.38 MB / 298.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.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.0001547/0.03163, allocations: 103.2 kB / 368.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.03254, allocations: 0.5956 MB / 369.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.03254, allocations: 0 / 369.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.03304, allocations: 218.1 kB / 369.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.03334, allocations: 37.38 kB / 369.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.03428, allocations: 441.2 kB / 370 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.03442, allocations: 124.1 kB / 370.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.03455, allocations: 37.2 kB / 370.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.03462, allocations: 28.47 kB / 370.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.03462, allocations: 0 / 370.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of Templates: time 0.007214/0.04184, allocations: 2.614 MB / 372.8 MB, free: 7.086 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.TimeDivisionOutput.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.631773522938602]