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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07536/0.07536, allocations: 17.69 MB / 33.63 MB, free: 1.781 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 181.4 kB / 38.92 MB, free: 20 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 249.5 MB, free: 2.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 101.5 kB / 302.2 MB, free: 4.402 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006346, allocations: 19.98 kB / 367 MB, free: 3.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.323, allocations: 51.97 MB / 418.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.4657, allocations: 78.84 MB / 497.8 MB, free: 9.422 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.4661, allocations: 71.97 kB / 497.8 MB, free: 9.352 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02473/0.4908, allocations: 5.257 MB / 0.4913 GB, free: 4.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-06/0.4909, allocations: 3.938 kB / 0.4913 GB, free: 4.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.325e-05/0.491, allocations: 11.94 kB / 0.4913 GB, free: 4.074 MB / 362.7 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.00267/0.4937, allocations: 0.6895 MB / 0.492 GB, free: 3.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.759e-05/0.4938, allocations: 8.031 kB / 0.492 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.494, allocations: 40.47 kB / 0.492 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.4955, allocations: 439.8 kB / 0.4925 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.4955, allocations: 12.7 kB / 0.4925 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.4956, allocations: 20.38 kB / 0.4925 GB, free: 2.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.4962, allocations: 200.7 kB / 0.4927 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.4963, allocations: 4.094 kB / 0.4927 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.4963, allocations: 7.938 kB / 0.4927 GB, free: 2.566 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4963, allocations: 4 kB / 0.4927 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/0.4969, allocations: 208.4 kB / 0.4929 GB, free: 2.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.4985, allocations: 0.6524 MB / 0.4935 GB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4995, allocations: 322.3 kB / 0.4938 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/0.4999, allocations: 116.8 kB / 0.494 GB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.4999, allocations: 7.938 kB / 0.494 GB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5, allocations: 34.56 kB / 0.494 GB, free: 1.164 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.625e-06/0.5, allocations: 0 / 0.494 GB, free: 1.164 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001058/0.501, allocations: 361.3 kB / 0.4943 GB, free: 0.8047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.5011, allocations: 55.41 kB / 0.4944 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.5025, allocations: 428.4 kB / 0.4948 GB, free: 324 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.5025, allocations: 33.7 kB / 0.4948 GB, free: 284 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.5027, allocations: 160.4 kB / 0.495 GB, free: 120 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.5028, allocations: 94.64 kB / 0.4951 GB, free: 24 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.5028, allocations: 4 kB / 0.4951 GB, free: 20 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.2352/0.738, allocations: 338.1 kB / 0.4954 GB, free: 81.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.7385, allocations: 92.42 kB / 0.4955 GB, free: 81.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.7387, allocations: 93.56 kB / 0.4956 GB, free: 81.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/0.7416, allocations: 0.6777 MB / 0.4962 GB, free: 81.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.7416, allocations: 0 / 0.4962 GB, free: 81.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005971/0.7423, allocations: 319.9 kB / 0.4965 GB, free: 81.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.7423, allocations: 12.69 kB / 0.4966 GB, free: 81.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7423, allocations: 1.844 kB / 0.4966 GB, free: 81.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.7423, allocations: 1.156 kB / 0.4966 GB, free: 81.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.7426, allocations: 54.62 kB / 0.4966 GB, free: 81.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.7426, allocations: 3.469 kB / 0.4966 GB, free: 81.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.743, allocations: 64.8 kB / 0.4967 GB, free: 81.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.743, allocations: 9.891 kB / 0.4967 GB, free: 81.7 MB / 362.7 MB Warning: Assuming fixed start value for the following 7 variables: Act2.y:VARIABLE(start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Cfb.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] CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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.0002561/0.7433, allocations: 174 kB / 0.4969 GB, free: 81.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.7434, allocations: 31.12 kB / 0.4969 GB, free: 81.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.744, allocations: 326.4 kB / 0.4972 GB, free: 81.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7441, allocations: 3.031 kB / 0.4972 GB, free: 81.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.7441, allocations: 8.844 kB / 0.4972 GB, free: 81.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.7441, allocations: 1.922 kB / 0.4972 GB, free: 81.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.7446, allocations: 366.6 kB / 0.4976 GB, free: 81.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7446, allocations: 0.7969 kB / 0.4976 GB, free: 81.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.7449, allocations: 44.45 kB / 0.4976 GB, free: 81.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.7449, allocations: 1.25 kB / 0.4976 GB, free: 81.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.745, allocations: 7.953 kB / 0.4976 GB, free: 81.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.745, allocations: 3.125 kB / 0.4976 GB, free: 81.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.745, allocations: 3.938 kB / 0.4976 GB, free: 81.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.7458, allocations: 0.5149 MB / 0.4981 GB, free: 81.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.7459, allocations: 117.5 kB / 0.4982 GB, free: 81.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.7459, allocations: 10.72 kB / 0.4982 GB, free: 81.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.7463, allocations: 58.3 kB / 0.4983 GB, free: 81.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.038e-05/0.7464, allocations: 22.66 kB / 0.4983 GB, free: 81.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.7464, allocations: 5.422 kB / 0.4983 GB, free: 81.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007847/0.7472, allocations: 333.9 kB / 0.4986 GB, free: 81.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7472, allocations: 1.375 kB / 0.4986 GB, free: 81.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003135/0.7475, allocations: 59.48 kB / 0.4987 GB, free: 81.01 MB / 362.7 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.0001484/0.7477, allocations: 125.4 kB / 0.4988 GB, free: 80.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005002/0.7482, allocations: 250.2 kB / 0.4991 GB, free: 80.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7482, allocations: 0 / 0.4991 GB, free: 80.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.7484, allocations: 126.8 kB / 0.4992 GB, free: 80.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.7489, allocations: 56.83 kB / 0.4992 GB, free: 80.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.7501, allocations: 0.7747 MB / 0.5 GB, free: 80.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.7504, allocations: 0.7978 MB / 0.5008 GB, free: 79.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.7506, allocations: 65.75 kB / 0.5008 GB, free: 79.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.7507, allocations: 33.44 kB / 0.5009 GB, free: 79.79 MB / 362.7 MB Notification: Performance of SimCode: time 2e-07/0.7507, allocations: 0 / 0.5009 GB, free: 79.79 MB / 362.7 MB Notification: Performance of Templates: time 0.006071/0.7568, allocations: 2.641 MB / 0.5034 GB, free: 79.62 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)