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.006167/0.006167, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.00156/0.001561, allocations: 199 kB / 16.67 MB, free: 5.977 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2137/0.2137, allocations: 22.37 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.84 kB / 437.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09796, allocations: 54.96 MB / 492 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002579/0.1006, allocations: 2.007 MB / 494 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1016, allocations: 0.6819 MB / 494.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.1017, allocations: 7.938 kB / 494.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003172/0.1021, allocations: 71.55 kB / 494.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.1023, allocations: 103.4 kB / 494.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1026, allocations: 155.8 kB / 495.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.1031, allocations: 451.5 kB / 495.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1033, allocations: 82.03 kB / 495.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1035, allocations: 183.4 kB / 495.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.1037, allocations: 203.2 kB / 495.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.1038, allocations: 27.94 kB / 496 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.1039, allocations: 28 kB / 496 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.104, allocations: 99.7 kB / 496.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1041, allocations: 131.2 kB / 496.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1044, allocations: 298.8 kB / 496.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1044, allocations: 0 / 496.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1044, allocations: 0 / 496.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1044, allocations: 0 / 496.5 MB, free: 12.7 MB / 366.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.001748/0.1061, allocations: 0.7577 MB / 497.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.1062, allocations: 8.031 kB / 497.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.1062, allocations: 36.56 kB / 497.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000954/0.1072, allocations: 427.8 kB / 497.7 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.1072, allocations: 12.7 kB / 497.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.1073, allocations: 28.22 kB / 497.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1076, allocations: 208.4 kB / 498 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1077, allocations: 0 / 498 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1077, allocations: 8 kB / 498 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.1077, allocations: 4 kB / 498 MB, free: 11.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.1081, allocations: 200.1 kB / 498.2 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.1092, allocations: 0.6875 MB / 498.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.1099, allocations: 315.5 kB / 499.2 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.1101, allocations: 128.8 kB / 499.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1101, allocations: 7.969 kB / 499.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.1101, allocations: 38.5 kB / 499.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.1101, allocations: 0 / 499.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.000667/0.1108, allocations: 363.7 kB / 499.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1108, allocations: 59.34 kB / 499.8 MB, free: 9.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/0.1117, allocations: 424.4 kB / 0.4885 GB, free: 8.844 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1118, allocations: 25.7 kB / 0.4885 GB, free: 8.812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1119, allocations: 168.4 kB / 0.4886 GB, free: 8.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-05/0.112, allocations: 78.77 kB / 0.4887 GB, free: 8.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.112, allocations: 57.69 kB / 0.4888 GB, free: 8.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1122, allocations: 338.8 kB / 0.4891 GB, free: 8.164 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.1124, allocations: 91.94 kB / 0.4892 GB, free: 8.074 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.1126, allocations: 95.92 kB / 0.4893 GB, free: 7.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.1149, allocations: 0.6612 MB / 0.4899 GB, free: 7.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1149, allocations: 0 / 0.4899 GB, free: 7.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005047/0.1154, allocations: 345.2 kB / 0.4903 GB, free: 6.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1155, allocations: 6.344 kB / 0.4903 GB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1155, allocations: 0 / 0.4903 GB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1155, allocations: 4 kB / 0.4903 GB, free: 6.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1158, allocations: 55.97 kB / 0.4903 GB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.1158, allocations: 3.938 kB / 0.4903 GB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.1162, allocations: 63.7 kB / 0.4904 GB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1162, allocations: 11.98 kB / 0.4904 GB, free: 6.832 MB / 366.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.0002088/0.1164, allocations: 171.7 kB / 0.4906 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.189e-05/0.1165, allocations: 35.56 kB / 0.4906 GB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005877/0.1171, allocations: 329.5 kB / 0.4909 GB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.1171, allocations: 0 / 0.4909 GB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1171, allocations: 3.938 kB / 0.4909 GB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.1171, allocations: 3.984 kB / 0.4909 GB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/0.1175, allocations: 369.2 kB / 0.4913 GB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1175, allocations: 0 / 0.4913 GB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.1178, allocations: 55.84 kB / 0.4913 GB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1179, allocations: 0 / 0.4913 GB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.1179, allocations: 11.98 kB / 0.4913 GB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1179, allocations: 4 kB / 0.4913 GB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1179, allocations: 0 / 0.4913 GB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007282/0.1186, allocations: 0.5156 MB / 0.4918 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1188, allocations: 124.6 kB / 0.492 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.999e-05/0.1188, allocations: 4 kB / 0.492 GB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004154/0.1192, allocations: 55.92 kB / 0.492 GB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.1193, allocations: 15.97 kB / 0.492 GB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1193, allocations: 11.94 kB / 0.492 GB, free: 5.043 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007509/0.1201, allocations: 334.9 kB / 0.4924 GB, free: 4.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1201, allocations: 0 / 0.4924 GB, free: 4.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.1204, allocations: 52 kB / 0.4924 GB, free: 4.668 MB / 366.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.0001029/0.1205, allocations: 99.25 kB / 0.4925 GB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004363/0.1209, allocations: 251.7 kB / 0.4927 GB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1209, allocations: 0 / 0.4927 GB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.1211, allocations: 135.8 kB / 0.4929 GB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.1216, allocations: 64.55 kB / 0.4929 GB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1228, allocations: 0.6832 MB / 0.4936 GB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.1231, allocations: 0.7987 MB / 0.4944 GB, free: 2.582 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.1233, allocations: 66.22 kB / 0.4944 GB, free: 2.516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.244e-05/0.1234, allocations: 23.44 kB / 0.4945 GB, free: 2.492 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1234, allocations: 4 kB / 0.4945 GB, free: 2.488 MB / 366.1 MB Notification: Performance of Templates: time 0.006009/0.1294, allocations: 2.981 MB / 0.4974 GB, free: 15.52 MB / 382.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)