Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") translateModel(AES.Coursework.ElecSys_generator_models.BoilerFollows,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ElecSys_generator_models.BoilerFollows") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008761, allocations: 94.28 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 176.8 kB / 16.27 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1907/0.1907, allocations: 22.35 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002638, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2187, allocations: 55.97 MB / 438.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ElecSys_generator_models.BoilerFollows): time 0.002141/0.2209, allocations: 2.645 MB / 441.2 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2223, allocations: 0.9992 MB / 442.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.2226, allocations: 20.69 kB / 442.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2228, allocations: 62.48 kB / 442.3 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.223, allocations: 70.88 kB / 442.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005172/0.2235, allocations: 281.6 kB / 442.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003959/0.2239, allocations: 0.5168 MB / 443.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.2242, allocations: 220.5 kB / 443.4 MB, free: 35.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.2243, allocations: 145.5 kB / 443.5 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2244, allocations: 151.7 kB / 443.7 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.2245, allocations: 12.75 kB / 443.7 MB, free: 35.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.097e-05/0.2245, allocations: 15.44 kB / 443.7 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.2246, allocations: 60.78 kB / 443.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.845e-05/0.2247, allocations: 219.7 kB / 444 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.2249, allocations: 473.8 kB / 444.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2249, allocations: 0 / 444.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2249, allocations: 0 / 444.4 MB, free: 35.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.225, allocations: 0 / 444.4 MB, free: 35.45 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0007905/0.2258, allocations: 0.7363 MB / 445.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.2258, allocations: 15.91 kB / 445.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.2259, allocations: 62.94 kB / 445.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.2262, allocations: 409.5 kB / 445.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.2263, allocations: 27.03 kB / 445.7 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.2263, allocations: 39.94 kB / 445.7 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.2269, allocations: 436 kB / 446.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2269, allocations: 0 / 446.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.2269, allocations: 14.91 kB / 446.2 MB, free: 34.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.227, allocations: 12.97 kB / 446.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.2275, allocations: 303.1 kB / 446.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.2289, allocations: 1.548 MB / 448 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.2295, allocations: 375.6 kB / 448.4 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.2298, allocations: 147.3 kB / 448.5 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.2298, allocations: 5.266 kB / 448.5 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.2298, allocations: 34.8 kB / 448.6 MB, free: 32.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.393e-06/0.2299, allocations: 2.562 kB / 448.6 MB, free: 32.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.000768/0.2306, allocations: 432.8 kB / 449 MB, free: 32.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.2307, allocations: 109.6 kB / 449.1 MB, free: 32.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.231, allocations: 412 kB / 449.5 MB, free: 32.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.231, allocations: 32.55 kB / 449.5 MB, free: 32.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2311, allocations: 259.4 kB / 449.8 MB, free: 32.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.2312, allocations: 97 kB / 449.9 MB, free: 31.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.2312, allocations: 36.39 kB / 449.9 MB, free: 31.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.2313, allocations: 352.7 kB / 450.3 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.2315, allocations: 126 kB / 450.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.2318, allocations: 199.9 kB / 450.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.233, allocations: 0.5495 MB / 451.1 MB, free: 31.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2331, allocations: 2.531 kB / 451.1 MB, free: 31.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005928/0.2337, allocations: 401.3 kB / 451.5 MB, free: 31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.2337, allocations: 148.6 kB / 451.7 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2337, allocations: 0 / 451.7 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2337, allocations: 5.844 kB / 451.7 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.234, allocations: 83.09 kB / 451.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.234, allocations: 2.906 kB / 451.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.2342, allocations: 45.16 kB / 451.8 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.2343, allocations: 13.45 kB / 451.8 MB, free: 30.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-06/0.2343, allocations: 2.625 kB / 451.8 MB, free: 30.79 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003531/0.2346, allocations: 263.8 kB / 452.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.2346, allocations: 3.938 kB / 452.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.2347, allocations: 5.031 kB / 452.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.2349, allocations: 65.05 kB / 452.1 MB, free: 30.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2349, allocations: 8.062 kB / 452.1 MB, free: 30.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.2351, allocations: 34.08 kB / 452.2 MB, free: 30.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2351, allocations: 15.89 kB / 452.2 MB, free: 30.64 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: F.y:VARIABLE(flow=false start = F.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: 8 * Number of states: 0 () * Number of discrete variables: 3 (PIe.I.local_reset,PIp.I.local_reset,Gs.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002002/0.2353, allocations: 243.5 kB / 452.4 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.2354, allocations: 49.12 kB / 452.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.155e-05/0.2355, allocations: 57.44 kB / 452.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2355, allocations: 2.812 kB / 452.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2355, allocations: 0 / 452.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2355, allocations: 0 / 452.5 MB, free: 30.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003471/0.2358, allocations: 460.3 kB / 453 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2358, allocations: 2.844 kB / 453 MB, free: 30.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.2361, allocations: 62.86 kB / 453.1 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.2361, allocations: 3.938 kB / 453.1 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.2362, allocations: 6.344 kB / 453.1 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2362, allocations: 0 / 453.1 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2362, allocations: 2.625 kB / 453.1 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007668/0.237, allocations: 0.5674 MB / 453.6 MB, free: 29.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.339e-05/0.2371, allocations: 150.5 kB / 453.8 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.467e-05/0.2371, allocations: 10.62 kB / 453.8 MB, free: 29.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2373, allocations: 21.84 kB / 453.8 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.2374, allocations: 14.58 kB / 453.8 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.2374, allocations: 9.25 kB / 453.8 MB, free: 29.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.2376, allocations: 281.9 kB / 454.1 MB, free: 29.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2376, allocations: 0 / 454.1 MB, free: 29.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004231/0.238, allocations: 136.2 kB / 454.2 MB, free: 29.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (F.y,Gs.y,T.y,PIp.I.y,PIe.I.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 (28): * Single equations (assignments): 28 * 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.893e-05/0.2381, allocations: 111.7 kB / 454.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006786/0.2388, allocations: 439.4 kB / 454.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2388, allocations: 0 / 454.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002281/0.239, allocations: 152.2 kB / 454.9 MB, free: 29.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.2397, allocations: 119 kB / 455 MB, free: 29.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.2407, allocations: 1.016 MB / 456.1 MB, free: 28.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.2409, allocations: 0.8338 MB / 456.9 MB, free: 27.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.2411, allocations: 55.14 kB / 457 MB, free: 27.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.2412, allocations: 34.91 kB / 457 MB, free: 27.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2412, allocations: 0 / 457 MB, free: 27.68 MB / 350.1 MB Notification: Performance of Templates: time 0.007051/0.2482, allocations: 4.164 MB / 461.1 MB, free: 27.39 MB / 350.1 MB make -j1 -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.makefile (rm -f AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; mkfifo AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe ; head -c 1048576 < AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe >> ../files/AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.sim & ./AES_AES.Coursework.ElecSys_generator_models.BoilerFollows -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ElecSys_generator_models.BoilerFollows.pipe 2>&1)