Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008937/0.0008937, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001294/0.001294, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2369/0.2369, allocations: 22.34 MB / 313.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 4 kB / 381.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3426, allocations: 55.98 MB / 437.9 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.001957/0.3446, allocations: 1.651 MB / 439.6 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3457, allocations: 0.6472 MB / 440.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3458, allocations: 6.719 kB / 440.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.3462, allocations: 54.7 kB / 440.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.3464, allocations: 89.3 kB / 440.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.3467, allocations: 133 kB / 440.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.3472, allocations: 380.4 kB / 440.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3473, allocations: 68.08 kB / 440.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.3475, allocations: 184.5 kB / 441.1 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.3478, allocations: 185.8 kB / 441.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.3479, allocations: 15.31 kB / 441.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.46e-05/0.3479, allocations: 10.62 kB / 441.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.348, allocations: 83.11 kB / 441.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.578e-05/0.3481, allocations: 64.3 kB / 441.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.3483, allocations: 207.1 kB / 441.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3483, allocations: 0 / 441.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3483, allocations: 0 / 441.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3483, allocations: 0 / 441.7 MB, free: 37.18 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001551/0.3499, allocations: 0.7328 MB / 442.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.3499, allocations: 8.438 kB / 442.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.35, allocations: 36.03 kB / 442.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007703/0.3508, allocations: 420.6 kB / 442.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3508, allocations: 10.27 kB / 442.8 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.3508, allocations: 19.84 kB / 442.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.3512, allocations: 195.9 kB / 443.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3512, allocations: 3.953 kB / 443.1 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.3512, allocations: 6.5 kB / 443.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3512, allocations: 5.25 kB / 443.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.3516, allocations: 203.5 kB / 443.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.3526, allocations: 0.6979 MB / 444 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.3532, allocations: 318.6 kB / 444.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.3534, allocations: 130.1 kB / 444.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/0.3534, allocations: 2.625 kB / 444.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.3534, allocations: 33.25 kB / 444.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.3534, allocations: 0 / 444.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00059/0.354, allocations: 364.2 kB / 444.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3541, allocations: 58.05 kB / 444.9 MB, free: 35.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/0.3548, allocations: 429.2 kB / 445.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.3549, allocations: 28.55 kB / 445.3 MB, free: 35.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.355, allocations: 168.8 kB / 445.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.355, allocations: 85.38 kB / 445.6 MB, free: 35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.3551, allocations: 6.719 kB / 445.6 MB, free: 35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.3552, allocations: 348.7 kB / 445.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3553, allocations: 87.98 kB / 446 MB, free: 34.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3554, allocations: 97.5 kB / 446.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.3556, allocations: 110 kB / 446.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3556, allocations: 3.469 kB / 446.2 MB, free: 34.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000443/0.3561, allocations: 325.4 kB / 446.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3561, allocations: 9.688 kB / 446.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.3561, allocations: 0 / 446.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3562, allocations: 0 / 446.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.3564, allocations: 51.2 kB / 446.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.3564, allocations: 6.859 kB / 446.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3567, allocations: 71.7 kB / 446.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.3568, allocations: 14.52 kB / 446.7 MB, free: 34.39 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 variables: CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.357, allocations: 184.6 kB / 446.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.357, allocations: 30.53 kB / 446.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.3576, allocations: 326.9 kB / 447.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3576, allocations: 2.969 kB / 447.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3576, allocations: 0 / 447.2 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3576, allocations: 7.375 kB / 447.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.3579, allocations: 375.1 kB / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.358, allocations: 0 / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.3582, allocations: 48.83 kB / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3582, allocations: 0 / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.3583, allocations: 11.27 kB / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3583, allocations: 0 / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3583, allocations: 0 / 447.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006075/0.3589, allocations: 0.5238 MB / 448.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.359, allocations: 108.7 kB / 448.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.359, allocations: 7.531 kB / 448.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.3594, allocations: 55.98 kB / 448.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.3594, allocations: 18.3 kB / 448.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3594, allocations: 9.156 kB / 448.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005878/0.36, allocations: 333.2 kB / 448.7 MB, free: 33.26 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.36, allocations: 0 / 448.7 MB, free: 33.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.3603, allocations: 54.31 kB / 448.7 MB, free: 33.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.x_scaled[1]) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000107/0.3604, allocations: 108.4 kB / 448.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.3608, allocations: 252.9 kB / 449.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3609, allocations: 0 / 449.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.361, allocations: 128.7 kB / 449.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3615, allocations: 58.67 kB / 449.3 MB, free: 33.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.3626, allocations: 0.7781 MB / 450 MB, free: 32.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.3628, allocations: 0.7997 MB / 450.8 MB, free: 31.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.363, allocations: 65.59 kB / 450.9 MB, free: 31.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.3631, allocations: 27.34 kB / 450.9 MB, free: 31.86 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3631, allocations: 4 kB / 450.9 MB, free: 31.85 MB / 350.1 MB Notification: Performance of Templates: time 0.005516/0.3686, allocations: 2.638 MB / 453.6 MB, free: 31.65 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)