Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.001146/0.001146, allocations: 72.95 kB / 20.74 MB, free: 3.754 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.001389/0.001389, 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 1.011/1.011, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.09146/0.09146, allocations: 18.14 MB / 279.2 MB, free: 11.22 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_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") translateModel(AES.Coursework.Typical_actuation_schemes.DaisyChain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.DaisyChain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 304.5 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.55e-05, allocations: 8.781 kB / 304.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.005872/0.005897, allocations: 1.861 MB / 306.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.006946, allocations: 0.6111 MB / 307 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.007035, allocations: 6.438 kB / 307 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003359/0.01039, allocations: 40.41 kB / 307.1 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.01055, allocations: 61.5 kB / 307.1 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.01085, allocations: 131 kB / 307.3 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.0111, allocations: 204 kB / 307.5 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.01121, allocations: 31.2 kB / 307.5 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.01132, allocations: 95.47 kB / 307.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.01149, allocations: 104.8 kB / 307.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/0.01152, allocations: 14.12 kB / 307.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.01155, allocations: 16 kB / 307.7 MB, free: 14.63 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.01163, allocations: 67.14 kB / 307.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.01169, allocations: 56.33 kB / 307.8 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.01187, allocations: 134.8 kB / 308 MB, free: 14.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.01187, allocations: 0 / 308 MB, free: 14.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01187, allocations: 0 / 308 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.01188, allocations: 0 / 308 MB, free: 14.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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005887/0.01246, allocations: 426.2 kB / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.0125, allocations: 12.92 kB / 308.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.01255, allocations: 22.09 kB / 308.4 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.01282, allocations: 212.5 kB / 308.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.01283, allocations: 4.609 kB / 308.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.01286, allocations: 12.38 kB / 308.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.01302, allocations: 96.23 kB / 308.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01303, allocations: 8.125 kB / 308.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.01305, allocations: 4.375 kB / 308.7 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.01306, allocations: 7.938 kB / 308.8 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.01617, allocations: 38.5 kB / 308.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.01665, allocations: 324.3 kB / 309.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002443/0.0169, allocations: 158.8 kB / 309.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.01695, allocations: 32.84 kB / 309.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.01697, allocations: 4 kB / 309.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.01699, allocations: 34.56 kB / 309.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.01699, allocations: 3.938 kB / 309.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002219/0.01722, allocations: 104.2 kB / 309.4 MB, free: 12.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.01724, allocations: 59.39 kB / 309.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.01737, allocations: 182.6 kB / 309.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01739, allocations: 25.7 kB / 309.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.01743, allocations: 120.2 kB / 309.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.01749, allocations: 63.42 kB / 309.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.01754, allocations: 33.69 kB / 309.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.01763, allocations: 342.7 kB / 310.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.01767, allocations: 18.81 kB / 310.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.373e-05/0.0177, allocations: 12 kB / 310.3 MB, free: 12.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.01786, allocations: 105.5 kB / 310.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01786, allocations: 0 / 310.4 MB, free: 11.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001475/0.01801, allocations: 97.59 kB / 310.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.01802, allocations: 4 kB / 310.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.01802, allocations: 0 / 310.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01804, allocations: 4 kB / 310.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.01819, allocations: 47.91 kB / 310.5 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.84e-06/0.0182, allocations: 7.984 kB / 310.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.01827, allocations: 7.953 kB / 310.5 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01828, allocations: 8 kB / 310.6 MB, free: 11.77 MB / 282.7 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001326/0.01841, allocations: 139 kB / 310.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.46e-05/0.01845, allocations: 11.98 kB / 310.7 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.01866, allocations: 134.3 kB / 310.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01866, allocations: 4 kB / 310.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.01866, allocations: 0 / 310.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01867, allocations: 0 / 310.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.01884, allocations: 133.7 kB / 311 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01885, allocations: 0 / 311 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.019, allocations: 39.92 kB / 311 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.019, allocations: 4 kB / 311 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003037/0.02204, allocations: 7.922 kB / 311 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.02204, allocations: 0 / 311 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.02204, allocations: 0 / 311 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.0223, allocations: 290 kB / 311.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.02233, allocations: 23.83 kB / 311.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.02235, allocations: 4 kB / 311.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.855e-05/0.02245, allocations: 4 kB / 311.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.02249, allocations: 15.97 kB / 311.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.0225, allocations: 8 kB / 311.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.233e-05/0.02256, allocations: 54.64 kB / 311.4 MB, free: 10.87 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02256, allocations: 4 kB / 311.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.02277, allocations: 39.95 kB / 311.5 MB, free: 10.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 7.774e-05/0.02285, allocations: 80.34 kB / 311.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.02299, allocations: 83.56 kB / 311.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02299, allocations: 0 / 311.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/0.02306, allocations: 50.81 kB / 311.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.02329, allocations: 43.69 kB / 311.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.02392, allocations: 431.6 kB / 312.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.02399, allocations: 87.97 kB / 312.2 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.977e-05/0.02407, allocations: 21.48 kB / 312.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.02418, allocations: 75.36 kB / 312.3 MB, free: 9.902 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02418, allocations: 0 / 312.3 MB, free: 9.902 MB / 282.7 MB Notification: Performance of Templates: time 0.005531/0.02971, allocations: 2.127 MB / 314.4 MB, free: 7.824 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & ./AES_AES.Coursework.Typical_actuation_schemes.DaisyChain -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.916441314853728]