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.001104/0.001103, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008343/0.008343, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2189/0.2189, allocations: 22.35 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3809, allocations: 55.98 MB / 438.6 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.001966/0.3829, allocations: 1.705 MB / 440.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.3839, allocations: 0.6662 MB / 440.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.384, allocations: 3.156 kB / 440.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3843, allocations: 60.69 kB / 441 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002171/0.3845, allocations: 86.78 kB / 441.1 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.3848, allocations: 151.6 kB / 441.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.3852, allocations: 440.8 kB / 441.7 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3853, allocations: 70.02 kB / 441.7 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.3855, allocations: 154.2 kB / 441.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.3858, allocations: 188.1 kB / 442.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.3858, allocations: 12.75 kB / 442.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.135e-05/0.3859, allocations: 10.41 kB / 442.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.386, allocations: 88.2 kB / 442.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3861, allocations: 137.8 kB / 442.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.3863, allocations: 270.4 kB / 442.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3863, allocations: 0 / 442.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.075e-06/0.3863, allocations: 0 / 442.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3863, allocations: 0 / 442.6 MB, free: 36.95 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.001678/0.388, allocations: 0.7186 MB / 443.3 MB, free: 36.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3881, allocations: 13.22 kB / 443.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.3882, allocations: 37.94 kB / 443.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.389, allocations: 435.7 kB / 443.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.389, allocations: 10.27 kB / 443.8 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.3891, allocations: 26.31 kB / 443.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.3894, allocations: 201.8 kB / 444 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3894, allocations: 3.984 kB / 444 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.3895, allocations: 4 kB / 444 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3895, allocations: 3.875 kB / 444 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.3898, allocations: 202.3 kB / 444.2 MB, free: 36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3909, allocations: 0.7046 MB / 444.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.3916, allocations: 310.9 kB / 445.2 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.3918, allocations: 122 kB / 445.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.3918, allocations: 10.83 kB / 445.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3918, allocations: 37.41 kB / 445.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.3918, allocations: 0 / 445.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006437/0.3925, allocations: 368.5 kB / 445.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.3925, allocations: 57.48 kB / 445.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008237/0.3934, allocations: 429.7 kB / 446.2 MB, free: 35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3934, allocations: 25.7 kB / 446.2 MB, free: 34.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.3935, allocations: 165.5 kB / 446.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.3936, allocations: 89.23 kB / 446.5 MB, free: 34.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.3936, allocations: 33.23 kB / 446.5 MB, free: 34.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3937, allocations: 346.1 kB / 446.9 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3939, allocations: 90.89 kB / 447 MB, free: 34.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.3941, allocations: 101.8 kB / 447.1 MB, free: 34.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.3964, allocations: 0.677 MB / 447.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3964, allocations: 0 / 447.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004694/0.3969, allocations: 331.4 kB / 448.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3969, allocations: 5.812 kB / 448.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3969, allocations: 0 / 448.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3969, allocations: 0 / 448.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.3972, allocations: 57.38 kB / 448.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3972, allocations: 0 / 448.1 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.3976, allocations: 67.19 kB / 448.2 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.3976, allocations: 12.91 kB / 448.2 MB, free: 34 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.0002014/0.3978, allocations: 163.8 kB / 448.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.3979, allocations: 32.91 kB / 448.4 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005237/0.3984, allocations: 329.6 kB / 448.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3984, allocations: 2.844 kB / 448.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3984, allocations: 3.984 kB / 448.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3984, allocations: 0 / 448.7 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.3988, allocations: 373.1 kB / 449.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3988, allocations: 3.25 kB / 449.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.3991, allocations: 51.72 kB / 449.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3991, allocations: 3.719 kB / 449.1 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.3991, allocations: 11.16 kB / 449.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3991, allocations: 4 kB / 449.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3992, allocations: 0 / 449.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.3999, allocations: 0.513 MB / 449.7 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.4, allocations: 122.4 kB / 449.8 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.4, allocations: 11.97 kB / 449.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.4004, allocations: 46.28 kB / 449.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.4005, allocations: 19.09 kB / 449.9 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4005, allocations: 6.938 kB / 449.9 MB, free: 33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006994/0.4012, allocations: 333.8 kB / 450.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4012, allocations: 0 / 450.2 MB, free: 32.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.4015, allocations: 60.88 kB / 450.3 MB, free: 32.86 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.0001089/0.4016, allocations: 113.8 kB / 450.4 MB, free: 32.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.4021, allocations: 259.5 kB / 450.6 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4021, allocations: 0 / 450.6 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.4023, allocations: 126.2 kB / 450.7 MB, free: 32.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.4028, allocations: 66.11 kB / 450.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.4039, allocations: 0.8102 MB / 451.6 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.4042, allocations: 0.7964 MB / 452.4 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.4044, allocations: 60.28 kB / 452.5 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.4045, allocations: 25.22 kB / 452.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4045, allocations: 4 kB / 452.5 MB, free: 31.43 MB / 350.1 MB Notification: Performance of Templates: time 0.006079/0.4106, allocations: 2.709 MB / 455.2 MB, free: 31.24 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)