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.001377/0.001377, 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.001774/0.001774, allocations: 173.3 kB / 24.16 MB, free: 336 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 1.054/1.054, allocations: 177.2 MB / 204.6 MB, free: 5.477 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.0771/0.0771, allocations: 18.14 MB / 279.2 MB, free: 11.2 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.278e-06/9.278e-06, allocations: 0 / 305.4 MB, free: 140 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/3.659e-05, allocations: 8.5 kB / 305.4 MB, free: 132 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.004223/0.004259, allocations: 1.914 MB / 307.3 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007495/0.005009, allocations: 195.7 kB / 307.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.005161, allocations: 11.03 kB / 307.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.005328, allocations: 33.11 kB / 307.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/0.005414, allocations: 14.34 kB / 307.5 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.005743, allocations: 106.7 kB / 307.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.006156, allocations: 239.5 kB / 307.9 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.006363, allocations: 48.62 kB / 307.9 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.006603, allocations: 71.44 kB / 308 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.006768, allocations: 66.41 kB / 308.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.006813, allocations: 20 kB / 308.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.006836, allocations: 20 kB / 308.1 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.006895, allocations: 56.64 kB / 308.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.006953, allocations: 59.86 kB / 308.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.007154, allocations: 135 kB / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.007158, allocations: 2.391 kB / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.00716, allocations: 8 kB / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.007164, allocations: 0 / 308.4 MB, free: 14.02 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.0005151/0.00768, allocations: 421.8 kB / 308.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.007711, allocations: 8.922 kB / 308.8 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.007763, allocations: 35.83 kB / 308.8 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.007956, allocations: 167.5 kB / 309 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.007983, allocations: 20.88 kB / 309 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.008017, allocations: 29.03 kB / 309 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.008332, allocations: 205 kB / 309.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.008346, allocations: 8.109 kB / 309.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.008368, allocations: 12.38 kB / 309.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-06/0.008377, allocations: 4.375 kB / 309.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.008536, allocations: 74.36 kB / 309.3 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.009709, allocations: 0.7778 MB / 310.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.009904, allocations: 90.41 kB / 310.2 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.009964, allocations: 32.84 kB / 310.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.009992, allocations: 4 kB / 310.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.01002, allocations: 42.56 kB / 310.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.114e-06/0.01002, allocations: 0 / 310.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002982/0.01032, allocations: 129.1 kB / 310.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.01036, allocations: 59.34 kB / 310.5 MB, free: 11.92 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.01052, allocations: 207.3 kB / 310.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.01054, allocations: 29.7 kB / 310.7 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.01063, allocations: 152.3 kB / 310.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.01069, allocations: 79.27 kB / 310.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.01078, allocations: 73.64 kB / 311 MB, free: 11.36 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01089, allocations: 334.8 kB / 311.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.01095, allocations: 35.98 kB / 311.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.01106, allocations: 119.1 kB / 311.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.01134, allocations: 227.2 kB / 311.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.01134, allocations: 4 kB / 311.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002849/0.01163, allocations: 197.6 kB / 311.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.01165, allocations: 8 kB / 311.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.01166, allocations: 4 kB / 311.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.01168, allocations: 4 kB / 311.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.01204, allocations: 99.55 kB / 312 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.01205, allocations: 11.94 kB / 312 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01218, allocations: 43.7 kB / 312 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.0122, allocations: 12 kB / 312.1 MB, free: 10.2 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 0.0001429/0.01234, allocations: 136 kB / 312.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.629e-05/0.01239, allocations: 19.97 kB / 312.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.01262, allocations: 138.4 kB / 312.3 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.01263, allocations: 4 kB / 312.4 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.01263, allocations: 0 / 312.4 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.01263, allocations: 0 / 312.4 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.01296, allocations: 165.7 kB / 312.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01296, allocations: 7.938 kB / 312.5 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.01328, allocations: 78.69 kB / 312.6 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.01328, allocations: 0 / 312.6 MB, free: 9.637 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.0133, allocations: 8 kB / 312.6 MB, free: 9.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.01331, allocations: 3.984 kB / 312.6 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01331, allocations: 0 / 312.6 MB, free: 9.625 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.01363, allocations: 274.7 kB / 312.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.01366, allocations: 19.86 kB / 312.9 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.01368, allocations: 8 kB / 312.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.0138, allocations: 11.98 kB / 312.9 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.01386, allocations: 23.95 kB / 312.9 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.01387, allocations: 4 kB / 312.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.01394, allocations: 62.95 kB / 313 MB, free: 9.211 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01394, allocations: 0 / 313 MB, free: 9.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.01424, allocations: 51.88 kB / 313.1 MB, free: 9.16 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 0.0001217/0.01436, allocations: 88.36 kB / 313.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.01459, allocations: 128.5 kB / 313.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.01459, allocations: 0 / 313.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.944e-05/0.01469, allocations: 68.7 kB / 313.3 MB, free: 8.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.01496, allocations: 28.97 kB / 313.4 MB, free: 8.836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007732/0.01573, allocations: 475.8 kB / 313.8 MB, free: 8.344 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.374e-05/0.01581, allocations: 92.25 kB / 313.9 MB, free: 8.234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.01592, allocations: 30.28 kB / 313.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.01605, allocations: 83.38 kB / 314 MB, free: 8.125 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01605, allocations: 0 / 314 MB, free: 8.125 MB / 282.7 MB Notification: Performance of Templates: time 0.005681/0.02173, allocations: 2.389 MB / 316.4 MB, free: 5.773 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9024184281006455]