Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 107.8 kB / 16.41 MB, free: 6.449 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.001675/0.001675, allocations: 192.3 kB / 17.35 MB, free: 5.707 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09322/0.09322, allocations: 22.33 MB / 313.5 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1065, allocations: 54.95 MB / 492.7 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2): time 0.004005/0.1106, allocations: 2.135 MB / 494.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1122, allocations: 0.7287 MB / 495.5 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1124, allocations: 7.938 kB / 495.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1127, allocations: 43.59 kB / 495.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.113, allocations: 87.42 kB / 495.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006791/0.1137, allocations: 207.7 kB / 495.9 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005916/0.1143, allocations: 403.2 kB / 496.3 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002598/0.1146, allocations: 116.2 kB / 496.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.1149, allocations: 159.4 kB / 496.5 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.1152, allocations: 187.2 kB / 496.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.567e-05/0.1152, allocations: 32 kB / 496.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.1153, allocations: 36 kB / 496.8 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1154, allocations: 107.7 kB / 496.9 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.1156, allocations: 147.1 kB / 497 MB, free: 368 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005056/0.1161, allocations: 362.4 kB / 497.4 MB, free: 4 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.446e-05/0.1162, allocations: 8.047 kB / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1162, allocations: 0 / 497.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1162, allocations: 0 / 497.4 MB, free: 15.99 MB / 382.1 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.002222/0.1184, allocations: 0.74 MB / 498.1 MB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1185, allocations: 8.031 kB / 498.2 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.1185, allocations: 40.7 kB / 498.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.1196, allocations: 387.5 kB / 498.6 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.1197, allocations: 16.81 kB / 498.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.1198, allocations: 32.31 kB / 498.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/0.1207, allocations: 294.8 kB / 498.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1207, allocations: 3.984 kB / 498.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.1207, allocations: 15.94 kB / 498.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.1208, allocations: 4 kB / 498.9 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.1216, allocations: 241.6 kB / 499.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.1236, allocations: 0.8262 MB / 500 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.1248, allocations: 322.4 kB / 0.4886 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004267/0.1252, allocations: 136.8 kB / 0.4887 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.1253, allocations: 4 kB / 0.4887 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1253, allocations: 38.5 kB / 0.4888 GB, free: 12.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.963e-06/0.1253, allocations: 0 / 0.4888 GB, free: 12.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.004356/0.1297, allocations: 1.017 MB / 0.4897 GB, free: 11.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.1298, allocations: 114.8 kB / 0.4899 GB, free: 11.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008834/0.1307, allocations: 338.9 kB / 0.4902 GB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1307, allocations: 29.7 kB / 0.4902 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.1309, allocations: 180.4 kB / 0.4904 GB, free: 10.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.131, allocations: 99.09 kB / 0.4905 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.1311, allocations: 53.7 kB / 0.4905 GB, free: 10.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1313, allocations: 338.8 kB / 0.4908 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.1317, allocations: 120.8 kB / 0.491 GB, free: 10.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.1322, allocations: 155.2 kB / 0.4911 GB, free: 10.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.1352, allocations: 0.6376 MB / 0.4917 GB, free: 9.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1352, allocations: 0 / 0.4917 GB, free: 9.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002351/0.1376, allocations: 0.5768 MB / 0.4923 GB, free: 8.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1376, allocations: 10.5 kB / 0.4923 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1376, allocations: 0 / 0.4923 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007235/0.1384, allocations: 153.5 kB / 0.4925 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.1386, allocations: 31.98 kB / 0.4925 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006952/0.1456, allocations: 3.91 MB / 0.4963 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.1461, allocations: 51.86 kB / 0.4964 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.1462, allocations: 8 kB / 0.4964 GB, free: 4.535 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Process_2.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_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004668/0.1467, allocations: 221 kB / 0.4966 GB, free: 4.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003249/0.147, allocations: 126.5 kB / 0.4967 GB, free: 4.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002812/0.1498, allocations: 0.5679 MB / 0.4972 GB, free: 3.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.987e-06/0.1498, allocations: 0 / 0.4972 GB, free: 3.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.001337/0.1512, allocations: 446.6 kB / 0.4977 GB, free: 3.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1512, allocations: 4 kB / 0.4977 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1512, allocations: 0 / 0.4977 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.1518, allocations: 121.6 kB / 0.4978 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.152, allocations: 27.98 kB / 0.4978 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2021/0.3542, allocations: 3.68 MB / 0.5014 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.3546, allocations: 50 kB / 0.5015 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3546, allocations: 6.906 kB / 0.5015 GB, free: 20.64 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: Process_2.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_1.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process_1.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 (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.0001259/0.3548, allocations: 198.3 kB / 0.5017 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.3548, allocations: 38.14 kB / 0.5017 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/0.3549, allocations: 41.72 kB / 0.5017 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.355, allocations: 7.578 kB / 0.5017 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.355, allocations: 4.5 kB / 0.5017 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.355, allocations: 110.6 kB / 0.5018 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.3551, allocations: 9.531 kB / 0.5019 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.3555, allocations: 42.72 kB / 0.5019 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.3555, allocations: 29.08 kB / 0.5019 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001882/0.3574, allocations: 0.6826 MB / 0.5026 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008864/0.3583, allocations: 0.6687 MB / 0.5032 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002603/0.3586, allocations: 140 kB / 0.5034 GB, free: 20.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004919/0.3591, allocations: 264.4 kB / 0.5036 GB, free: 19.94 MB / 382.1 MB Notification: Performance of Backend: time 4.91e-07/0.3591, allocations: 0 / 0.5036 GB, free: 19.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.3606, allocations: 0.953 MB / 0.5046 GB, free: 19.43 MB / 382.1 MB Notification: Performance of SimCode: time 0.0009375/0.3616, allocations: 1.184 MB / 0.5057 GB, free: 18.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01112/0.3727, allocations: 6.603 MB / 0.5122 GB, free: 18.37 MB / 382.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2.pipe 2>&1)