Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07759/0.07759, allocations: 19.4 MB / 34.65 MB, free: 200 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 179.9 kB / 40.29 MB, free: 6.531 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.7 MB / 271.5 MB, free: 3.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007624/0.0007626, allocations: 83.78 kB / 327.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004292/0.0004293, allocations: 12 kB / 395.4 MB, free: 47.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 55.18 MB / 450.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.00265/0.1202, allocations: 1.592 MB / 452.2 MB, free: 7.051 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1215, allocations: 0.6278 MB / 452.8 MB, free: 6.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.1216, allocations: 7.938 kB / 452.8 MB, free: 6.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.122, allocations: 63.73 kB / 452.9 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.1223, allocations: 83.59 kB / 452.9 MB, free: 6.266 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.1227, allocations: 143.8 kB / 453.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.1233, allocations: 411.2 kB / 453.5 MB, free: 5.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.1235, allocations: 57.14 kB / 453.5 MB, free: 5.668 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.1238, allocations: 147.4 kB / 453.7 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.1241, allocations: 175.3 kB / 453.8 MB, free: 5.352 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.1242, allocations: 12 kB / 453.9 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.579e-05/0.1242, allocations: 8 kB / 453.9 MB, free: 5.332 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.1244, allocations: 83.7 kB / 453.9 MB, free: 5.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1246, allocations: 128.9 kB / 454.1 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.1249, allocations: 251 kB / 454.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1249, allocations: 0 / 454.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.125, allocations: 0 / 454.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.125, allocations: 0 / 454.3 MB, free: 4.871 MB / 314.7 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.002432/0.1274, allocations: 0.7127 MB / 455 MB, free: 4.109 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1275, allocations: 9.156 kB / 455 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.739e-05/0.1276, allocations: 32.56 kB / 455.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.1289, allocations: 423.9 kB / 455.5 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.1289, allocations: 8.375 kB / 455.5 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.129, allocations: 16.38 kB / 455.5 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.1295, allocations: 169.7 kB / 455.7 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1295, allocations: 4 kB / 455.7 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.1295, allocations: 11.94 kB / 455.7 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1295, allocations: 0 / 455.7 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.1301, allocations: 179.9 kB / 455.9 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.1317, allocations: 0.6602 MB / 456.5 MB, free: 2.516 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.1324, allocations: 250.4 kB / 456.8 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.1327, allocations: 104.8 kB / 456.9 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.1327, allocations: 8.359 kB / 456.9 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1328, allocations: 42.48 kB / 456.9 MB, free: 2.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.1328, allocations: 0 / 456.9 MB, free: 2.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009609/0.1338, allocations: 335 kB / 457.3 MB, free: 1.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.1338, allocations: 59.41 kB / 457.3 MB, free: 1.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.1351, allocations: 416.4 kB / 457.7 MB, free: 1.277 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1352, allocations: 33.7 kB / 457.7 MB, free: 1.238 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.1353, allocations: 160.3 kB / 457.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.1355, allocations: 74.92 kB / 458 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.1355, allocations: 4 kB / 458 MB, free: 1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1357, allocations: 342.8 kB / 458.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.1359, allocations: 80.19 kB / 458.4 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.1362, allocations: 92.34 kB / 458.5 MB, free: 500 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00356/0.1397, allocations: 0.6472 MB / 459.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.1398, allocations: 3.938 kB / 459.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007849/0.1406, allocations: 305.2 kB / 459.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.1406, allocations: 4 kB / 459.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1406, allocations: 4 kB / 459.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1407, allocations: 3.938 kB / 459.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.1411, allocations: 51.91 kB / 459.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.1411, allocations: 4 kB / 459.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.1417, allocations: 63.77 kB / 459.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.1417, allocations: 8 kB / 459.6 MB, free: 15.4 MB / 330.7 MB Warning: Assuming fixed start value for the following 7 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Cfb.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] FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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.0003239/0.142, allocations: 167.6 kB / 459.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.1421, allocations: 27.72 kB / 459.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008454/0.143, allocations: 308.4 kB / 460.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.143, allocations: 0 / 460.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.143, allocations: 4 kB / 460.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.1431, allocations: 7.984 kB / 460.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.1437, allocations: 349.2 kB / 460.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1437, allocations: 0 / 460.4 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.1441, allocations: 47.91 kB / 460.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1442, allocations: 4 kB / 460.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.1442, allocations: 3.938 kB / 460.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1442, allocations: 7.938 kB / 460.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1442, allocations: 3.984 kB / 460.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1453, allocations: 0.4899 MB / 461 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.1455, allocations: 112.7 kB / 461.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.1455, allocations: 19.91 kB / 461.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/0.1462, allocations: 51.92 kB / 461.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.701e-05/0.1463, allocations: 15.98 kB / 461.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.1463, allocations: 4 kB / 461.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001146/0.1475, allocations: 330.9 kB / 461.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1475, allocations: 0 / 461.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000491/0.148, allocations: 48 kB / 461.5 MB, free: 13.33 MB / 330.7 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.0001523/0.1482, allocations: 111.2 kB / 461.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006578/0.1488, allocations: 239.6 kB / 461.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1488, allocations: 0 / 461.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1491, allocations: 123.8 kB / 462 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/0.1498, allocations: 63.53 kB / 462.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.1516, allocations: 0.7632 MB / 462.8 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.1521, allocations: 0.7875 MB / 463.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002825/0.1524, allocations: 62.25 kB / 463.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.1526, allocations: 27.42 kB / 463.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1526, allocations: 0 / 463.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of Templates: time 0.008763/0.1614, allocations: 2.625 MB / 466.3 MB, free: 8.492 MB / 330.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)