Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.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.PI_loop_analogue_compare2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2") translateModel(AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07648/0.07648, allocations: 19.39 MB / 34.64 MB, free: 216 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.0009653/0.0009656, allocations: 186.2 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.354/1.354, allocations: 225.7 MB / 271.5 MB, free: 2.883 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.0008432/0.0008436, allocations: 83.77 kB / 327.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 8 kB / 395.4 MB, free: 47.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1175, allocations: 55.18 MB / 450.6 MB, free: 8.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2): time 0.003541/0.1211, allocations: 1.755 MB / 452.3 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.1231, allocations: 0.6941 MB / 453 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002677/0.1234, allocations: 7.938 kB / 453 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004125/0.1238, allocations: 39.77 kB / 453.1 MB, free: 6.078 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.1242, allocations: 55.62 kB / 453.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.125, allocations: 203.8 kB / 453.3 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006713/0.1256, allocations: 383.2 kB / 453.7 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/0.126, allocations: 100.2 kB / 453.8 MB, free: 5.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.1263, allocations: 123.4 kB / 453.9 MB, free: 5.234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.1267, allocations: 151.3 kB / 454.1 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.1268, allocations: 8 kB / 454.1 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.258e-05/0.1268, allocations: 12 kB / 454.1 MB, free: 5.066 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.127, allocations: 83.59 kB / 454.2 MB, free: 4.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.1272, allocations: 148.8 kB / 454.3 MB, free: 4.832 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.1277, allocations: 318.8 kB / 454.6 MB, free: 4.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1277, allocations: 0 / 454.6 MB, free: 4.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1277, allocations: 4 kB / 454.6 MB, free: 4.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.1277, allocations: 0 / 454.6 MB, free: 4.516 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.002233/0.13, allocations: 0.6902 MB / 455.3 MB, free: 3.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.13, allocations: 17.16 kB / 455.3 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1302, allocations: 40.47 kB / 455.4 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.1313, allocations: 375.2 kB / 455.7 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.1313, allocations: 20.81 kB / 455.7 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.1314, allocations: 20.38 kB / 455.8 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008448/0.1323, allocations: 306.8 kB / 456.1 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.1323, allocations: 0 / 456.1 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.1323, allocations: 8 kB / 456.1 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1324, allocations: 11.94 kB / 456.1 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008798/0.1333, allocations: 257.5 kB / 456.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.1354, allocations: 0.8534 MB / 457.2 MB, free: 1.781 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.1367, allocations: 334.3 kB / 457.5 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.1372, allocations: 152.8 kB / 457.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.1372, allocations: 0 / 457.7 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.1373, allocations: 42.5 kB / 457.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.723e-06/0.1373, allocations: 0 / 457.7 MB, free: 1.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.004469/0.1418, allocations: 1.127 MB / 458.8 MB, free: 68 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1419, allocations: 114.8 kB / 458.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009726/0.1429, allocations: 346.9 kB / 459.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.143, allocations: 29.7 kB / 459.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1432, allocations: 176.2 kB / 459.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1433, allocations: 86.75 kB / 459.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.1433, allocations: 0 / 459.6 MB, free: 15.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.1435, allocations: 350.8 kB / 459.9 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.144, allocations: 119.9 kB / 460 MB, free: 14.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.1445, allocations: 166.4 kB / 460.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00318/0.1477, allocations: 0.6637 MB / 460.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1477, allocations: 0 / 460.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002277/0.15, allocations: 0.6353 MB / 461.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.1501, allocations: 100.9 kB / 461.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1501, allocations: 0 / 461.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.1508, allocations: 157.6 kB / 461.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.1511, allocations: 27.98 kB / 461.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006654/0.1577, allocations: 3.721 MB / 465.5 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005807/0.1584, allocations: 59.88 kB / 465.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.1584, allocations: 11.98 kB / 465.6 MB, free: 8.973 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.1584, allocations: 4 kB / 465.6 MB, free: 8.969 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/0.1596, allocations: 372.8 kB / 465.9 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1597, allocations: 4 kB / 465.9 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.1602, allocations: 117.6 kB / 466 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.1604, allocations: 27.98 kB / 466.1 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004074/0.1645, allocations: 3.35 MB / 469.4 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004579/0.165, allocations: 51.77 kB / 469.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.165, allocations: 4 kB / 469.5 MB, free: 4.777 MB / 330.7 MB Warning: Assuming fixed start value for the following 4 variables: Process_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_2.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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003389/0.1654, allocations: 234.2 kB / 469.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.1655, allocations: 27.62 kB / 469.7 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.1656, allocations: 46.23 kB / 469.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1656, allocations: 4 kB / 469.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1656, allocations: 0 / 469.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1657, allocations: 3.984 kB / 469.8 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006903/0.1664, allocations: 389.2 kB / 470.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1664, allocations: 7.984 kB / 470.2 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.1666, allocations: 23.94 kB / 470.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008207/0.1675, allocations: 185.6 kB / 470.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.1675, allocations: 11.94 kB / 470.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/0.1732, allocations: 3.534 MB / 473.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1732, allocations: 0 / 473.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.1756, allocations: 0.7913 MB / 474.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1758, allocations: 100.9 kB / 474.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.1759, allocations: 11.98 kB / 474.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005522/0.1764, allocations: 47.94 kB / 474.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.1766, allocations: 31.84 kB / 474.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.1766, allocations: 8 kB / 474.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007791/0.1774, allocations: 265.9 kB / 475.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1774, allocations: 4 kB / 475.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001087/0.1785, allocations: 127.7 kB / 475.3 MB, free: 14.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Process_1.x_scaled[1],Process_1.x_scaled[2],PI_1.FO.y,Process_2.x_scaled[1],Process_2.x_scaled[2],PI_2.FO.y) * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.1787, allocations: 111.2 kB / 475.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002406/0.1811, allocations: 1.002 MB / 476.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1811, allocations: 0 / 476.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008645/0.182, allocations: 431.4 kB / 476.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.1827, allocations: 58.41 kB / 476.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.1848, allocations: 0.8392 MB / 477.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/0.1854, allocations: 0.8035 MB / 478.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.1857, allocations: 66.17 kB / 478.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.1857, allocations: 19.38 kB / 478.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1858, allocations: 4 kB / 478.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of Templates: time 0.01625/0.202, allocations: 5.8 MB / 484.4 MB, free: 5.348 MB / 346.7 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.makefile (rm -f AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.sim & ./AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.pipe 2>&1)