Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_basic.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.001858/0.001858, allocations: 84.98 kB / 20.23 MB, free: 4.195 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.002002/0.002002, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.1179/0.1179, allocations: 18.14 MB / 278.5 MB, free: 11.34 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_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 357.3 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.749e-05, allocations: 2.312 kB / 357.3 MB, free: 7.391 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.003315/0.003342, allocations: 1.829 MB / 359.1 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005582/0.003901, allocations: 199.2 kB / 359.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.003996, allocations: 7.938 kB / 359.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.004134, allocations: 31.61 kB / 359.4 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.533e-05/0.004209, allocations: 15.81 kB / 359.4 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.004447, allocations: 99.72 kB / 359.5 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003135/0.004761, allocations: 232.8 kB / 359.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.004895, allocations: 48.55 kB / 359.8 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.005002, allocations: 79.75 kB / 359.8 MB, free: 4.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.005127, allocations: 67.77 kB / 359.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.005168, allocations: 16 kB / 359.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.269e-05/0.0052, allocations: 20 kB / 359.9 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.00526, allocations: 51.81 kB / 360 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.005342, allocations: 63.81 kB / 360.1 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.005627, allocations: 199.2 kB / 360.3 MB, free: 4.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.005632, allocations: 4 kB / 360.3 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005633, allocations: 3.938 kB / 360.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.005637, allocations: 4 kB / 360.3 MB, free: 4.418 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009372/0.006574, allocations: 0.535 MB / 360.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.00661, allocations: 8.922 kB / 360.8 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.608e-05/0.006706, allocations: 44.8 kB / 360.9 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.006995, allocations: 184.9 kB / 361 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.007033, allocations: 20.88 kB / 361.1 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.007084, allocations: 28.36 kB / 361.1 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.007582, allocations: 247.8 kB / 361.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.007596, allocations: 4.125 kB / 361.3 MB, free: 3.258 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.007621, allocations: 12.38 kB / 361.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.007629, allocations: 4.375 kB / 361.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.00796, allocations: 152.9 kB / 361.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.009945, allocations: 1.195 MB / 362.7 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003261/0.01027, allocations: 151 kB / 362.8 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.01041, allocations: 67.66 kB / 362.9 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.01045, allocations: 4 kB / 362.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.01048, allocations: 37.39 kB / 362.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.01048, allocations: 0 / 362.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005747/0.01105, allocations: 244.7 kB / 363.2 MB, free: 1.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.0111, allocations: 51.41 kB / 363.2 MB, free: 1.258 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.0114, allocations: 282.7 kB / 363.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.01145, allocations: 37.69 kB / 363.5 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.01162, allocations: 207 kB / 363.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.009e-05/0.01171, allocations: 91.27 kB / 363.8 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.01184, allocations: 87.28 kB / 363.9 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003066/0.01214, allocations: 0.5157 MB / 364.4 MB, free: 4 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.01233, allocations: 71.92 kB / 364.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.01261, allocations: 199.9 kB / 364.7 MB, free: 15.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006284/0.01324, allocations: 356.7 kB / 365 MB, free: 15.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01324, allocations: 0 / 365 MB, free: 15.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005958/0.01384, allocations: 325.1 kB / 365.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.01386, allocations: 8 kB / 365.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.01387, allocations: 4 kB / 365.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.01389, allocations: 7.938 kB / 365.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.01421, allocations: 71.91 kB / 365.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.01423, allocations: 11.92 kB / 365.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.01439, allocations: 36.16 kB / 365.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.01443, allocations: 16 kB / 365.5 MB, free: 14.8 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: P_I.y:VARIABLE(flow=false start = P_I.y_start fixed = true ) \"Connector of Real output signal\" type: Real P_E.y:VARIABLE(flow=false start = P_E.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_I.iNoDec,PI_I.iNoInc,PI_I.iTS,PI_E.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002429/0.01467, allocations: 193.5 kB / 365.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.01473, allocations: 31.86 kB / 365.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.0152, allocations: 217.4 kB / 366 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.01521, allocations: 3.938 kB / 366 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.01522, allocations: 4 kB / 366 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01522, allocations: 0 / 366 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.01577, allocations: 252.4 kB / 366.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.01578, allocations: 3.984 kB / 366.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.01611, allocations: 47.98 kB / 366.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.01612, allocations: 4 kB / 366.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.01615, allocations: 7.984 kB / 366.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01615, allocations: 0 / 366.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.01615, allocations: 11.88 kB / 366.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.01682, allocations: 425.1 kB / 366.7 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.01685, allocations: 19.84 kB / 366.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.01689, allocations: 8 kB / 366.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.01704, allocations: 7.984 kB / 366.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/0.01713, allocations: 31.89 kB / 366.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01715, allocations: 4 kB / 366.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001555/0.0173, allocations: 193.3 kB / 367 MB, free: 13.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0173, allocations: 0 / 367 MB, free: 13.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.0176, allocations: 51.89 kB / 367 MB, free: 13.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001318/0.01773, allocations: 103.2 kB / 367.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000453/0.01819, allocations: 213 kB / 367.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01819, allocations: 0 / 367.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.01837, allocations: 103.5 kB / 367.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.01869, allocations: 31.05 kB / 367.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009802/0.01967, allocations: 0.5028 MB / 367.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.01982, allocations: 138.2 kB / 368.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.01994, allocations: 30.28 kB / 368.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.02001, allocations: 28.5 kB / 368.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02001, allocations: 0 / 368.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of Templates: time 0.006428/0.02644, allocations: 2.051 MB / 370.2 MB, free: 10.03 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_basic.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.589323504013009]