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.001422/0.001422, allocations: 80.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.001575/0.001575, 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.483/1.483, allocations: 177.2 MB / 203.9 MB, free: 5.582 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.1076/0.1076, allocations: 18.15 MB / 278.5 MB, free: 11.31 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 2.064e-06/2.064e-06, allocations: 0 / 357.3 MB, free: 7.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.149e-05/3.355e-05, allocations: 2.312 kB / 357.3 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.003646/0.003679, allocations: 1.821 MB / 359.1 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005443/0.004223, allocations: 187.4 kB / 359.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.524e-05/0.004319, allocations: 11.88 kB / 359.3 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.004476, allocations: 35.59 kB / 359.4 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.004558, allocations: 15.81 kB / 359.4 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.004827, allocations: 95.73 kB / 359.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.005172, allocations: 244.8 kB / 359.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.005314, allocations: 36.58 kB / 359.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.005423, allocations: 83.73 kB / 359.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.00557, allocations: 67.77 kB / 359.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.005608, allocations: 16 kB / 359.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.419e-05/0.005643, allocations: 20 kB / 359.9 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.74e-05/0.00571, allocations: 47.83 kB / 360 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.005805, allocations: 71.73 kB / 360 MB, free: 4.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.006086, allocations: 195.3 kB / 360.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.006091, allocations: 4 kB / 360.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.006092, allocations: 4 kB / 360.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.006097, allocations: 0 / 360.2 MB, free: 4.449 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.0009127/0.007009, allocations: 433.8 kB / 360.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.00705, allocations: 12.92 kB / 360.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.007153, allocations: 44.78 kB / 360.7 MB, free: 3.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.007477, allocations: 182 kB / 360.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.007524, allocations: 24.88 kB / 360.9 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/0.007579, allocations: 28.38 kB / 361 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.00805, allocations: 233.7 kB / 361.2 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.008064, allocations: 4.125 kB / 361.2 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.008094, allocations: 12.36 kB / 361.2 MB, free: 3.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.008104, allocations: 8.375 kB / 361.2 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004077/0.008512, allocations: 156.9 kB / 361.4 MB, free: 3.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.01057, allocations: 0.9124 MB / 362.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.01091, allocations: 149.8 kB / 362.4 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.01106, allocations: 60.84 kB / 362.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.0111, allocations: 4 kB / 362.5 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.01114, allocations: 34.56 kB / 362.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.01114, allocations: 0 / 362.5 MB, free: 2.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006216/0.01176, allocations: 244.4 kB / 362.8 MB, free: 1.789 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.01181, allocations: 51.41 kB / 362.8 MB, free: 1.727 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.01205, allocations: 215.7 kB / 363 MB, free: 1.508 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.01208, allocations: 29.7 kB / 363 MB, free: 1.473 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.01223, allocations: 164.2 kB / 363.2 MB, free: 1.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/0.01231, allocations: 83.28 kB / 363.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.01243, allocations: 65.69 kB / 363.4 MB, free: 1.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.01263, allocations: 338.8 kB / 363.7 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.0128, allocations: 71.92 kB / 363.8 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.01307, allocations: 171.1 kB / 363.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.01458, allocations: 460.3 kB / 364.4 MB, free: 52 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01459, allocations: 4 kB / 364.4 MB, free: 48 kB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006092/0.0152, allocations: 317.1 kB / 364.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.01521, allocations: 8 kB / 364.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.01522, allocations: 4 kB / 364.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.01525, allocations: 8.312 kB / 364.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.0156, allocations: 79.91 kB / 364.8 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.01561, allocations: 7.938 kB / 364.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.0158, allocations: 39.72 kB / 364.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.01583, allocations: 16 kB / 364.8 MB, free: 15.57 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.0002192/0.01605, allocations: 138.8 kB / 365 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.01611, allocations: 31.84 kB / 365 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.01663, allocations: 219.4 kB / 365.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.01663, allocations: 7.938 kB / 365.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01664, allocations: 0 / 365.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01664, allocations: 0 / 365.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.01713, allocations: 229.1 kB / 365.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.01713, allocations: 0 / 365.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.01749, allocations: 51.97 kB / 365.5 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.0175, allocations: 4 kB / 365.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.01752, allocations: 11.98 kB / 365.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.01752, allocations: 0 / 365.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.01753, allocations: 11.94 kB / 365.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006714/0.0182, allocations: 377.8 kB / 365.9 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.01824, allocations: 23.78 kB / 365.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.01828, allocations: 8 kB / 365.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.01844, allocations: 8 kB / 365.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/0.01852, allocations: 31.83 kB / 366 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.01854, allocations: 4 kB / 366 MB, free: 14.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.01867, allocations: 141.5 kB / 366.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01867, allocations: 0 / 366.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003182/0.01899, allocations: 47.89 kB / 366.2 MB, free: 14.2 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.0001435/0.01913, allocations: 111.3 kB / 366.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004316/0.01956, allocations: 187.7 kB / 366.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01957, allocations: 0 / 366.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.01975, allocations: 87.91 kB / 366.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.02011, allocations: 28.67 kB / 366.6 MB, free: 13.78 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.02116, allocations: 0.4917 MB / 367.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.02132, allocations: 138.2 kB / 367.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001106/0.02143, allocations: 26.28 kB / 367.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.243e-05/0.02151, allocations: 28.5 kB / 367.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.02152, allocations: 0 / 367.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of Templates: time 0.006407/0.02792, allocations: 2.05 MB / 369.3 MB, free: 11.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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6201290130848065]