Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.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_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_2dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.09341/0.09341, allocations: 19.39 MB / 34.64 MB, free: 64 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.0009347/0.0009348, allocations: 177 kB / 40.28 MB, free: 6.527 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.37/1.37, allocations: 225.7 MB / 271.5 MB, free: 3.281 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.0007881/0.0007881, allocations: 91.77 kB / 327.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 8 kB / 395.4 MB, free: 47.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08552/0.08592, allocations: 55.18 MB / 450.6 MB, free: 8.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.00136/0.08733, allocations: 0.8031 MB / 451.4 MB, free: 7.867 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.08904, allocations: 1.272 MB / 452.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.0892, allocations: 0 / 452.6 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.08953, allocations: 59.75 kB / 452.7 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.08978, allocations: 71.73 kB / 452.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.09007, allocations: 127.8 kB / 452.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.0905, allocations: 371.3 kB / 453.3 MB, free: 5.961 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.09066, allocations: 48.34 kB / 453.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.09091, allocations: 139.4 kB / 453.4 MB, free: 5.781 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.09119, allocations: 175.3 kB / 453.6 MB, free: 5.609 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.807e-05/0.09126, allocations: 12 kB / 453.6 MB, free: 5.598 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.833e-05/0.0913, allocations: 8 kB / 453.6 MB, free: 5.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.09145, allocations: 95.7 kB / 453.7 MB, free: 5.496 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.09158, allocations: 128.9 kB / 453.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.09183, allocations: 247 kB / 454.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.09184, allocations: 0 / 454.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09185, allocations: 0 / 454.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.09186, allocations: 0 / 454.1 MB, free: 5.121 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001855/0.09372, allocations: 0.7287 MB / 454.8 MB, free: 4.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.09377, allocations: 9.156 kB / 454.8 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.09386, allocations: 32.56 kB / 454.9 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009776/0.09484, allocations: 415.2 kB / 455.3 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.09488, allocations: 8.656 kB / 455.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.09493, allocations: 24.36 kB / 455.3 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.09528, allocations: 185.5 kB / 455.5 MB, free: 3.637 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.09531, allocations: 3.984 kB / 455.5 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.09533, allocations: 11.94 kB / 455.5 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.09535, allocations: 7.938 kB / 455.5 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.09573, allocations: 196.7 kB / 455.7 MB, free: 3.422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.09697, allocations: 0.7034 MB / 456.4 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005509/0.09753, allocations: 270.4 kB / 456.7 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.09776, allocations: 128.8 kB / 456.8 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.09779, allocations: 0 / 456.8 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.09783, allocations: 38.56 kB / 456.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.203e-06/0.09783, allocations: 0 / 456.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001888/0.09972, allocations: 0.6884 MB / 457.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.09978, allocations: 55.41 kB / 457.6 MB, free: 1.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009332/0.1007, allocations: 414.8 kB / 458 MB, free: 1.023 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.1008, allocations: 33.7 kB / 458 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.1009, allocations: 148.5 kB / 458.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.101, allocations: 82.75 kB / 458.2 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.101, allocations: 8 kB / 458.2 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1012, allocations: 342.8 kB / 458.6 MB, free: 412 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.1014, allocations: 103.9 kB / 458.7 MB, free: 308 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1016, allocations: 116.5 kB / 458.8 MB, free: 192 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.1039, allocations: 0.7164 MB / 459.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1039, allocations: 0 / 459.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008061/0.1047, allocations: 436.8 kB / 459.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1048, allocations: 11.94 kB / 459.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1048, allocations: 4 kB / 459.9 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003033/0.1051, allocations: 88.77 kB / 460 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1053, allocations: 43.91 kB / 460.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/0.107, allocations: 1.731 MB / 461.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.1075, allocations: 71.86 kB / 461.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1075, allocations: 4 kB / 461.9 MB, free: 12.95 MB / 330.7 MB Warning: Assuming fixed start value for the following 7 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] Cff.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 (25): * Single equations (assignments): 24 * 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.0002096/0.1077, allocations: 171.7 kB / 462.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.1078, allocations: 31.62 kB / 462.1 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.1078, allocations: 46.25 kB / 462.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1079, allocations: 0 / 462.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1079, allocations: 7.938 kB / 462.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1079, allocations: 0 / 462.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/0.1083, allocations: 365.2 kB / 462.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1083, allocations: 3.938 kB / 462.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.1085, allocations: 31.92 kB / 462.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.1088, allocations: 100.8 kB / 462.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.1088, allocations: 4 kB / 462.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.1104, allocations: 1.738 MB / 464.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1104, allocations: 0 / 464.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.1114, allocations: 0.6128 MB / 465 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.1115, allocations: 112.8 kB / 465.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1116, allocations: 8 kB / 465.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.112, allocations: 59.91 kB / 465.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.1121, allocations: 11.98 kB / 465.2 MB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1121, allocations: 15.98 kB / 465.2 MB, free: 9.402 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007764/0.1129, allocations: 325.8 kB / 465.5 MB, free: 9.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1129, allocations: 0 / 465.5 MB, free: 9.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003088/0.1132, allocations: 63.91 kB / 465.6 MB, free: 9.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2],Cff.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 (18): * Single equations (assignments): 17 * 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.0001168/0.1134, allocations: 115.2 kB / 465.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006999/0.1141, allocations: 408.1 kB / 466.1 MB, free: 8.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1141, allocations: 4 kB / 466.1 MB, free: 8.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.1145, allocations: 270.5 kB / 466.3 MB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1149, allocations: 48.8 kB / 466.4 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1162, allocations: 0.7726 MB / 467.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1165, allocations: 0.795 MB / 468 MB, free: 6.539 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.1167, allocations: 66.23 kB / 468 MB, free: 6.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.091e-05/0.1168, allocations: 23.44 kB / 468 MB, free: 6.453 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1168, allocations: 0 / 468 MB, free: 6.453 MB / 330.7 MB Notification: Performance of Templates: time 0.006599/0.1234, allocations: 3.163 MB / 471.2 MB, free: 3.293 MB / 330.7 MB make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.makefile (rm -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; mkfifo AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe ; head -c 1048576 < AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe >> ../files/AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.sim & ./AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1)