Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.001378/0.001378, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.001521/0.001521, allocations: 177 kB / 24.28 MB, free: 284 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.9878/0.9878, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.06953/0.06953, allocations: 18.14 MB / 279.2 MB, free: 11.39 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_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 358 MB, free: 7.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.096e-05, allocations: 2.312 kB / 358 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.004192/0.004223, allocations: 1.864 MB / 359.9 MB, free: 5.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005296/0.004753, allocations: 195.3 kB / 360.1 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.004869, allocations: 7.938 kB / 360.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.005025, allocations: 35.55 kB / 360.1 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.422e-05/0.00511, allocations: 15.81 kB / 360.2 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.005365, allocations: 91.84 kB / 360.2 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.005699, allocations: 240.7 kB / 360.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.005873, allocations: 44.55 kB / 360.5 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.005982, allocations: 79.8 kB / 360.6 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.006105, allocations: 63.78 kB / 360.7 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.006151, allocations: 20 kB / 360.7 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.00618, allocations: 16 kB / 360.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.006233, allocations: 59.73 kB / 360.8 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.006304, allocations: 63.83 kB / 360.8 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.006515, allocations: 139.4 kB / 361 MB, free: 4.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006518, allocations: 0 / 361 MB, free: 4.434 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006519, allocations: 3.938 kB / 361 MB, free: 4.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.006524, allocations: 0 / 361 MB, free: 4.43 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.0007988/0.007323, allocations: 0.5392 MB / 361.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.007368, allocations: 8.922 kB / 361.5 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.007461, allocations: 36.8 kB / 361.5 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.007737, allocations: 192.9 kB / 361.7 MB, free: 3.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.007775, allocations: 16.88 kB / 361.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.007825, allocations: 28.38 kB / 361.8 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.008255, allocations: 228.5 kB / 362 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.008267, allocations: 192 / 362 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.008294, allocations: 8.375 kB / 362 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.008309, allocations: 8.359 kB / 362 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.008554, allocations: 104.9 kB / 362.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.01019, allocations: 1.133 MB / 363.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.01045, allocations: 111.1 kB / 363.4 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.01056, allocations: 51.67 kB / 363.4 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.01059, allocations: 4 kB / 363.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.01062, allocations: 41.31 kB / 363.5 MB, free: 1.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.933e-06/0.01062, allocations: 0 / 363.5 MB, free: 1.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004493/0.01107, allocations: 180.5 kB / 363.6 MB, free: 1.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.01111, allocations: 55.41 kB / 363.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.01131, allocations: 262.6 kB / 363.9 MB, free: 1.234 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.01133, allocations: 29.7 kB / 364 MB, free: 1.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.01144, allocations: 203 kB / 364.2 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.01151, allocations: 83.33 kB / 364.3 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.837e-05/0.01161, allocations: 75.34 kB / 364.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.01177, allocations: 0.504 MB / 364.8 MB, free: 324 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.01188, allocations: 39.97 kB / 364.9 MB, free: 284 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.01206, allocations: 171.8 kB / 365 MB, free: 56 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.01248, allocations: 280.7 kB / 365.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.01248, allocations: 0 / 365.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004477/0.01293, allocations: 265.2 kB / 365.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.01295, allocations: 15.11 kB / 365.6 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01296, allocations: 7.938 kB / 365.6 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.01298, allocations: 7.938 kB / 365.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.01328, allocations: 75.89 kB / 365.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.01329, allocations: 4 kB / 365.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.01344, allocations: 40.14 kB / 365.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.01346, allocations: 16 kB / 365.7 MB, free: 15.3 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.0001751/0.01363, allocations: 181.5 kB / 365.9 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.0137, allocations: 31.86 kB / 365.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.01405, allocations: 180.2 kB / 366.1 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01406, allocations: 3.938 kB / 366.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.01406, allocations: 4 kB / 366.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01407, allocations: 7.984 kB / 366.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.01445, allocations: 232.4 kB / 366.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01446, allocations: 0 / 366.4 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003011/0.01476, allocations: 55.91 kB / 366.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.01476, allocations: 4 kB / 366.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.01478, allocations: 4 kB / 366.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.01479, allocations: 4 kB / 366.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01479, allocations: 3.938 kB / 366.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.01525, allocations: 370.8 kB / 366.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.82e-05/0.01528, allocations: 27.8 kB / 366.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.01531, allocations: 0 / 366.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.01545, allocations: 11.98 kB / 366.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.656e-05/0.01553, allocations: 27.89 kB / 366.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.01554, allocations: 12 kB / 366.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001092/0.01565, allocations: 169.4 kB / 367 MB, free: 13.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01565, allocations: 0 / 367 MB, free: 13.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003307/0.01598, allocations: 47.89 kB / 367.1 MB, free: 13.89 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.0001039/0.01608, allocations: 111.2 kB / 367.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.01641, allocations: 159.4 kB / 367.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01641, allocations: 0 / 367.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.01654, allocations: 80.41 kB / 367.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.01688, allocations: 28.67 kB / 367.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/0.0177, allocations: 498 kB / 367.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.01777, allocations: 88.31 kB / 368 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.01787, allocations: 26.28 kB / 368.1 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.724e-05/0.01795, allocations: 24.5 kB / 368.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01795, allocations: 0 / 368.1 MB, free: 12.82 MB / 298.7 MB Notification: Performance of Templates: time 0.004326/0.02228, allocations: 2.097 MB / 370.2 MB, free: 10.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_with_locks -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0621769388671964]