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.001175/0.001175, allocations: 109 kB / 15.99 MB, free: 6.355 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.001212/0.001212, allocations: 192.2 kB / 16.91 MB, free: 6.188 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.24/1.24, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08593/0.08593, allocations: 22.32 MB / 313.1 MB, free: 9.141 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.22 kB / 380.9 MB, free: 41.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07638/0.07763, allocations: 54.95 MB / 435.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.002965/0.08063, allocations: 1.858 MB / 437.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009243/0.08158, allocations: 0.5651 MB / 438.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.08169, allocations: 4 kB / 438.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.08197, allocations: 35.83 kB / 438.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001667/0.08217, allocations: 43.77 kB / 438.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.08237, allocations: 87.88 kB / 438.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.08265, allocations: 251.5 kB / 438.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.08279, allocations: 45.94 kB / 438.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.08294, allocations: 99.67 kB / 438.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.08313, allocations: 127.5 kB / 439 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.08318, allocations: 16 kB / 439 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.798e-05/0.08321, allocations: 16 kB / 439 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.08331, allocations: 55.81 kB / 439 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.0834, allocations: 83.52 kB / 439.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.08358, allocations: 139.6 kB / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.0836, allocations: 0 / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0836, allocations: 3.938 kB / 439.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.08362, allocations: 0 / 439.3 MB, free: 10.11 MB / 318.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.001245/0.08487, allocations: 0.5648 MB / 439.8 MB, free: 9.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.08491, allocations: 12.03 kB / 439.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.08498, allocations: 20.66 kB / 439.9 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.08554, allocations: 304.4 kB / 440.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.08556, allocations: 8.375 kB / 440.2 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.0856, allocations: 16.28 kB / 440.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.08587, allocations: 140.2 kB / 440.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.08589, allocations: 3.938 kB / 440.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.08591, allocations: 3.984 kB / 440.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.08592, allocations: 4 kB / 440.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.08616, allocations: 119.8 kB / 440.5 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.08698, allocations: 0.5121 MB / 441 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.08738, allocations: 177 kB / 441.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.08753, allocations: 84.81 kB / 441.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.08756, allocations: 288 / 441.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.08759, allocations: 34.56 kB / 441.3 MB, free: 7.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 8.92e-07/0.08759, allocations: 0 / 441.3 MB, free: 7.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004813/0.08808, allocations: 249.2 kB / 441.5 MB, free: 7.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.08812, allocations: 51.41 kB / 441.5 MB, free: 7.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.08862, allocations: 279.1 kB / 441.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.08865, allocations: 25.7 kB / 441.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.08873, allocations: 136.3 kB / 442 MB, free: 7.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.08879, allocations: 55.2 kB / 442 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.08886, allocations: 33.7 kB / 442.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.08897, allocations: 326.8 kB / 442.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.08909, allocations: 63.95 kB / 442.4 MB, free: 6.715 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.08921, allocations: 60.66 kB / 442.5 MB, free: 6.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.09096, allocations: 454.8 kB / 443 MB, free: 6.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.09097, allocations: 0 / 443 MB, free: 6.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003421/0.09132, allocations: 223.6 kB / 443.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.09134, allocations: 9.875 kB / 443.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.09137, allocations: 4 kB / 443.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.09138, allocations: 0 / 443.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.09158, allocations: 35.98 kB / 443.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.0916, allocations: 7.875 kB / 443.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.09183, allocations: 35.8 kB / 443.3 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.09185, allocations: 8 kB / 443.3 MB, free: 5.891 MB / 318.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.0001674/0.09202, allocations: 158 kB / 443.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.09207, allocations: 19.8 kB / 443.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.09249, allocations: 227 kB / 443.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.0925, allocations: 4 kB / 443.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.09251, allocations: 3.938 kB / 443.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.09252, allocations: 7.938 kB / 443.7 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.09281, allocations: 281.4 kB / 444 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.09282, allocations: 4 kB / 444 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.09305, allocations: 35.92 kB / 444 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.09306, allocations: 0 / 444 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.09308, allocations: 4 kB / 444 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.09309, allocations: 3.984 kB / 444 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.0931, allocations: 3.938 kB / 444 MB, free: 5.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.09359, allocations: 389.3 kB / 444.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.09367, allocations: 100.9 kB / 444.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.09371, allocations: 3.984 kB / 444.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.09398, allocations: 31.91 kB / 444.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.09402, allocations: 7.984 kB / 444.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.09404, allocations: 4 kB / 444.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004018/0.09445, allocations: 220.5 kB / 444.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09446, allocations: 0 / 444.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.09472, allocations: 32 kB / 444.8 MB, free: 4.289 MB / 318.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 9.316e-05/0.09482, allocations: 103.2 kB / 444.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.09515, allocations: 179.8 kB / 445.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.09517, allocations: 0 / 445.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.0953, allocations: 79.91 kB / 445.1 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.09567, allocations: 43.28 kB / 445.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/0.09654, allocations: 0.5653 MB / 445.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.09682, allocations: 0.7475 MB / 446.5 MB, free: 2.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.09691, allocations: 19.44 kB / 446.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09691, allocations: 0 / 446.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of Templates: time 0.003904/0.1008, allocations: 2.529 MB / 449 MB, free: 15.96 MB / 334.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)