Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001698/0.001698, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1047/0.1047, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.88 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08492/0.08617, allocations: 54.95 MB / 492.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_2dof): time 0.002146/0.08834, allocations: 1.131 MB / 493.8 MB, free: 3.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001494/0.08985, allocations: 1.299 MB / 495.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.967e-05/0.08996, allocations: 4 kB / 495.1 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.09031, allocations: 71.55 kB / 495.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.09055, allocations: 87.58 kB / 495.3 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.09083, allocations: 131.8 kB / 495.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.09122, allocations: 395.2 kB / 495.8 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.09135, allocations: 48.33 kB / 495.8 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.09154, allocations: 159.5 kB / 496 MB, free: 1.438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.0918, allocations: 191.4 kB / 496.2 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.09186, allocations: 24 kB / 496.2 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.677e-05/0.09191, allocations: 20 kB / 496.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.09206, allocations: 107.7 kB / 496.3 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000109/0.09218, allocations: 119.2 kB / 496.4 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.09245, allocations: 270.9 kB / 496.7 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.09246, allocations: 7.938 kB / 496.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.09247, allocations: 0 / 496.7 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.09248, allocations: 3.938 kB / 496.7 MB, free: 0.707 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001913/0.0944, allocations: 0.7597 MB / 497.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.09444, allocations: 8.031 kB / 497.5 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.09452, allocations: 32.75 kB / 497.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.09553, allocations: 415.5 kB / 497.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.09556, allocations: 8.656 kB / 497.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.0956, allocations: 20.38 kB / 498 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003452/0.09595, allocations: 192 kB / 498.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.09598, allocations: 4 kB / 498.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.09601, allocations: 8 kB / 498.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.09602, allocations: 4 kB / 498.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003864/0.09641, allocations: 200.6 kB / 498.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.09755, allocations: 0.6995 MB / 499 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.09809, allocations: 266.4 kB / 499.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.09831, allocations: 124.8 kB / 499.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.09834, allocations: 4 kB / 499.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.09837, allocations: 38.56 kB / 499.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.09838, allocations: 0 / 499.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001962/0.1003, allocations: 0.6886 MB / 0.4884 GB, free: 13.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.1004, allocations: 59.39 kB / 0.4885 GB, free: 13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009405/0.1013, allocations: 418.8 kB / 0.4889 GB, free: 12.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1014, allocations: 33.64 kB / 0.4889 GB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.275e-05/0.1015, allocations: 152.5 kB / 0.4891 GB, free: 12.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.1016, allocations: 91.22 kB / 0.4892 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.1016, allocations: 37.72 kB / 0.4892 GB, free: 12.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1018, allocations: 342.8 kB / 0.4895 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.102, allocations: 99.94 kB / 0.4896 GB, free: 11.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.1021, allocations: 113.2 kB / 0.4897 GB, free: 11.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.1044, allocations: 0.7143 MB / 0.4904 GB, free: 10.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1045, allocations: 0 / 0.4904 GB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008286/0.1053, allocations: 442 kB / 0.4908 GB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1053, allocations: 8 kB / 0.4909 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1053, allocations: 3.938 kB / 0.4909 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/0.1056, allocations: 96.77 kB / 0.4909 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.1058, allocations: 39.92 kB / 0.491 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.1077, allocations: 1.845 MB / 0.4928 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.1081, allocations: 63.84 kB / 0.4928 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.1082, allocations: 12.06 kB / 0.4929 GB, free: 8.332 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 variables: Cff.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (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.0001922/0.1084, allocations: 184.3 kB / 0.493 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.1085, allocations: 31.8 kB / 0.4931 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1086, allocations: 42.27 kB / 0.4931 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1086, allocations: 3.984 kB / 0.4931 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1086, allocations: 0 / 0.4931 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.398e-05/0.1087, allocations: 120.8 kB / 0.4932 GB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.1087, allocations: 7.938 kB / 0.4932 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.1092, allocations: 59.91 kB / 0.4933 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.1093, allocations: 15.98 kB / 0.4933 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00145/0.1107, allocations: 0.5714 MB / 0.4939 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008072/0.1115, allocations: 0.6527 MB / 0.4945 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002143/0.1118, allocations: 127.9 kB / 0.4946 GB, free: 6.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008549/0.1126, allocations: 333.7 kB / 0.4949 GB, free: 6.148 MB / 382.1 MB Notification: Performance of Backend: time 6.01e-07/0.1126, allocations: 0 / 0.4949 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.1135, allocations: 393.2 kB / 0.4953 GB, free: 5.746 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009942/0.1145, allocations: 1.069 MB / 0.4964 GB, free: 4.633 MB / 382.1 MB Notification: Performance of Templates: time 0.007408/0.1219, allocations: 3.989 MB / 0.5003 GB, free: 0.6484 MB / 382.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.IMC_scheme_2dof.pipe 2>&1)