Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005615/0.005616, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00113/0.00113, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09833/0.09833, allocations: 22.32 MB / 312.8 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.89 kB / 437 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1372, allocations: 54.95 MB / 492 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.005327/0.1425, allocations: 1.797 MB / 493.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1444, allocations: 0.5728 MB / 494.4 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1446, allocations: 3.938 kB / 494.4 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.1452, allocations: 43.7 kB / 494.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.1456, allocations: 59.69 kB / 494.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.1459, allocations: 87.86 kB / 494.5 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004993/0.1465, allocations: 255.4 kB / 494.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.1467, allocations: 41.61 kB / 494.8 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.147, allocations: 99.66 kB / 494.9 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.1473, allocations: 127.5 kB / 495.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.436e-05/0.1475, allocations: 16 kB / 495.1 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.756e-05/0.1475, allocations: 16 kB / 495.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1477, allocations: 63.8 kB / 495.1 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.1478, allocations: 79.47 kB / 495.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.1482, allocations: 171.3 kB / 495.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.1482, allocations: 0 / 495.4 MB, free: 1.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.1482, allocations: 4 kB / 495.4 MB, free: 1.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.1483, allocations: 0 / 495.4 MB, free: 1.316 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001937/0.1502, allocations: 0.5687 MB / 496 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.1503, allocations: 8.031 kB / 496 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1504, allocations: 28.66 kB / 496 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009394/0.1513, allocations: 312.3 kB / 496.3 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.1514, allocations: 8.375 kB / 496.3 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.1514, allocations: 12.38 kB / 496.3 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.1518, allocations: 133.9 kB / 496.5 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1519, allocations: 4 kB / 496.5 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.1519, allocations: 4 kB / 496.5 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1519, allocations: 4 kB / 496.5 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.1523, allocations: 115.9 kB / 496.6 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.1537, allocations: 0.5119 MB / 497.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006158/0.1543, allocations: 182.3 kB / 497.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.1545, allocations: 72.83 kB / 497.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.1546, allocations: 7.984 kB / 497.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1546, allocations: 34.56 kB / 497.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.1546, allocations: 4 kB / 497.4 MB, free: 15.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007281/0.1553, allocations: 237.3 kB / 497.6 MB, free: 14.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.1554, allocations: 55.41 kB / 497.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.1561, allocations: 275 kB / 497.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.1561, allocations: 37.62 kB / 498 MB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.1563, allocations: 128.6 kB / 498.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.329e-05/0.1564, allocations: 55.2 kB / 498.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.1565, allocations: 37.7 kB / 498.2 MB, free: 14.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1567, allocations: 330.8 kB / 498.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1569, allocations: 51.97 kB / 498.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.1571, allocations: 59.97 kB / 498.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.1596, allocations: 469.5 kB / 499.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1596, allocations: 4 kB / 499.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005592/0.1602, allocations: 221.2 kB / 499.3 MB, free: 13.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1602, allocations: 11.94 kB / 499.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1602, allocations: 0 / 499.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.1603, allocations: 3.938 kB / 499.3 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.1606, allocations: 35.97 kB / 499.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1606, allocations: 3.938 kB / 499.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.1609, allocations: 35.88 kB / 499.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.161, allocations: 7.984 kB / 499.4 MB, free: 13.08 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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 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 (20): * Single equations (assignments): 20 * 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.0002769/0.1613, allocations: 159.6 kB / 499.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.186e-05/0.1613, allocations: 15.81 kB / 499.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.162, allocations: 229.3 kB / 499.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.162, allocations: 0 / 499.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.162, allocations: 3.938 kB / 499.8 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.162, allocations: 3.984 kB / 499.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.1625, allocations: 281.4 kB / 0.4884 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1625, allocations: 4 kB / 0.4884 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.1628, allocations: 31.92 kB / 0.4884 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1628, allocations: 7.984 kB / 0.4884 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.981e-05/0.1629, allocations: 8 kB / 0.4884 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1629, allocations: 0 / 0.4884 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1629, allocations: 3.938 kB / 0.4884 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.1637, allocations: 375.2 kB / 0.4888 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1638, allocations: 104.8 kB / 0.4889 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.768e-05/0.1638, allocations: 4.062 kB / 0.4889 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.1642, allocations: 35.89 kB / 0.4889 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.87e-05/0.1643, allocations: 16.05 kB / 0.4889 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1643, allocations: 8 kB / 0.4889 GB, free: 11.72 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005982/0.165, allocations: 212.5 kB / 0.4891 GB, free: 11.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.165, allocations: 0 / 0.4891 GB, free: 11.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005356/0.1655, allocations: 40 kB / 0.4892 GB, free: 11.47 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (17): * Single equations (assignments): 17 * 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.0001599/0.1657, allocations: 95.25 kB / 0.4893 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004785/0.1662, allocations: 167.8 kB / 0.4894 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1662, allocations: 0 / 0.4894 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.1664, allocations: 85.61 kB / 0.4895 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006168/0.167, allocations: 37.64 kB / 0.4895 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.1684, allocations: 489.2 kB / 0.49 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.1689, allocations: 0.7358 MB / 0.4907 GB, free: 9.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.1691, allocations: 41.52 kB / 0.4908 GB, free: 9.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.1692, allocations: 27.38 kB / 0.4908 GB, free: 9.758 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1692, allocations: 0 / 0.4908 GB, free: 9.758 MB / 382.1 MB Notification: Performance of Templates: time 0.007684/0.1769, allocations: 2.013 MB / 0.4928 GB, free: 7.758 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)