Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 115.2 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09458/0.09458, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 55.91 kB / 437.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08579/0.08705, allocations: 54.95 MB / 492.7 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.002022/0.08911, allocations: 1.079 MB / 493.7 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.0905, allocations: 1.248 MB / 495 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.09058, allocations: 7.938 kB / 495 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.09088, allocations: 55.7 kB / 495.1 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.09106, allocations: 59.69 kB / 495.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.09128, allocations: 99.83 kB / 495.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.0916, allocations: 307.4 kB / 495.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.09172, allocations: 37.67 kB / 495.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.09187, allocations: 127.6 kB / 495.7 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.0921, allocations: 155.5 kB / 495.8 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.09214, allocations: 16 kB / 495.8 MB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.342e-05/0.09218, allocations: 24 kB / 495.9 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.09232, allocations: 91.72 kB / 496 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.271e-05/0.09242, allocations: 99.33 kB / 496.1 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.09265, allocations: 227 kB / 496.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.09266, allocations: 0 / 496.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.09267, allocations: 0 / 496.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.09268, allocations: 0 / 496.3 MB, free: 1.254 MB / 366.1 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.001588/0.09428, allocations: 0.6737 MB / 496.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.09432, allocations: 8.031 kB / 497 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.09438, allocations: 28.75 kB / 497 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008254/0.09521, allocations: 366.7 kB / 497.3 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.09524, allocations: 8.375 kB / 497.4 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.09528, allocations: 12.38 kB / 497.4 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.09559, allocations: 175.2 kB / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.09562, allocations: 3.953 kB / 497.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.09564, allocations: 7.938 kB / 497.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.09565, allocations: 4 kB / 497.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.09598, allocations: 171.9 kB / 497.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.09701, allocations: 0.6212 MB / 498.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.09736, allocations: 218.4 kB / 498.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.09755, allocations: 116.8 kB / 498.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.09758, allocations: 0 / 498.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.09761, allocations: 34.56 kB / 498.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.475e-06/0.09762, allocations: 3.984 kB / 498.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001782/0.09941, allocations: 0.6398 MB / 499.3 MB, free: 14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.09944, allocations: 55.41 kB / 499.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007735/0.1002, allocations: 344.9 kB / 499.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.1003, allocations: 25.7 kB / 499.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.1003, allocations: 140.4 kB / 499.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.1004, allocations: 75.34 kB / 500 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/0.1005, allocations: 41.7 kB / 0.4883 GB, free: 13.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1006, allocations: 342.8 kB / 0.4886 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.1008, allocations: 83.94 kB / 0.4887 GB, free: 12.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1009, allocations: 95.94 kB / 0.4888 GB, free: 12.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.1029, allocations: 0.6278 MB / 0.4894 GB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1029, allocations: 3.938 kB / 0.4894 GB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007395/0.1037, allocations: 390 kB / 0.4898 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1037, allocations: 4 kB / 0.4898 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1037, allocations: 0 / 0.4898 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.104, allocations: 100.7 kB / 0.4899 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.1042, allocations: 35.92 kB / 0.4899 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.1059, allocations: 1.841 MB / 0.4917 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.1063, allocations: 51.83 kB / 0.4918 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1063, allocations: 4 kB / 0.4918 GB, free: 9.562 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 variables: M.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] HF.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] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] P.x_scaled[1]: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.0001773/0.1065, allocations: 167.8 kB / 0.4919 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.1065, allocations: 27.8 kB / 0.492 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.645e-05/0.1066, allocations: 38.36 kB / 0.492 GB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1066, allocations: 4 kB / 0.492 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1066, allocations: 7.938 kB / 0.492 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.226e-05/0.1067, allocations: 108.9 kB / 0.4921 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.1067, allocations: 4 kB / 0.4921 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.1071, allocations: 47.88 kB / 0.4922 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.1072, allocations: 23.95 kB / 0.4922 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001309/0.1085, allocations: 0.5285 MB / 0.4927 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006736/0.1092, allocations: 0.578 MB / 0.4933 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001798/0.1094, allocations: 108.9 kB / 0.4934 GB, free: 7.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006581/0.1101, allocations: 272.3 kB / 0.4936 GB, free: 7.613 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.1101, allocations: 0 / 0.4936 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007347/0.1108, allocations: 368.8 kB / 0.494 GB, free: 7.234 MB / 382.1 MB Notification: Performance of SimCode: time 0.000838/0.1117, allocations: 0.9801 MB / 0.4949 GB, free: 6.207 MB / 382.1 MB Notification: Performance of Templates: time 0.07787/0.1895, allocations: 3.421 MB / 0.4983 GB, free: 2.797 MB / 382.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.pipe 2>&1)