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.001024/0.001024, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001029/0.001029, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09439/0.09439, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 437.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08708, allocations: 54.96 MB / 492.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.002964/0.09007, allocations: 2.005 MB / 494.7 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.09132, allocations: 0.678 MB / 495.4 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.09148, allocations: 7.938 kB / 495.4 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.09183, allocations: 67.55 kB / 495.4 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.09212, allocations: 107.4 kB / 495.5 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.09245, allocations: 155.8 kB / 495.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.09293, allocations: 455.5 kB / 496.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.0931, allocations: 92.92 kB / 496.2 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.09336, allocations: 183.4 kB / 496.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.09366, allocations: 207.2 kB / 496.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.926e-05/0.09374, allocations: 24 kB / 496.6 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.09379, allocations: 24 kB / 496.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.09393, allocations: 103.7 kB / 496.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.09411, allocations: 131.1 kB / 496.9 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.09454, allocations: 290.7 kB / 497.2 MB, free: 372 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.09456, allocations: 0 / 497.2 MB, free: 372 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.09457, allocations: 3.938 kB / 497.2 MB, free: 368 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.09459, allocations: 0 / 497.2 MB, free: 368 kB / 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.002203/0.0968, allocations: 0.7789 MB / 498 MB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.09684, allocations: 8.031 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.09694, allocations: 36.7 kB / 498 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.09795, allocations: 424.2 kB / 498.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.09798, allocations: 8.703 kB / 498.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.09803, allocations: 20.33 kB / 498.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.09839, allocations: 216.4 kB / 498.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.09842, allocations: 3.938 kB / 498.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.09845, allocations: 4 kB / 498.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.09846, allocations: 4 kB / 498.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/0.09886, allocations: 200.1 kB / 498.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.1001, allocations: 0.7031 MB / 499.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.1008, allocations: 314.3 kB / 499.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.1011, allocations: 116.8 kB / 500 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1011, allocations: 8 kB / 500 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1011, allocations: 38.5 kB / 0.4883 GB, free: 13.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.1011, allocations: 0 / 0.4883 GB, free: 13.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.000706/0.1018, allocations: 371.2 kB / 0.4887 GB, free: 12.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.1019, allocations: 55.41 kB / 0.4887 GB, free: 12.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009322/0.1028, allocations: 416.4 kB / 0.4891 GB, free: 12.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1029, allocations: 33.7 kB / 0.4891 GB, free: 12.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.103, allocations: 164.5 kB / 0.4893 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.047e-05/0.1031, allocations: 95.17 kB / 0.4894 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.1031, allocations: 41.7 kB / 0.4894 GB, free: 12.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1033, allocations: 350.8 kB / 0.4898 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.1035, allocations: 91.94 kB / 0.4899 GB, free: 11.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.1036, allocations: 102.8 kB / 0.49 GB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.1061, allocations: 0.6528 MB / 0.4906 GB, free: 10.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1062, allocations: 0 / 0.4906 GB, free: 10.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005519/0.1067, allocations: 337.5 kB / 0.4909 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1067, allocations: 7.938 kB / 0.4909 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1068, allocations: 0 / 0.4909 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1068, allocations: 4 kB / 0.4909 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.1071, allocations: 55.91 kB / 0.491 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1071, allocations: 0 / 0.491 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.1075, allocations: 63.81 kB / 0.491 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.1076, allocations: 8 kB / 0.491 GB, free: 10.48 MB / 382.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.0002162/0.1078, allocations: 171.7 kB / 0.4912 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.1079, allocations: 35.7 kB / 0.4912 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006739/0.1086, allocations: 332 kB / 0.4916 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1086, allocations: 3.938 kB / 0.4916 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1086, allocations: 0 / 0.4916 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/0.1087, allocations: 116.8 kB / 0.4917 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.1087, allocations: 8 kB / 0.4917 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.1092, allocations: 51.92 kB / 0.4917 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.1093, allocations: 19.97 kB / 0.4918 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009632/0.1102, allocations: 436.5 kB / 0.4922 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000802/0.1111, allocations: 0.6358 MB / 0.4928 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000201/0.1113, allocations: 127.9 kB / 0.4929 GB, free: 8.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008064/0.1121, allocations: 330.9 kB / 0.4932 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Backend: time 5.81e-07/0.1121, allocations: 0 / 0.4932 GB, free: 8.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005911/0.1127, allocations: 236.3 kB / 0.4935 GB, free: 7.949 MB / 382.1 MB Notification: Performance of SimCode: time 0.001103/0.1138, allocations: 1.081 MB / 0.4945 GB, free: 6.816 MB / 382.1 MB Notification: Performance of Templates: time 0.007479/0.1213, allocations: 3.896 MB / 0.4983 GB, free: 2.93 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)