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.00598/0.00598, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.00156/0.00156, allocations: 194.2 kB / 16.79 MB, free: 5.809 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.32/1.32, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1853/0.1853, allocations: 22.35 MB / 313 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 380.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2394, allocations: 54.94 MB / 435.7 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002551/0.242, allocations: 2.05 MB / 437.7 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.2431, allocations: 0.6727 MB / 438.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.2432, allocations: 7.906 kB / 438.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.2436, allocations: 57.45 kB / 438.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.2438, allocations: 98.3 kB / 438.6 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.244, allocations: 146.3 kB / 438.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000319/0.2443, allocations: 439.5 kB / 439.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2445, allocations: 74.86 kB / 439.2 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.2446, allocations: 159 kB / 439.4 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2449, allocations: 204.2 kB / 439.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.2449, allocations: 15.72 kB / 439.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.245, allocations: 12.28 kB / 439.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2451, allocations: 90.66 kB / 439.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.898e-05/0.2452, allocations: 126.5 kB / 439.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.2453, allocations: 210.6 kB / 440 MB, free: 37.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2453, allocations: 0 / 440 MB, free: 37.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.2453, allocations: 6.938 kB / 440 MB, free: 37.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2453, allocations: 0 / 440 MB, free: 37.05 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.001633/0.247, allocations: 0.7621 MB / 440.8 MB, free: 36.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.247, allocations: 8.031 kB / 440.8 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.2471, allocations: 41.09 kB / 440.8 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007874/0.2479, allocations: 420.5 kB / 441.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2479, allocations: 13.45 kB / 441.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.248, allocations: 19.19 kB / 441.3 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.2483, allocations: 201.2 kB / 441.5 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2483, allocations: 0 / 441.5 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.2483, allocations: 11.94 kB / 441.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2483, allocations: 2.812 kB / 441.5 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.2487, allocations: 204.4 kB / 441.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009752/0.2496, allocations: 0.7008 MB / 442.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.2503, allocations: 309.5 kB / 442.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2505, allocations: 131.7 kB / 442.8 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.2505, allocations: 6.625 kB / 442.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2506, allocations: 41.31 kB / 442.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.473e-06/0.2506, allocations: 0 / 442.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006163/0.2512, allocations: 362.2 kB / 443.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.2512, allocations: 58.56 kB / 443.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.252, allocations: 420.6 kB / 443.7 MB, free: 35.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.252, allocations: 32.55 kB / 443.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.2521, allocations: 158.8 kB / 443.9 MB, free: 34.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.2522, allocations: 94.2 kB / 444 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-05/0.2523, allocations: 48.73 kB / 444 MB, free: 34.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.2523, allocations: 343.3 kB / 444.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2525, allocations: 98.72 kB / 444.4 MB, free: 34.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.2526, allocations: 98.14 kB / 444.5 MB, free: 34.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/0.2549, allocations: 0.66 MB / 445.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2549, allocations: 0 / 445.2 MB, free: 34.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000447/0.2553, allocations: 326.3 kB / 445.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2554, allocations: 5.938 kB / 445.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2554, allocations: 0 / 445.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2554, allocations: 10.2 kB / 445.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.2557, allocations: 54.72 kB / 445.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.2557, allocations: 3.984 kB / 445.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.256, allocations: 66.34 kB / 445.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.2561, allocations: 8.406 kB / 445.7 MB, free: 34.07 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.0001854/0.2563, allocations: 167.1 kB / 445.8 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.2563, allocations: 32.16 kB / 445.9 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.2568, allocations: 335.9 kB / 446.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2568, allocations: 2.938 kB / 446.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2569, allocations: 0 / 446.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2569, allocations: 3.375 kB / 446.2 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.2572, allocations: 365.9 kB / 446.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2572, allocations: 0 / 446.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.2575, allocations: 53.88 kB / 446.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2575, allocations: 2.844 kB / 446.6 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.2575, allocations: 10.81 kB / 446.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2576, allocations: 4 kB / 446.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2576, allocations: 3.938 kB / 446.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.2582, allocations: 0.5173 MB / 447.1 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/0.2582, allocations: 116.6 kB / 447.3 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.2583, allocations: 6.125 kB / 447.3 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.2587, allocations: 55.73 kB / 447.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.2587, allocations: 20.02 kB / 447.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2588, allocations: 2.938 kB / 447.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006578/0.2594, allocations: 333.1 kB / 447.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2594, allocations: 0 / 447.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.2597, allocations: 59.03 kB / 447.7 MB, free: 32.93 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 7.933e-05/0.2598, allocations: 108.8 kB / 447.8 MB, free: 32.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003769/0.2602, allocations: 259.5 kB / 448.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2602, allocations: 0 / 448.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.2604, allocations: 131.8 kB / 448.2 MB, free: 32.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.2608, allocations: 63.28 kB / 448.3 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2618, allocations: 0.8276 MB / 449.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.262, allocations: 0.7935 MB / 449.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.2621, allocations: 26.44 kB / 449.9 MB, free: 31.47 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2621, allocations: 0 / 449.9 MB, free: 31.47 MB / 350.1 MB Notification: Performance of Templates: time 0.004579/0.2667, allocations: 3.841 MB / 453.8 MB, free: 31.14 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)