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.006923/0.006923, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001488/0.001488, allocations: 194.5 kB / 16.67 MB, free: 5.52 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.405/1.405, allocations: 222.9 MB / 240.4 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.08809/0.08809, allocations: 22.33 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 67.89 kB / 437 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1345, allocations: 54.95 MB / 492 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.003833/0.1384, allocations: 2.005 MB / 494 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.1402, allocations: 0.6858 MB / 494.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.1405, allocations: 0 / 494.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005186/0.1411, allocations: 75.5 kB / 494.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1415, allocations: 103.5 kB / 494.9 MB, free: 1.883 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.1419, allocations: 155.8 kB / 495 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000619/0.1426, allocations: 459.5 kB / 495.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.1428, allocations: 90.03 kB / 495.5 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002925/0.1431, allocations: 179.4 kB / 495.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.1434, allocations: 203.3 kB / 495.9 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.1434, allocations: 24 kB / 495.9 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.989e-05/0.1435, allocations: 27.94 kB / 496 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.1437, allocations: 103.6 kB / 496.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1439, allocations: 131.1 kB / 496.2 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.1443, allocations: 294.9 kB / 496.5 MB, free: 248 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1443, allocations: 0 / 496.5 MB, free: 248 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1443, allocations: 4 kB / 496.5 MB, free: 244 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.1443, allocations: 0 / 496.5 MB, free: 244 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.002017/0.1464, allocations: 0.7634 MB / 497.2 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1464, allocations: 8.031 kB / 497.3 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.871e-05/0.1465, allocations: 36.47 kB / 497.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1475, allocations: 427.9 kB / 497.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1476, allocations: 8.703 kB / 497.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.1476, allocations: 20.38 kB / 497.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.148, allocations: 204.4 kB / 497.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.148, allocations: 0 / 497.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.148, allocations: 4 kB / 497.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1481, allocations: 4 kB / 497.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.1484, allocations: 208.1 kB / 498.1 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.1498, allocations: 0.6991 MB / 498.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/0.1505, allocations: 310.4 kB / 499.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.1508, allocations: 120.8 kB / 499.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.1508, allocations: 7.938 kB / 499.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1508, allocations: 34.5 kB / 499.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.372e-06/0.1509, allocations: 4 kB / 499.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007533/0.1516, allocations: 367.9 kB / 499.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1517, allocations: 55.41 kB / 499.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009528/0.1526, allocations: 424.4 kB / 0.4884 GB, free: 12.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.1527, allocations: 29.7 kB / 0.4884 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1528, allocations: 160.4 kB / 0.4886 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.1529, allocations: 90.73 kB / 0.4887 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.153, allocations: 45.7 kB / 0.4887 GB, free: 12.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1532, allocations: 346.7 kB / 0.4891 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.1534, allocations: 95.88 kB / 0.4892 GB, free: 11.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1536, allocations: 103.9 kB / 0.4893 GB, free: 11.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.1561, allocations: 0.6594 MB / 0.4899 GB, free: 10.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1561, allocations: 0 / 0.4899 GB, free: 10.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006235/0.1568, allocations: 329.4 kB / 0.4902 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.1568, allocations: 11.92 kB / 0.4902 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.1568, allocations: 0 / 0.4902 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.1569, allocations: 4 kB / 0.4902 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.1572, allocations: 51.92 kB / 0.4903 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.1572, allocations: 3.984 kB / 0.4903 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.1576, allocations: 67.77 kB / 0.4903 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.1577, allocations: 4 kB / 0.4903 GB, free: 10.38 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.0003303/0.158, allocations: 175.7 kB / 0.4905 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-05/0.1581, allocations: 31.56 kB / 0.4905 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006792/0.1588, allocations: 324 kB / 0.4909 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.1588, allocations: 4 kB / 0.4909 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1588, allocations: 0 / 0.4909 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1588, allocations: 3.984 kB / 0.4909 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.1594, allocations: 369.2 kB / 0.4912 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.1594, allocations: 4 kB / 0.4912 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.1597, allocations: 51.91 kB / 0.4913 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.1597, allocations: 4 kB / 0.4913 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.1598, allocations: 4 kB / 0.4913 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1598, allocations: 4 kB / 0.4913 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1598, allocations: 7.922 kB / 0.4913 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.1606, allocations: 0.5157 MB / 0.4918 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1608, allocations: 120.6 kB / 0.4919 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.1608, allocations: 8 kB / 0.4919 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.1613, allocations: 51.92 kB / 0.492 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.1613, allocations: 15.97 kB / 0.492 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1614, allocations: 8 kB / 0.492 GB, free: 8.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007871/0.1622, allocations: 330.9 kB / 0.4923 GB, free: 8.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1622, allocations: 0 / 0.4923 GB, free: 8.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1625, allocations: 59.84 kB / 0.4924 GB, free: 8.223 MB / 382.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.0001474/0.1627, allocations: 107.2 kB / 0.4925 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005037/0.1632, allocations: 255.7 kB / 0.4927 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1632, allocations: 4 kB / 0.4927 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.1634, allocations: 127.9 kB / 0.4928 GB, free: 7.727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.1639, allocations: 62.67 kB / 0.4929 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1654, allocations: 0.6921 MB / 0.4936 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1658, allocations: 0.7987 MB / 0.4943 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.166, allocations: 70.23 kB / 0.4944 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.1661, allocations: 23.44 kB / 0.4944 GB, free: 6.031 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1661, allocations: 0 / 0.4944 GB, free: 6.031 MB / 382.1 MB Notification: Performance of Templates: time 0.006867/0.173, allocations: 2.973 MB / 0.4973 GB, free: 3.066 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)