Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007645/0.007645, 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.001242/0.001242, allocations: 197.2 kB / 16.68 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08906/0.08906, allocations: 22.32 MB / 312.8 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 437 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1349, allocations: 54.95 MB / 492 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.003224/0.1382, allocations: 1.938 MB / 493.9 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1394, allocations: 0.6741 MB / 494.6 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1395, allocations: 4 kB / 494.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.1399, allocations: 67.55 kB / 494.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.1402, allocations: 99.45 kB / 494.8 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1405, allocations: 147.8 kB / 494.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000447/0.141, allocations: 439.2 kB / 495.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1412, allocations: 53.16 kB / 495.4 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.1414, allocations: 179.4 kB / 495.6 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/0.1417, allocations: 187.3 kB / 495.7 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.1417, allocations: 24 kB / 495.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.1418, allocations: 20 kB / 495.8 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.142, allocations: 107.7 kB / 495.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.1421, allocations: 123.1 kB / 496 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1425, allocations: 263.1 kB / 496.3 MB, free: 460 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1425, allocations: 0 / 496.3 MB, free: 460 kB / 366.1 MB Notification: Performance of FrontEnd: time 3.857e-06/0.1425, allocations: 0 / 496.3 MB, free: 460 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1425, allocations: 3.938 kB / 496.3 MB, free: 456 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002214/0.1447, allocations: 0.7398 MB / 497 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1448, allocations: 12.03 kB / 497 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.575e-05/0.1449, allocations: 28.56 kB / 497 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.1459, allocations: 427.8 kB / 497.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1459, allocations: 8.375 kB / 497.5 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.146, allocations: 16.38 kB / 497.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.1464, allocations: 189.6 kB / 497.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1464, allocations: 0 / 497.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.1464, allocations: 8 kB / 497.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1465, allocations: 0 / 497.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.1468, allocations: 183.8 kB / 497.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.148, allocations: 0.6485 MB / 498.5 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.1486, allocations: 246.4 kB / 498.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.1488, allocations: 104.8 kB / 498.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.1488, allocations: 384 / 498.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.1488, allocations: 42.5 kB / 498.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 3.246e-06/0.1488, allocations: 0 / 498.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006763/0.1495, allocations: 344 kB / 499.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.1496, allocations: 51.41 kB / 499.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000892/0.1505, allocations: 424.4 kB / 499.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1505, allocations: 29.7 kB / 499.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1506, allocations: 148.5 kB / 499.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.1507, allocations: 90.73 kB / 500 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.151, allocations: 41.7 kB / 0.4883 GB, free: 12.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.1512, allocations: 346.8 kB / 0.4886 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1513, allocations: 88.17 kB / 0.4887 GB, free: 12.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1515, allocations: 92.34 kB / 0.4888 GB, free: 11.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.1539, allocations: 0.6215 MB / 0.4894 GB, free: 11.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1539, allocations: 3.938 kB / 0.4894 GB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004921/0.1544, allocations: 314.3 kB / 0.4897 GB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1544, allocations: 8 kB / 0.4897 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1545, allocations: 0 / 0.4897 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.1545, allocations: 3.938 kB / 0.4897 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.1547, allocations: 47.92 kB / 0.4898 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1548, allocations: 7.984 kB / 0.4898 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.1552, allocations: 59.78 kB / 0.4898 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1552, allocations: 7.984 kB / 0.4898 GB, free: 10.91 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] FA2.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 (28): * Single equations (assignments): 28 * 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.0002334/0.1554, allocations: 175.6 kB / 0.49 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.1555, allocations: 27.62 kB / 0.49 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007569/0.1563, allocations: 305.7 kB / 0.4903 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1563, allocations: 4 kB / 0.4903 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1563, allocations: 4 kB / 0.4903 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1563, allocations: 0 / 0.4903 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.1569, allocations: 357.3 kB / 0.4907 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1569, allocations: 0 / 0.4907 GB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.1573, allocations: 39.92 kB / 0.4907 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1573, allocations: 0 / 0.4907 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.1574, allocations: 15.92 kB / 0.4907 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1574, allocations: 0 / 0.4907 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1574, allocations: 4 kB / 0.4907 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008826/0.1583, allocations: 0.4944 MB / 0.4912 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.1584, allocations: 108.8 kB / 0.4913 GB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.1585, allocations: 11.94 kB / 0.4913 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.1589, allocations: 47.92 kB / 0.4914 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.159, allocations: 15.98 kB / 0.4914 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.159, allocations: 11.98 kB / 0.4914 GB, free: 9.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007472/0.1597, allocations: 322.9 kB / 0.4917 GB, free: 8.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1597, allocations: 0 / 0.4917 GB, free: 8.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.1601, allocations: 59.84 kB / 0.4918 GB, free: 8.848 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,FA2.x_scaled[1],FA1.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 (23): * Single equations (assignments): 23 * 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.0001273/0.1603, allocations: 105.9 kB / 0.4919 GB, free: 8.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1608, allocations: 231.8 kB / 0.4921 GB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1608, allocations: 3.938 kB / 0.4921 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.161, allocations: 123.7 kB / 0.4922 GB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.1615, allocations: 56.61 kB / 0.4922 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1627, allocations: 0.6573 MB / 0.4929 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.1631, allocations: 0.7911 MB / 0.4937 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.1633, allocations: 58.25 kB / 0.4937 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.1634, allocations: 27.42 kB / 0.4937 GB, free: 6.734 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1634, allocations: 0 / 0.4937 GB, free: 6.734 MB / 382.1 MB Notification: Performance of Templates: time 0.006479/0.1698, allocations: 2.893 MB / 0.4966 GB, free: 3.855 MB / 382.1 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)