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.001157/0.001157, allocations: 107.5 kB / 16.36 MB, free: 5.824 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.001237/0.001237, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09039/0.09039, allocations: 22.33 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 59.75 kB / 382.2 MB, free: 41.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.09085, allocations: 54.97 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003112/0.09401, allocations: 1.998 MB / 439.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.09516, allocations: 0.6858 MB / 439.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.09528, allocations: 4 kB / 439.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.09563, allocations: 71.48 kB / 440 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.0959, allocations: 103.5 kB / 440.1 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.09618, allocations: 159.7 kB / 440.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.09661, allocations: 451.6 kB / 440.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.09679, allocations: 85.98 kB / 440.7 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.09698, allocations: 183.4 kB / 440.9 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.09726, allocations: 203.2 kB / 441.1 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.09731, allocations: 24 kB / 441.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.624e-05/0.09736, allocations: 28 kB / 441.2 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.09749, allocations: 95.7 kB / 441.3 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.09762, allocations: 139.1 kB / 441.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.09789, allocations: 290.9 kB / 441.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.0979, allocations: 0 / 441.7 MB, free: 7.762 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09791, allocations: 4 kB / 441.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.09792, allocations: 0 / 441.7 MB, free: 7.758 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.001675/0.0996, allocations: 0.7577 MB / 442.4 MB, free: 6.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.09964, allocations: 12.03 kB / 442.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.09972, allocations: 40.41 kB / 442.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.1007, allocations: 423.8 kB / 442.9 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1007, allocations: 12.7 kB / 442.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.1007, allocations: 20.38 kB / 442.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.1011, allocations: 200.4 kB / 443.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1011, allocations: 3.938 kB / 443.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/0.1011, allocations: 8 kB / 443.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1011, allocations: 4 kB / 443.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.1015, allocations: 204.1 kB / 443.3 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1027, allocations: 0.7029 MB / 444.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.1034, allocations: 313.5 kB / 444.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1036, allocations: 124.8 kB / 444.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.1036, allocations: 4 kB / 444.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1036, allocations: 34.5 kB / 444.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.343e-06/0.1036, allocations: 4 kB / 444.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006389/0.1043, allocations: 372 kB / 444.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.1043, allocations: 51.41 kB / 444.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.1052, allocations: 424.4 kB / 445.3 MB, free: 3.902 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1052, allocations: 25.7 kB / 445.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/0.1053, allocations: 168.4 kB / 445.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.1054, allocations: 94.64 kB / 445.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.1055, allocations: 49.7 kB / 445.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1056, allocations: 338.8 kB / 446 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.1058, allocations: 95.8 kB / 446.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1059, allocations: 107.9 kB / 446.2 MB, free: 3.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.1082, allocations: 0.6545 MB / 446.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1082, allocations: 0 / 446.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005061/0.1087, allocations: 333.4 kB / 447.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1087, allocations: 4 kB / 447.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1087, allocations: 0 / 447.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1087, allocations: 4 kB / 447.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.109, allocations: 55.91 kB / 447.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.109, allocations: 0 / 447.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.1094, allocations: 63.77 kB / 447.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.1094, allocations: 8 kB / 447.3 MB, free: 1.895 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.0002231/0.1097, allocations: 179.6 kB / 447.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.1097, allocations: 27.66 kB / 447.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005831/0.1103, allocations: 331.9 kB / 447.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1103, allocations: 7.938 kB / 447.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1104, allocations: 0 / 447.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1104, allocations: 0 / 447.9 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.1107, allocations: 365.3 kB / 448.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1108, allocations: 3.984 kB / 448.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003063/0.1111, allocations: 55.86 kB / 448.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1111, allocations: 4 kB / 448.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.1111, allocations: 7.984 kB / 448.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1111, allocations: 4 kB / 448.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1111, allocations: 0 / 448.3 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/0.1118, allocations: 0.5155 MB / 448.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1119, allocations: 120.6 kB / 448.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.112, allocations: 11.98 kB / 448.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.1124, allocations: 43.94 kB / 449 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.1124, allocations: 15.97 kB / 449 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1124, allocations: 12 kB / 449 MB, free: 112 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006919/0.1131, allocations: 331 kB / 449.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1132, allocations: 0 / 449.3 MB, free: 15.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.1135, allocations: 59.84 kB / 449.4 MB, free: 15.72 MB / 334.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 9.645e-05/0.1136, allocations: 107.2 kB / 449.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.114, allocations: 251.7 kB / 449.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.114, allocations: 0 / 449.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.1142, allocations: 136.3 kB / 449.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1146, allocations: 58.84 kB / 449.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1158, allocations: 0.6848 MB / 450.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.1161, allocations: 0.8026 MB / 451.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.1162, allocations: 70.23 kB / 451.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.1163, allocations: 27.38 kB / 451.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1163, allocations: 3.938 kB / 451.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Templates: time 0.005958/0.1223, allocations: 2.917 MB / 454.4 MB, free: 10.63 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 -s cvode -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)