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.001396/0.001396, allocations: 84.23 kB / 20.23 MB, free: 4.203 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.001571/0.001571, allocations: 157.7 kB / 23.53 MB, free: 0.8984 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.518/1.518, allocations: 177.2 MB / 203.9 MB, free: 5.566 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.1072/0.1072, allocations: 18.14 MB / 278.5 MB, free: 11.3 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 2.424e-06/2.424e-06, allocations: 0 / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.682e-05, allocations: 2.312 kB / 356.5 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.004787/0.004824, allocations: 1.768 MB / 358.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.006635, allocations: 0.5843 MB / 358.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.071e-05/0.006726, allocations: 7.938 kB / 358.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.007044, allocations: 43.7 kB / 358.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.00726, allocations: 59.62 kB / 359 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003712/0.007631, allocations: 139.6 kB / 359.1 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00031/0.007941, allocations: 203.5 kB / 359.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.008066, allocations: 33.66 kB / 359.3 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.0082, allocations: 79.78 kB / 359.4 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.008421, allocations: 107.7 kB / 359.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.514e-05/0.008466, allocations: 12 kB / 359.5 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.243e-05/0.008498, allocations: 20 kB / 359.6 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.008614, allocations: 67.73 kB / 359.6 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.008704, allocations: 51.83 kB / 359.7 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.008988, allocations: 183.4 kB / 359.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.008992, allocations: 0 / 359.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.008996, allocations: 3.984 kB / 359.9 MB, free: 4.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.009, allocations: 3.938 kB / 359.9 MB, free: 4.816 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.001441/0.01044, allocations: 0.5013 MB / 360.4 MB, free: 4.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.01048, allocations: 12.92 kB / 360.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.01057, allocations: 28.8 kB / 360.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006804/0.01125, allocations: 261 kB / 360.7 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.01127, allocations: 4.609 kB / 360.7 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/0.01132, allocations: 12.38 kB / 360.7 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.01165, allocations: 148 kB / 360.8 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.01166, allocations: 4.125 kB / 360.8 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.01168, allocations: 8.375 kB / 360.8 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.01169, allocations: 7.938 kB / 360.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.012, allocations: 132.6 kB / 361 MB, free: 3.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009723/0.01297, allocations: 453 kB / 361.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005279/0.0135, allocations: 186.4 kB / 361.6 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.01368, allocations: 88.81 kB / 361.7 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.01371, allocations: 4 kB / 361.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.01375, allocations: 38.55 kB / 361.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.01375, allocations: 0 / 361.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006425/0.0144, allocations: 268.8 kB / 362 MB, free: 2.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.01445, allocations: 55.41 kB / 362 MB, free: 2.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.01502, allocations: 259.2 kB / 362.3 MB, free: 2.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.01505, allocations: 29.7 kB / 362.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01517, allocations: 136 kB / 362.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.507e-05/0.01525, allocations: 59.44 kB / 362.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.01533, allocations: 41.7 kB / 362.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.01553, allocations: 334.8 kB / 362.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.01567, allocations: 55.97 kB / 362.9 MB, free: 1.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.0158, allocations: 63.95 kB / 363 MB, free: 1.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.01775, allocations: 479 kB / 363.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01775, allocations: 0 / 363.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004784/0.01823, allocations: 244.3 kB / 363.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.01824, allocations: 6.656 kB / 363.7 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01825, allocations: 3.938 kB / 363.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01827, allocations: 0 / 363.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.0185, allocations: 39.97 kB / 363.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.0185, allocations: 4 kB / 363.8 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.01875, allocations: 31.92 kB / 363.8 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.01877, allocations: 7.984 kB / 363.8 MB, free: 0.7188 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.000223/0.019, allocations: 154.9 kB / 363.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.01906, allocations: 23.91 kB / 364 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.01961, allocations: 243.3 kB / 364.2 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.01962, allocations: 11.94 kB / 364.2 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.01963, allocations: 3.938 kB / 364.2 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.01963, allocations: 3.984 kB / 364.2 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.01996, allocations: 201.2 kB / 364.4 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01996, allocations: 0 / 364.4 MB, free: 44 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.02022, allocations: 31.98 kB / 364.5 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.02023, allocations: 4 kB / 364.5 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.02025, allocations: 3.984 kB / 364.5 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.281e-06/0.02026, allocations: 3.938 kB / 364.5 MB, free: 0 / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02026, allocations: 0 / 364.5 MB, free: 0 / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006888/0.02095, allocations: 415.1 kB / 364.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.02101, allocations: 23.83 kB / 364.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.02105, allocations: 4.062 kB / 364.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.02135, allocations: 39.89 kB / 364.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.0214, allocations: 7.984 kB / 364.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.02142, allocations: 4 kB / 365 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004793/0.0219, allocations: 212.3 kB / 365.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0219, allocations: 0 / 365.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000299/0.0222, allocations: 39.95 kB / 365.2 MB, free: 15.25 MB / 298.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 0.0001397/0.02234, allocations: 103.2 kB / 365.3 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.02273, allocations: 170.6 kB / 365.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02273, allocations: 0 / 365.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.02291, allocations: 83.89 kB / 365.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.02334, allocations: 43.75 kB / 365.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.02449, allocations: 484.5 kB / 366.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.02468, allocations: 136.2 kB / 366.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.02483, allocations: 49.58 kB / 366.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.02494, allocations: 20.5 kB / 366.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02494, allocations: 0 / 366.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of Templates: time 0.006134/0.03107, allocations: 1.995 MB / 368.3 MB, free: 12.16 MB / 298.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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.719782034982927]