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.0009712/0.0009712, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.0009211/0.0009211, allocations: 173 kB / 24.17 MB, free: 332 kB / 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 0.9986/0.9986, allocations: 177.2 MB / 204.6 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.06587/0.06587, allocations: 18.13 MB / 279.2 MB, free: 11.23 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 9.22e-07/9.22e-07, allocations: 0 / 305.3 MB, free: 120 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.625e-05, allocations: 4.422 kB / 305.3 MB, free: 116 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.002068/0.002085, allocations: 1.864 MB / 307.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003325/0.002417, allocations: 200.8 kB / 307.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.002483, allocations: 5.281 kB / 307.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.411e-05/0.002577, allocations: 34.95 kB / 307.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.002628, allocations: 27.14 kB / 307.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.00279, allocations: 92.08 kB / 307.5 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.003, allocations: 238.9 kB / 307.8 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.003089, allocations: 51.59 kB / 307.8 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.003157, allocations: 75.7 kB / 307.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.913e-05/0.003236, allocations: 73.97 kB / 308 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.003262, allocations: 20 kB / 308 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.829e-05/0.00328, allocations: 20 kB / 308 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.00331, allocations: 40.86 kB / 308.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.659e-05/0.003356, allocations: 69.11 kB / 308.1 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003477, allocations: 142.7 kB / 308.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003479, allocations: 0 / 308.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00348, allocations: 0 / 308.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.564e-06/0.003482, allocations: 0 / 308.3 MB, free: 14.09 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.0004461/0.003928, allocations: 427 kB / 308.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.519e-05/0.003954, allocations: 9.531 kB / 308.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.003997, allocations: 31.69 kB / 308.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.004145, allocations: 171.6 kB / 308.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.004165, allocations: 20.81 kB / 308.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.004196, allocations: 29.03 kB / 308.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.004402, allocations: 204.5 kB / 309.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00441, allocations: 192 / 309.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.004424, allocations: 12.89 kB / 309.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.00443, allocations: 4.375 kB / 309.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.083e-05/0.004521, allocations: 78.31 kB / 309.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007804/0.005301, allocations: 0.7721 MB / 310 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.005428, allocations: 95.81 kB / 310.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.005464, allocations: 32.86 kB / 310.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.005483, allocations: 4 kB / 310.1 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.005502, allocations: 38.5 kB / 310.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.032e-06/0.005503, allocations: 0 / 310.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.000175/0.005678, allocations: 133.1 kB / 310.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.005704, allocations: 55.41 kB / 310.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.005815, allocations: 207.4 kB / 310.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.005837, allocations: 29.7 kB / 310.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.005889, allocations: 148.3 kB / 310.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.005927, allocations: 87.3 kB / 310.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.005983, allocations: 65.67 kB / 310.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.006056, allocations: 334.8 kB / 311.2 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.006093, allocations: 27.98 kB / 311.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.006169, allocations: 127 kB / 311.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.006337, allocations: 223.2 kB / 311.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.006339, allocations: 0 / 311.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001762/0.006515, allocations: 201.3 kB / 311.8 MB, free: 10.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.006527, allocations: 9.875 kB / 311.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006533, allocations: 7.938 kB / 311.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.006546, allocations: 7.984 kB / 311.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.006697, allocations: 71.91 kB / 311.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.006705, allocations: 11.97 kB / 311.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.006775, allocations: 35.78 kB / 311.9 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.006785, allocations: 8.344 kB / 311.9 MB, free: 10.32 MB / 282.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_E.iTS,PI_I.iTS,PI_I.iNoInc,PI_I.iNoDec) * 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 9.976e-05/0.006885, allocations: 147.8 kB / 312.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.00691, allocations: 15.98 kB / 312.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.007057, allocations: 140.3 kB / 312.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007059, allocations: 3.938 kB / 312.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.00706, allocations: 0 / 312.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.007065, allocations: 7.984 kB / 312.2 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.007278, allocations: 173.7 kB / 312.4 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007279, allocations: 0 / 312.4 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.00743, allocations: 55.92 kB / 312.5 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.007433, allocations: 3.984 kB / 312.5 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.007447, allocations: 8 kB / 312.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.007448, allocations: 0 / 312.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007448, allocations: 0 / 312.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.00765, allocations: 270.9 kB / 312.7 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.007667, allocations: 23.84 kB / 312.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.007684, allocations: 12 kB / 312.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.952e-05/0.007744, allocations: 4 kB / 312.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.007785, allocations: 27.95 kB / 312.8 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.00779, allocations: 0 / 312.8 MB, free: 9.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.007825, allocations: 63.02 kB / 312.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007825, allocations: 0 / 312.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000159/0.007984, allocations: 43.94 kB / 312.9 MB, free: 9.301 MB / 282.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 6.631e-05/0.00805, allocations: 80.42 kB / 313 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.008197, allocations: 140.5 kB / 313.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.008202, allocations: 4 kB / 313.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.815e-05/0.00826, allocations: 62.61 kB / 313.2 MB, free: 9.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.008405, allocations: 29.44 kB / 313.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.008889, allocations: 477.3 kB / 313.7 MB, free: 8.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.323e-05/0.008932, allocations: 84.33 kB / 313.8 MB, free: 8.379 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.008995, allocations: 26.28 kB / 313.8 MB, free: 8.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.929e-05/0.009075, allocations: 83.36 kB / 313.9 MB, free: 8.273 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.009075, allocations: 0 / 313.9 MB, free: 8.273 MB / 282.7 MB Notification: Performance of Templates: time 0.003607/0.01268, allocations: 2.214 MB / 316.1 MB, free: 6.094 MB / 282.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: 2.849488750100136]