Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.1144/0.1144, allocations: 19.4 MB / 34.65 MB, free: 152 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.001046/0.001046, allocations: 181.1 kB / 40.28 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.413/1.413, allocations: 225.7 MB / 271.5 MB, free: 3.309 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.0007697/0.0007699, allocations: 91.52 kB / 327.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.000441, allocations: 8 kB / 395.4 MB, free: 47.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 55.18 MB / 450.6 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.002306/0.1053, allocations: 1.615 MB / 452.2 MB, free: 7.031 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1065, allocations: 0.7537 MB / 452.9 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.1066, allocations: 0 / 452.9 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1069, allocations: 71.67 kB / 453 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.1072, allocations: 99.56 kB / 453.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.1075, allocations: 167.8 kB / 453.3 MB, free: 5.922 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.108, allocations: 471 kB / 453.7 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.1082, allocations: 60.72 kB / 453.8 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.1084, allocations: 171.3 kB / 453.9 MB, free: 5.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.1086, allocations: 187.2 kB / 454.1 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.1087, allocations: 16 kB / 454.1 MB, free: 5.039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.579e-05/0.1087, allocations: 8 kB / 454.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1088, allocations: 91.58 kB / 454.2 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.109, allocations: 128.9 kB / 454.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1092, allocations: 255 kB / 454.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1092, allocations: 0 / 454.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1093, allocations: 0 / 454.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1093, allocations: 0 / 454.6 MB, free: 4.559 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.00187/0.1111, allocations: 0.7439 MB / 455.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.1112, allocations: 9.156 kB / 455.4 MB, free: 3.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.1113, allocations: 36.47 kB / 455.4 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1123, allocations: 451.8 kB / 455.8 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.1123, allocations: 16.38 kB / 455.9 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1124, allocations: 16.38 kB / 455.9 MB, free: 3.207 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.1127, allocations: 177.9 kB / 456.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1127, allocations: 0 / 456.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1128, allocations: 12 kB / 456.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1128, allocations: 0 / 456.1 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.1131, allocations: 188.3 kB / 456.3 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.1142, allocations: 0.6447 MB / 456.9 MB, free: 2.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.115, allocations: 342.8 kB / 457.2 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.1152, allocations: 102.2 kB / 457.3 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1152, allocations: 4 kB / 457.3 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.1153, allocations: 34.55 kB / 457.4 MB, free: 1.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.1153, allocations: 0 / 457.4 MB, free: 1.645 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001162/0.1164, allocations: 0.5012 MB / 457.9 MB, free: 1.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.1165, allocations: 63.28 kB / 457.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000929/0.1174, allocations: 460.3 kB / 458.4 MB, free: 0.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1175, allocations: 29.7 kB / 458.4 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1176, allocations: 164.4 kB / 458.6 MB, free: 392 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/0.1177, allocations: 82.83 kB / 458.7 MB, free: 308 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.095e-05/0.1177, allocations: 0 / 458.7 MB, free: 308 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1178, allocations: 350.7 kB / 459 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.118, allocations: 80.19 kB / 459.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1181, allocations: 106.1 kB / 459.2 MB, free: 15.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.1197, allocations: 0.5236 MB / 459.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1197, allocations: 0 / 459.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005771/0.1203, allocations: 347.5 kB / 460 MB, free: 14.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1203, allocations: 4 kB / 460 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1203, allocations: 0 / 460 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.1205, allocations: 52.81 kB / 460.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.1207, allocations: 40.02 kB / 460.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.122, allocations: 1.492 MB / 461.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.1225, allocations: 79.84 kB / 461.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.1225, allocations: 4 kB / 461.7 MB, free: 13.08 MB / 330.7 MB Warning: Assuming fixed start value for the following 5 variables: P.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C.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: 2 * 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 (23): * Single equations (assignments): 22 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.1227, allocations: 170.8 kB / 461.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.1228, allocations: 27.62 kB / 461.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.1228, allocations: 47.08 kB / 461.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1229, allocations: 0 / 461.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1229, allocations: 4 kB / 461.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1229, allocations: 0 / 461.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.1233, allocations: 349.4 kB / 462.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1233, allocations: 0 / 462.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.1235, allocations: 27.92 kB / 462.3 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001461/0.1236, allocations: 52.83 kB / 462.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.1237, allocations: 4 kB / 462.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.1249, allocations: 1.503 MB / 463.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1249, allocations: 3.938 kB / 463.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.1256, allocations: 0.5173 MB / 464.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.1257, allocations: 112.8 kB / 464.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1258, allocations: 8 kB / 464.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.1262, allocations: 59.91 kB / 464.6 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.1263, allocations: 23.97 kB / 464.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1263, allocations: 11.94 kB / 464.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008193/0.1271, allocations: 362.8 kB / 465 MB, free: 9.582 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1272, allocations: 0 / 465 MB, free: 9.582 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.1274, allocations: 55.91 kB / 465 MB, free: 9.527 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.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 (17): * Single equations (assignments): 16 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.1276, allocations: 107.2 kB / 465.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.1282, allocations: 358.3 kB / 465.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1282, allocations: 0 / 465.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000349/0.1286, allocations: 240.2 kB / 465.7 MB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.129, allocations: 53 kB / 465.8 MB, free: 8.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1301, allocations: 0.729 MB / 466.5 MB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1304, allocations: 0.795 MB / 467.3 MB, free: 7.176 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.1305, allocations: 58.25 kB / 467.3 MB, free: 7.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.1306, allocations: 19.44 kB / 467.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of SimCode: time 1.823e-06/0.1306, allocations: 0 / 467.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of Templates: time 0.005644/0.1363, allocations: 2.927 MB / 470.3 MB, free: 4.18 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1)