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.001502/0.001502, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2094/0.2094, allocations: 22.35 MB / 312.7 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 67.89 kB / 380.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.345, allocations: 54.95 MB / 435.8 MB, free: 39.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003544/0.3486, allocations: 1.998 MB / 437.8 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3498, allocations: 0.6781 MB / 438.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.35, allocations: 2.75 kB / 438.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.3504, allocations: 78.25 kB / 438.5 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.3507, allocations: 101.4 kB / 438.6 MB, free: 37.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.3509, allocations: 158.8 kB / 438.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004141/0.3514, allocations: 455.4 kB / 439.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.3516, allocations: 75.91 kB / 439.3 MB, free: 37.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.3518, allocations: 184.8 kB / 439.5 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002637/0.3521, allocations: 198.1 kB / 439.7 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.3521, allocations: 30.28 kB / 439.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.3522, allocations: 24.44 kB / 439.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.3523, allocations: 104.9 kB / 439.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.3524, allocations: 126.4 kB / 439.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.3527, allocations: 286.6 kB / 440.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3527, allocations: 0 / 440.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3527, allocations: 0 / 440.2 MB, free: 37.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3528, allocations: 0 / 440.2 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.001769/0.3545, allocations: 0.7696 MB / 441 MB, free: 36.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3546, allocations: 10.38 kB / 441 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.3547, allocations: 34.88 kB / 441 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.3555, allocations: 429.1 kB / 441.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3555, allocations: 12.3 kB / 441.5 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.3556, allocations: 25.47 kB / 441.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.3559, allocations: 210.8 kB / 441.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3559, allocations: 0 / 441.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.3559, allocations: 6.844 kB / 441.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.356, allocations: 2.906 kB / 441.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.3563, allocations: 203 kB / 441.9 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3574, allocations: 0.6947 MB / 442.6 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.3581, allocations: 322.2 kB / 442.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000183/0.3582, allocations: 124.8 kB / 443 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.3583, allocations: 2.969 kB / 443 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.3583, allocations: 34.5 kB / 443.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.3583, allocations: 4 kB / 443.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006278/0.359, allocations: 366.3 kB / 443.4 MB, free: 35.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.359, allocations: 58.22 kB / 443.5 MB, free: 35.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008107/0.3598, allocations: 419.4 kB / 443.9 MB, free: 35.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3598, allocations: 29.7 kB / 443.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.385e-05/0.3599, allocations: 166.3 kB / 444.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/0.36, allocations: 92.09 kB / 444.2 MB, free: 34.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.3601, allocations: 40.86 kB / 444.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.3602, allocations: 345.5 kB / 444.6 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.3603, allocations: 95.16 kB / 444.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.3605, allocations: 106.9 kB / 444.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.3628, allocations: 0.6519 MB / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3628, allocations: 0 / 445.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004856/0.3633, allocations: 339 kB / 445.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3634, allocations: 7.688 kB / 445.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3634, allocations: 0 / 445.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3634, allocations: 0 / 445.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.3637, allocations: 60.72 kB / 445.8 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3637, allocations: 7.938 kB / 445.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.3641, allocations: 58.69 kB / 445.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.3641, allocations: 5.438 kB / 445.9 MB, free: 34.18 MB / 350.1 MB Warning: Assuming fixed start value for the following 7 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 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] 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.3644, allocations: 166.9 kB / 446 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.3644, allocations: 35.84 kB / 446.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005908/0.365, allocations: 338.3 kB / 446.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.365, allocations: 6.781 kB / 446.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.3651, allocations: 0 / 446.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3651, allocations: 0 / 446.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.3655, allocations: 372.2 kB / 446.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3655, allocations: 0 / 446.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.3658, allocations: 52.59 kB / 446.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3658, allocations: 3.938 kB / 446.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.3658, allocations: 6.219 kB / 446.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3658, allocations: 0 / 446.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3658, allocations: 4 kB / 446.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006727/0.3665, allocations: 0.5174 MB / 447.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.3666, allocations: 121.1 kB / 447.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.3667, allocations: 6.625 kB / 447.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.3671, allocations: 51.03 kB / 447.5 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-05/0.3671, allocations: 18.58 kB / 447.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.3671, allocations: 9.25 kB / 447.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006757/0.3678, allocations: 329.5 kB / 447.9 MB, free: 33.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3678, allocations: 4 kB / 447.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.3681, allocations: 60.88 kB / 448 MB, free: 33.03 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 (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.0001266/0.3683, allocations: 103.6 kB / 448.1 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.3688, allocations: 286.6 kB / 448.3 MB, free: 32.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3688, allocations: 0 / 448.3 MB, free: 32.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.369, allocations: 125.3 kB / 448.5 MB, free: 32.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.3694, allocations: 64.38 kB / 448.5 MB, free: 32.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3708, allocations: 0.6947 MB / 449.2 MB, free: 32.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.3711, allocations: 0.7956 MB / 450 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001695/0.3712, allocations: 59.41 kB / 450.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.855e-05/0.3713, allocations: 36.31 kB / 450.1 MB, free: 31.69 MB / 350.1 MB Notification: Performance of SimCode: time 3.597e-06/0.3714, allocations: 0 / 450.1 MB, free: 31.69 MB / 350.1 MB Notification: Performance of Templates: time 0.006478/0.3778, allocations: 2.923 MB / 453 MB, free: 31.48 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)