Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007447/0.0007447, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004207/0.004207, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.266/1.266, 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.184/0.184, allocations: 22.34 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002625, allocations: 8 kB / 382.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2202, allocations: 55.98 MB / 438.6 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.00129/0.2215, allocations: 1.505 MB / 440.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000643/0.2222, allocations: 0.5565 MB / 440.6 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.2223, allocations: 6.938 kB / 440.6 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.2225, allocations: 36.56 kB / 440.7 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2227, allocations: 52.75 kB / 440.7 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.2228, allocations: 76.94 kB / 440.8 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.223, allocations: 240.6 kB / 441 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.2231, allocations: 37.88 kB / 441.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.352e-05/0.2232, allocations: 96.44 kB / 441.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2234, allocations: 108.5 kB / 441.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.2234, allocations: 8 kB / 441.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.2234, allocations: 5.469 kB / 441.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.2235, allocations: 54.3 kB / 441.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.783e-05/0.2236, allocations: 91.59 kB / 441.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.2237, allocations: 162.7 kB / 441.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2237, allocations: 0 / 441.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2237, allocations: 0 / 441.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.2237, allocations: 0 / 441.6 MB, free: 37.56 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001002/0.2247, allocations: 0.5491 MB / 442.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.2248, allocations: 11.66 kB / 442.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.2248, allocations: 26.97 kB / 442.2 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.2253, allocations: 313.3 kB / 442.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2253, allocations: 17.94 kB / 442.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.2254, allocations: 10.44 kB / 442.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.2256, allocations: 135.2 kB / 442.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2256, allocations: 0 / 442.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.2256, allocations: 4 kB / 442.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2256, allocations: 3.531 kB / 442.7 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.2258, allocations: 121.7 kB / 442.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.2265, allocations: 0.5212 MB / 443.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.2269, allocations: 177.1 kB / 443.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.227, allocations: 82.39 kB / 443.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.227, allocations: 2.656 kB / 443.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.227, allocations: 34.56 kB / 443.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2271, allocations: 2.875 kB / 443.6 MB, free: 36.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.000409/0.2275, allocations: 239 kB / 443.8 MB, free: 36.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.708e-05/0.2275, allocations: 57.78 kB / 443.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.2279, allocations: 272.5 kB / 444.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.228, allocations: 29.7 kB / 444.2 MB, free: 35.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.228, allocations: 126.7 kB / 444.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.2281, allocations: 56.78 kB / 444.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.2281, allocations: 23.22 kB / 444.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.2281, allocations: 335.2 kB / 444.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.983e-05/0.2282, allocations: 60.31 kB / 444.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.2283, allocations: 68.48 kB / 444.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.2301, allocations: 474.5 kB / 445.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2301, allocations: 0 / 445.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002966/0.2304, allocations: 218.3 kB / 445.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.2304, allocations: 5.688 kB / 445.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.2304, allocations: 0 / 445.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.278e-06/0.2304, allocations: 0 / 445.5 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.2306, allocations: 42.08 kB / 445.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2306, allocations: 6.531 kB / 445.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.2309, allocations: 37.92 kB / 445.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.2309, allocations: 5.781 kB / 445.6 MB, free: 35.11 MB / 350.1 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 (20): * Single equations (assignments): 20 * 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.0001371/0.231, allocations: 147.2 kB / 445.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.2311, allocations: 17.16 kB / 445.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.2315, allocations: 224.1 kB / 446 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2315, allocations: 2.844 kB / 446 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2315, allocations: 3.938 kB / 446 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2315, allocations: 0 / 446 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.2317, allocations: 289.4 kB / 446.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2317, allocations: 0 / 446.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.232, allocations: 36.58 kB / 446.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.232, allocations: 4 kB / 446.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.232, allocations: 6.469 kB / 446.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.232, allocations: 0 / 446.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.232, allocations: 6.719 kB / 446.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.2324, allocations: 384.5 kB / 446.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.2325, allocations: 96.72 kB / 446.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.2325, allocations: 17.27 kB / 446.8 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/0.2328, allocations: 39.22 kB / 446.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.2328, allocations: 6.281 kB / 446.8 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.2329, allocations: 8.891 kB / 446.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000387/0.2332, allocations: 218.9 kB / 447.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2333, allocations: 4 kB / 447.1 MB, free: 34.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.2335, allocations: 36.84 kB / 447.1 MB, free: 34.14 MB / 350.1 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 (17): * Single equations (assignments): 17 * 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.454e-05/0.2336, allocations: 97.19 kB / 447.2 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.2339, allocations: 166.3 kB / 447.4 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2339, allocations: 2.906 kB / 447.4 MB, free: 34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.234, allocations: 79.94 kB / 447.4 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2344, allocations: 44.62 kB / 447.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.2351, allocations: 0.5392 MB / 448 MB, free: 33.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2352, allocations: 0.7447 MB / 448.8 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2353, allocations: 37.97 kB / 448.8 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.2354, allocations: 27.86 kB / 448.8 MB, free: 32.92 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2354, allocations: 0 / 448.8 MB, free: 32.92 MB / 350.1 MB Notification: Performance of Templates: time 0.003713/0.2391, allocations: 1.829 MB / 450.7 MB, free: 32.77 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)