Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.MSL_loop_base.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.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") translateModel(AES.Coursework.Tuning_brushup.MSL_loop_base,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.MSL_loop_base") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07993/0.07993, allocations: 19.39 MB / 34.65 MB, free: 276 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.0009934/0.0009934, allocations: 175.1 kB / 40.28 MB, free: 6.543 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.417/1.417, 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.0008018/0.0008018, allocations: 87.8 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 11.98 kB / 395.4 MB, free: 47.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09517, allocations: 55.18 MB / 450.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.MSL_loop_base): time 0.001211/0.09643, allocations: 0.659 MB / 451.2 MB, free: 8.012 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.09782, allocations: 1.163 MB / 452.4 MB, free: 6.832 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.0979, allocations: 8 kB / 452.4 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.09817, allocations: 23.89 kB / 452.4 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.09832, allocations: 47.83 kB / 452.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.09848, allocations: 63.86 kB / 452.5 MB, free: 6.691 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.09872, allocations: 199.6 kB / 452.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.09883, allocations: 29.44 kB / 452.8 MB, free: 6.465 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.09895, allocations: 67.73 kB / 452.8 MB, free: 6.398 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.0991, allocations: 83.66 kB / 452.9 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.09914, allocations: 8 kB / 452.9 MB, free: 6.309 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.935e-05/0.09917, allocations: 4 kB / 452.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.09925, allocations: 47.81 kB / 453 MB, free: 6.258 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.09934, allocations: 77.3 kB / 453 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.09948, allocations: 123.5 kB / 453.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.09949, allocations: 0 / 453.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0995, allocations: 0 / 453.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.0995, allocations: 0 / 453.2 MB, free: 6.055 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001107/0.1006, allocations: 0.5066 MB / 453.7 MB, free: 5.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1007, allocations: 9.156 kB / 453.7 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.1007, allocations: 20.73 kB / 453.7 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000556/0.1013, allocations: 291.9 kB / 454 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1013, allocations: 4.281 kB / 454 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.1013, allocations: 12.38 kB / 454 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.1016, allocations: 109.9 kB / 454.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1016, allocations: 0 / 454.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1016, allocations: 0 / 454.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1016, allocations: 4 kB / 454.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/0.1019, allocations: 107.9 kB / 454.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.1026, allocations: 468.3 kB / 454.7 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.103, allocations: 150.5 kB / 454.8 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.1031, allocations: 72.75 kB / 454.9 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.1031, allocations: 0 / 454.9 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1032, allocations: 34.56 kB / 454.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.1032, allocations: 0 / 454.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001029/0.1042, allocations: 399.5 kB / 455.3 MB, free: 3.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1042, allocations: 51.41 kB / 455.4 MB, free: 3.648 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.1047, allocations: 253.5 kB / 455.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1047, allocations: 25.7 kB / 455.6 MB, free: 3.363 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.1048, allocations: 116 kB / 455.7 MB, free: 3.246 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.1048, allocations: 43.34 kB / 455.8 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.1049, allocations: 8 kB / 455.8 MB, free: 3.195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.105, allocations: 330.8 kB / 456.1 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1051, allocations: 47.97 kB / 456.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1052, allocations: 51.97 kB / 456.2 MB, free: 2.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.1063, allocations: 332.6 kB / 456.5 MB, free: 2.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1063, allocations: 4 kB / 456.5 MB, free: 2.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004522/0.1068, allocations: 242 kB / 456.8 MB, free: 2.188 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1068, allocations: 8 kB / 456.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1068, allocations: 0 / 456.8 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/0.107, allocations: 52.81 kB / 456.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.1071, allocations: 23.92 kB / 456.9 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.1084, allocations: 1.48 MB / 458.3 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.1087, allocations: 55.77 kB / 458.4 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1087, allocations: 0 / 458.4 MB, free: 440 kB / 314.7 MB Warning: Assuming fixed start value for the following 3 variables: 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] 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.1089, allocations: 129.8 kB / 458.5 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1089, allocations: 15.81 kB / 458.5 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.109, allocations: 33.39 kB / 458.6 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.109, allocations: 4 kB / 458.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.109, allocations: 0 / 458.6 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.109, allocations: 3.938 kB / 458.6 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.1093, allocations: 241.6 kB / 458.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1093, allocations: 0 / 458.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1094, allocations: 15.98 kB / 458.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001692/0.1096, allocations: 48.81 kB / 458.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1096, allocations: 8 kB / 458.9 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.1109, allocations: 1.511 MB / 460.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1109, allocations: 0 / 460.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.1115, allocations: 388.5 kB / 460.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.1115, allocations: 92.95 kB / 460.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1116, allocations: 4 kB / 460.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.1118, allocations: 35.95 kB / 460.9 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.1119, allocations: 7.984 kB / 460.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.1119, allocations: 4 kB / 460.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004609/0.1124, allocations: 198.6 kB / 461.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1124, allocations: 0 / 461.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.1126, allocations: 36 kB / 461.1 MB, free: 13.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Process.x_scaled[1],Process.x_scaled[2],Cfb.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001088/0.1128, allocations: 103.2 kB / 461.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.1133, allocations: 262.5 kB / 461.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1133, allocations: 0 / 461.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.1136, allocations: 194.6 kB / 461.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1139, allocations: 28.61 kB / 461.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.1145, allocations: 399.3 kB / 462.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.1149, allocations: 0.7322 MB / 462.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.942e-05/0.115, allocations: 29.06 kB / 462.9 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.115, allocations: 15.44 kB / 462.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of SimCode: time 3.51e-07/0.115, allocations: 0 / 462.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of Templates: time 0.004868/0.1199, allocations: 1.725 MB / 464.6 MB, free: 9.895 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.makefile (rm -f AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.MSL_loop_base.sim & ./AES_AES.Coursework.Tuning_brushup.MSL_loop_base -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.MSL_loop_base.pipe 2>&1)