Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.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.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07698/0.07698, allocations: 19.39 MB / 34.65 MB, free: 272 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.000983/0.0009833, allocations: 183.9 kB / 40.28 MB, free: 6.539 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.367/1.367, 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.0007692/0.0007692, allocations: 91.52 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 12 kB / 395.4 MB, free: 47.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 55.17 MB / 450.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001265/0.1021, allocations: 0.7485 MB / 451.3 MB, free: 7.945 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1036, allocations: 1.214 MB / 452.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.992e-05/0.1038, allocations: 0 / 452.5 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1041, allocations: 55.75 kB / 452.6 MB, free: 6.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1043, allocations: 63.73 kB / 452.6 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1045, allocations: 95.88 kB / 452.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.1048, allocations: 279.5 kB / 453 MB, free: 6.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1049, allocations: 41.66 kB / 453 MB, free: 6.191 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1051, allocations: 107.6 kB / 453.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.1053, allocations: 139.5 kB / 453.3 MB, free: 5.949 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.1054, allocations: 8 kB / 453.3 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/0.1054, allocations: 8 kB / 453.3 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1055, allocations: 79.72 kB / 453.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1056, allocations: 117 kB / 453.5 MB, free: 5.734 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1058, allocations: 199.2 kB / 453.7 MB, free: 5.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1058, allocations: 4 kB / 453.7 MB, free: 5.535 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1058, allocations: 0 / 453.7 MB, free: 5.535 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1059, allocations: 0 / 453.7 MB, free: 5.535 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001489/0.1074, allocations: 0.6389 MB / 454.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1074, allocations: 13.16 kB / 454.3 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.1075, allocations: 28.64 kB / 454.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/0.1082, allocations: 362.6 kB / 454.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1082, allocations: 16.38 kB / 454.7 MB, free: 4.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.1083, allocations: 12.38 kB / 454.8 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.1086, allocations: 166.6 kB / 454.9 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1086, allocations: 3.984 kB / 454.9 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1086, allocations: 8 kB / 454.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1086, allocations: 7.938 kB / 454.9 MB, free: 4.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.109, allocations: 167.9 kB / 455.1 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1101, allocations: 0.629 MB / 455.7 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003464/0.1104, allocations: 214.4 kB / 455.9 MB, free: 3.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.1106, allocations: 112.8 kB / 456 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1107, allocations: 8 kB / 456.1 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1107, allocations: 30.56 kB / 456.1 MB, free: 2.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.1107, allocations: 0 / 456.1 MB, free: 2.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.001687/0.1124, allocations: 0.6412 MB / 456.7 MB, free: 2.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1125, allocations: 55.34 kB / 456.8 MB, free: 2.246 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/0.1132, allocations: 344.9 kB / 457.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1132, allocations: 29.7 kB / 457.1 MB, free: 1.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.1133, allocations: 136.5 kB / 457.3 MB, free: 1.727 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.167e-05/0.1134, allocations: 74.86 kB / 457.4 MB, free: 1.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.1134, allocations: 4 kB / 457.4 MB, free: 1.648 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1135, allocations: 334.8 kB / 457.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.1137, allocations: 95.88 kB / 457.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1138, allocations: 92.48 kB / 457.9 MB, free: 1.133 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.1157, allocations: 0.6223 MB / 458.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1157, allocations: 4 kB / 458.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007048/0.1164, allocations: 399.8 kB / 458.9 MB, free: 108 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1164, allocations: 7.938 kB / 458.9 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1165, allocations: 0 / 458.9 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003136/0.1168, allocations: 96.75 kB / 459 MB, free: 0 / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.117, allocations: 35.92 kB / 459 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.1189, allocations: 1.738 MB / 460.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.1193, allocations: 55.81 kB / 460.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.1193, allocations: 4 kB / 460.8 MB, free: 14.04 MB / 330.7 MB Warning: Assuming fixed start value for the following 6 variables: P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] HF.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] HF.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] M.x_scaled[2]: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 (21): * 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: 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.1195, allocations: 163.1 kB / 461 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.728e-05/0.1196, allocations: 23.72 kB / 461 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.1197, allocations: 42.11 kB / 461 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1197, allocations: 0 / 461 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1197, allocations: 4 kB / 461 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1197, allocations: 4 kB / 461 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.1201, allocations: 333.2 kB / 461.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1201, allocations: 0 / 461.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1203, allocations: 23.98 kB / 461.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.1205, allocations: 88.77 kB / 461.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.1206, allocations: 8 kB / 461.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.1222, allocations: 1.738 MB / 463.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1223, allocations: 0 / 463.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.1232, allocations: 0.5544 MB / 463.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.1233, allocations: 108.8 kB / 463.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.1233, allocations: 8.062 kB / 463.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.1237, allocations: 51.92 kB / 464 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.1238, allocations: 11.98 kB / 464 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1238, allocations: 8 kB / 464 MB, free: 10.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005954/0.1244, allocations: 276.3 kB / 464.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1244, allocations: 0 / 464.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.1247, allocations: 52 kB / 464.3 MB, free: 10.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2]) * 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 (15): * Single equations (assignments): 14 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.1248, allocations: 115.2 kB / 464.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006286/0.1254, allocations: 377.6 kB / 464.8 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1255, allocations: 0 / 464.8 MB, free: 9.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.1258, allocations: 250.5 kB / 465 MB, free: 9.566 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1262, allocations: 40.34 kB / 465.1 MB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008765/0.127, allocations: 0.6385 MB / 465.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1274, allocations: 0.7677 MB / 466.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001317/0.1275, allocations: 53.91 kB / 466.5 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.1276, allocations: 19.42 kB / 466.5 MB, free: 7.992 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1276, allocations: 0 / 466.5 MB, free: 7.992 MB / 330.7 MB Notification: Performance of Templates: time 0.005492/0.1331, allocations: 2.75 MB / 469.3 MB, free: 5.246 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.makefile (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1)