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.001099/0.001099, allocations: 119.3 kB / 16.37 MB, free: 6.016 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.001101/0.001101, allocations: 193 kB / 17.31 MB, free: 5.613 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08967/0.08967, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 61.92 kB / 382.2 MB, free: 40.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1051, allocations: 54.96 MB / 437.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003386/0.1086, allocations: 2.006 MB / 439.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.1098, allocations: 0.6741 MB / 439.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.1099, allocations: 11.94 kB / 439.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.1103, allocations: 71.55 kB / 440 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.1106, allocations: 103.4 kB / 440.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.1109, allocations: 159.8 kB / 440.2 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.1114, allocations: 447.6 kB / 440.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.1116, allocations: 85.97 kB / 440.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1118, allocations: 179.4 kB / 440.9 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.1121, allocations: 211.2 kB / 441.1 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.1122, allocations: 24 kB / 441.1 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.1122, allocations: 24 kB / 441.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.1124, allocations: 99.64 kB / 441.3 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1125, allocations: 135.2 kB / 441.4 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1128, allocations: 294.9 kB / 441.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1128, allocations: 0 / 441.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.1128, allocations: 0 / 441.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1128, allocations: 3.938 kB / 441.7 MB, free: 7.699 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.001921/0.1148, allocations: 0.7596 MB / 442.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.1148, allocations: 8.031 kB / 442.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.457e-05/0.1149, allocations: 40.47 kB / 442.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.1159, allocations: 423.9 kB / 442.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.1159, allocations: 8.703 kB / 442.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.116, allocations: 20.38 kB / 442.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.1163, allocations: 208.4 kB / 443.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1163, allocations: 0 / 443.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1164, allocations: 4 kB / 443.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1164, allocations: 7.938 kB / 443.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.1167, allocations: 200.1 kB / 443.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.118, allocations: 0.6952 MB / 444 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.1188, allocations: 325.6 kB / 444.4 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.119, allocations: 123.2 kB / 444.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.1191, allocations: 11.92 kB / 444.5 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1191, allocations: 34.5 kB / 444.5 MB, free: 4.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 3.276e-06/0.1191, allocations: 3.984 kB / 444.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007314/0.1199, allocations: 369.4 kB / 444.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.1199, allocations: 59.41 kB / 445 MB, free: 4.258 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.1208, allocations: 416.4 kB / 445.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.1208, allocations: 29.7 kB / 445.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.121, allocations: 168.4 kB / 445.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.842e-05/0.121, allocations: 86.67 kB / 445.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.291e-05/0.1211, allocations: 53.69 kB / 445.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1213, allocations: 338.8 kB / 446 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.1215, allocations: 95.8 kB / 446.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.1216, allocations: 103.9 kB / 446.2 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.1239, allocations: 0.6472 MB / 446.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.124, allocations: 0 / 446.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005219/0.1245, allocations: 341.3 kB / 447.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1245, allocations: 6.031 kB / 447.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1245, allocations: 3.984 kB / 447.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1246, allocations: 4 kB / 447.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.1248, allocations: 55.91 kB / 447.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1249, allocations: 0 / 447.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.1252, allocations: 63.77 kB / 447.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.1253, allocations: 8 kB / 447.3 MB, free: 1.832 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.0002811/0.1256, allocations: 163.7 kB / 447.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.1256, allocations: 31.66 kB / 447.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006406/0.1263, allocations: 335.8 kB / 447.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1263, allocations: 4 kB / 447.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1263, allocations: 0 / 447.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1263, allocations: 7.922 kB / 447.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.1267, allocations: 365.2 kB / 448.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1267, allocations: 0 / 448.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.1271, allocations: 55.84 kB / 448.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1271, allocations: 8 kB / 448.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.1271, allocations: 11.98 kB / 448.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1271, allocations: 0 / 448.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1271, allocations: 0 / 448.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006973/0.1278, allocations: 0.5116 MB / 448.8 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.1279, allocations: 120.6 kB / 448.9 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.128, allocations: 8 kB / 448.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.1284, allocations: 59.86 kB / 449 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.1285, allocations: 15.97 kB / 449 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1285, allocations: 11.98 kB / 449 MB, free: 44 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007317/0.1292, allocations: 331 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1292, allocations: 0 / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.1295, allocations: 59.84 kB / 449.4 MB, free: 15.66 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 0.0001303/0.1297, allocations: 99.25 kB / 449.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000443/0.1301, allocations: 255.7 kB / 449.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1301, allocations: 4 kB / 449.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.1303, allocations: 132.2 kB / 449.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.1308, allocations: 58.61 kB / 449.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1321, allocations: 0.6926 MB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1325, allocations: 0.787 MB / 451.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.1326, allocations: 66.23 kB / 451.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.1327, allocations: 27.44 kB / 451.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1327, allocations: 0 / 451.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of Templates: time 0.006157/0.1389, allocations: 2.93 MB / 454.4 MB, free: 10.58 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 gbode -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1)