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.001068/0.001068, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001142/0.001142, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09424/0.09424, allocations: 22.32 MB / 313.4 MB, free: 8.961 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 61.06 kB / 381.5 MB, free: 41.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08062/0.082, allocations: 54.97 MB / 436.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003155/0.08519, allocations: 1.991 MB / 438.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.08641, allocations: 0.6858 MB / 439.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.08657, allocations: 4 kB / 439.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.08693, allocations: 75.48 kB / 439.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.08721, allocations: 99.52 kB / 439.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.08753, allocations: 155.7 kB / 439.4 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004551/0.088, allocations: 455.6 kB / 439.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.08817, allocations: 78.27 kB / 439.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.08843, allocations: 183.4 kB / 440.1 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.08874, allocations: 203.2 kB / 440.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.08882, allocations: 24 kB / 440.3 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.85e-05/0.08887, allocations: 24 kB / 440.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001276/0.089, allocations: 103.7 kB / 440.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.08915, allocations: 135.1 kB / 440.6 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.08944, allocations: 279 kB / 440.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.08945, allocations: 0 / 440.9 MB, free: 8.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08946, allocations: 4 kB / 440.9 MB, free: 8.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.08948, allocations: 0 / 440.9 MB, free: 8.543 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.001844/0.09132, allocations: 0.7713 MB / 441.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.09136, allocations: 8.031 kB / 441.7 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.368e-05/0.09144, allocations: 36.47 kB / 441.7 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009011/0.09235, allocations: 427.8 kB / 442.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.09238, allocations: 16.7 kB / 442.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.09243, allocations: 20.38 kB / 442.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.09277, allocations: 200.4 kB / 442.3 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.09279, allocations: 3.984 kB / 442.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.09282, allocations: 8 kB / 442.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.09283, allocations: 7.938 kB / 442.4 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003567/0.09319, allocations: 199.8 kB / 442.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.09434, allocations: 0.703 MB / 443.3 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.09505, allocations: 310.4 kB / 443.6 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.09527, allocations: 124.8 kB / 443.7 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.09531, allocations: 4 kB / 443.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.09533, allocations: 34.5 kB / 443.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.09534, allocations: 0 / 443.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006597/0.096, allocations: 371.4 kB / 444.1 MB, free: 5.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.09605, allocations: 51.41 kB / 444.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008665/0.09692, allocations: 424.4 kB / 444.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.09696, allocations: 33.7 kB / 444.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.09706, allocations: 160.4 kB / 444.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.09714, allocations: 94.64 kB / 444.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.09723, allocations: 49.7 kB / 444.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.09737, allocations: 346.8 kB / 445.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.09754, allocations: 95.8 kB / 445.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.09771, allocations: 103.9 kB / 445.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.1001, allocations: 0.6512 MB / 446.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1001, allocations: 3.938 kB / 446.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005001/0.1006, allocations: 337.4 kB / 446.4 MB, free: 2.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.1006, allocations: 6.5 kB / 446.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1006, allocations: 0 / 446.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1006, allocations: 4 kB / 446.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.1009, allocations: 55.91 kB / 446.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1009, allocations: 0 / 446.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.1013, allocations: 63.77 kB / 446.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.1013, allocations: 11.98 kB / 446.5 MB, free: 2.652 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.0002114/0.1016, allocations: 163.7 kB / 446.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.1016, allocations: 31.66 kB / 446.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.1022, allocations: 331.9 kB / 447.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1022, allocations: 7.984 kB / 447.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1022, allocations: 0 / 447.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1023, allocations: 7.922 kB / 447.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.1027, allocations: 361.3 kB / 447.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1027, allocations: 3.938 kB / 447.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.103, allocations: 55.91 kB / 447.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.103, allocations: 4 kB / 447.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.103, allocations: 4 kB / 447.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.103, allocations: 11.98 kB / 447.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.103, allocations: 0 / 447.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007038/0.1037, allocations: 0.5116 MB / 448 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.903e-05/0.1038, allocations: 120.6 kB / 448.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.1039, allocations: 8 kB / 448.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.1043, allocations: 55.92 kB / 448.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.1044, allocations: 11.97 kB / 448.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.1044, allocations: 12 kB / 448.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000757/0.1052, allocations: 330.9 kB / 448.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1052, allocations: 0 / 448.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.1055, allocations: 59.84 kB / 448.6 MB, free: 0.4922 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.0001197/0.1056, allocations: 103.2 kB / 448.7 MB, free: 388 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004923/0.1061, allocations: 287.7 kB / 449 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1061, allocations: 0 / 449 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.1063, allocations: 132.3 kB / 449.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.1068, allocations: 52.62 kB / 449.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.108, allocations: 0.7278 MB / 449.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1084, allocations: 0.7987 MB / 450.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1085, allocations: 31.42 kB / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1085, allocations: 0 / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of Templates: time 0.005486/0.114, allocations: 3.849 MB / 454.6 MB, free: 10.45 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)