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.001173/0.001173, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.00119/0.00119, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.211/1.211, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08831/0.08831, allocations: 22.32 MB / 313.1 MB, free: 9.152 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 66.66 kB / 380.9 MB, free: 41.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07335/0.07466, allocations: 54.96 MB / 435.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002974/0.07767, allocations: 2.044 MB / 437.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.07878, allocations: 0.6703 MB / 438.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.07893, allocations: 4 kB / 438.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.07927, allocations: 63.67 kB / 438.7 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.07954, allocations: 95.58 kB / 438.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.07983, allocations: 139.8 kB / 438.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004597/0.0803, allocations: 459.5 kB / 439.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.08047, allocations: 78.27 kB / 439.4 MB, free: 9.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.08072, allocations: 187.3 kB / 439.6 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.08102, allocations: 215.2 kB / 439.8 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.08109, allocations: 24 kB / 439.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.456e-05/0.08114, allocations: 24 kB / 439.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.08126, allocations: 99.72 kB / 439.9 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.0814, allocations: 131.1 kB / 440.1 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.08162, allocations: 215.6 kB / 440.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08163, allocations: 4 kB / 440.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08164, allocations: 0 / 440.3 MB, free: 9.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.517e-06/0.08165, allocations: 0 / 440.3 MB, free: 9.105 MB / 318.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.001741/0.0834, allocations: 0.7674 MB / 441.1 MB, free: 8.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.08344, allocations: 8.031 kB / 441.1 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.08352, allocations: 36.47 kB / 441.1 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.08438, allocations: 427.8 kB / 441.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.08441, allocations: 12.7 kB / 441.5 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.08446, allocations: 20.38 kB / 441.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000335/0.0848, allocations: 200.4 kB / 441.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.08482, allocations: 0 / 441.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.08485, allocations: 11.98 kB / 441.8 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.08486, allocations: 4 kB / 441.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.08521, allocations: 199.8 kB / 442 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.08632, allocations: 0.7069 MB / 442.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/0.087, allocations: 318.4 kB / 443 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.08719, allocations: 116.8 kB / 443.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.08723, allocations: 4 kB / 443.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.08726, allocations: 38.5 kB / 443.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.312e-06/0.08726, allocations: 0 / 443.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006325/0.0879, allocations: 371.6 kB / 443.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.08796, allocations: 51.41 kB / 443.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.08878, allocations: 424.4 kB / 444 MB, free: 5.242 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.08882, allocations: 29.7 kB / 444 MB, free: 5.207 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.08891, allocations: 164.4 kB / 444.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.089, allocations: 98.64 kB / 444.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.53e-05/0.08908, allocations: 41.7 kB / 444.3 MB, free: 4.898 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.08919, allocations: 346.8 kB / 444.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.08936, allocations: 95.8 kB / 444.7 MB, free: 4.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.08952, allocations: 99.88 kB / 444.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.0918, allocations: 0.6537 MB / 445.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.09182, allocations: 4 kB / 445.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004886/0.09231, allocations: 329.1 kB / 445.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.09233, allocations: 4 kB / 445.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.09234, allocations: 0 / 445.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.09237, allocations: 4 kB / 445.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.09263, allocations: 55.91 kB / 445.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.09265, allocations: 0 / 445.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.09301, allocations: 63.77 kB / 445.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.09304, allocations: 8 kB / 445.9 MB, free: 3.234 MB / 318.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.0002291/0.09328, allocations: 174.6 kB / 446.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.09335, allocations: 31.66 kB / 446.1 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/0.09389, allocations: 335.8 kB / 446.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.09391, allocations: 4 kB / 446.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.09392, allocations: 0 / 446.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.09393, allocations: 0 / 446.5 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.0943, allocations: 369.2 kB / 446.8 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.09432, allocations: 4 kB / 446.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000308/0.09463, allocations: 55.84 kB / 446.9 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.09464, allocations: 4 kB / 446.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.09467, allocations: 4 kB / 446.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.09468, allocations: 4 kB / 446.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.09469, allocations: 4 kB / 446.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006576/0.09535, allocations: 0.5155 MB / 447.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.09545, allocations: 124.6 kB / 447.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.646e-05/0.0955, allocations: 8 kB / 447.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004042/0.09591, allocations: 51.92 kB / 447.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.09597, allocations: 7.984 kB / 447.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.096, allocations: 11.98 kB / 447.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007116/0.09671, allocations: 330.9 kB / 447.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09672, allocations: 0 / 447.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.09701, allocations: 55.84 kB / 448 MB, free: 1.074 MB / 318.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.0001088/0.09712, allocations: 115.2 kB / 448.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.0976, allocations: 287.7 kB / 448.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09761, allocations: 0 / 448.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.09781, allocations: 128.2 kB / 448.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.09824, allocations: 63.2 kB / 448.6 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.09943, allocations: 0.8233 MB / 449.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.09974, allocations: 0.7909 MB / 450.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.09986, allocations: 31.42 kB / 450.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.09987, allocations: 4 kB / 450.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of Templates: time 0.005935/0.1058, allocations: 3.849 MB / 454.1 MB, free: 10.93 MB / 334.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)