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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07845/0.07845, allocations: 17.69 MB / 33.64 MB, free: 1.746 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.00107, allocations: 176.8 kB / 38.91 MB, free: 8 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.4 MB / 249.5 MB, free: 2.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009061/0.000906, allocations: 90.25 kB / 302.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00066/0.0006602, allocations: 12 kB / 366.9 MB, free: 3.605 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2494, allocations: 51.98 MB / 418.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.PI_loop_analogue_compare2): time 0.002254/0.2517, allocations: 1.764 MB / 420.7 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.253, allocations: 0.7338 MB / 421.4 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.2532, allocations: 8 kB / 421.4 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.2535, allocations: 39.7 kB / 421.5 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.2537, allocations: 55.69 kB / 421.5 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.2541, allocations: 161.7 kB / 421.7 MB, free: 21.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.2544, allocations: 355.1 kB / 422 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.2546, allocations: 104.2 kB / 422.1 MB, free: 21.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.2547, allocations: 123.5 kB / 422.2 MB, free: 21.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.2549, allocations: 147.3 kB / 422.4 MB, free: 20.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.255, allocations: 12 kB / 422.4 MB, free: 20.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.78e-05/0.255, allocations: 8 kB / 422.4 MB, free: 20.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.249e-05/0.2551, allocations: 75.73 kB / 422.5 MB, free: 20.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.2552, allocations: 144.9 kB / 422.6 MB, free: 20.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.2555, allocations: 318.8 kB / 422.9 MB, free: 20.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.2555, allocations: 0 / 422.9 MB, free: 20.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2555, allocations: 0 / 422.9 MB, free: 20.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.2555, allocations: 8 kB / 422.9 MB, free: 20.32 MB / 298.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.001405/0.257, allocations: 0.6858 MB / 423.6 MB, free: 19.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.257, allocations: 12.03 kB / 423.6 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.2571, allocations: 44.41 kB / 423.7 MB, free: 19.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006594/0.2577, allocations: 387.2 kB / 424.1 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.2578, allocations: 16.81 kB / 424.1 MB, free: 19.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.2578, allocations: 20.38 kB / 424.1 MB, free: 19.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.2583, allocations: 310.7 kB / 424.4 MB, free: 18.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.2584, allocations: 3.906 kB / 424.4 MB, free: 18.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.2584, allocations: 8 kB / 424.4 MB, free: 18.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.2584, allocations: 4 kB / 424.4 MB, free: 18.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.2589, allocations: 261.6 kB / 424.7 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.2601, allocations: 0.8418 MB / 425.5 MB, free: 17.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008009/0.2609, allocations: 338.3 kB / 425.8 MB, free: 17.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.2613, allocations: 152.8 kB / 426 MB, free: 17.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.2613, allocations: 4 kB / 426 MB, free: 17.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.2614, allocations: 30.56 kB / 426 MB, free: 17.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 3.066e-06/0.2614, allocations: 0 / 426 MB, free: 17.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.002774/0.2642, allocations: 1.133 MB / 427.2 MB, free: 15.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.2642, allocations: 110.8 kB / 427.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.2648, allocations: 351.3 kB / 427.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.2648, allocations: 29.7 kB / 427.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.2649, allocations: 176.3 kB / 427.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.116e-05/0.265, allocations: 86.66 kB / 427.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.265, allocations: 4 kB / 427.9 MB, free: 15.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.2651, allocations: 346.8 kB / 428.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.2653, allocations: 123.9 kB / 428.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.2656, allocations: 162.4 kB / 428.5 MB, free: 14.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001961/0.2676, allocations: 0.7082 MB / 429.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2676, allocations: 0 / 429.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0013/0.2689, allocations: 0.6352 MB / 429.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.269, allocations: 92.94 kB / 430 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.269, allocations: 0 / 430 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.2695, allocations: 193.5 kB / 430.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2697, allocations: 35.98 kB / 430.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.2736, allocations: 3.729 MB / 433.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.274, allocations: 67.81 kB / 434 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.274, allocations: 7.984 kB / 434 MB, free: 8.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.274, allocations: 4 kB / 434 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006592/0.2747, allocations: 369.3 kB / 434.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.2747, allocations: 0 / 434.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002867/0.275, allocations: 121.6 kB / 434.5 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2751, allocations: 27.98 kB / 434.5 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/0.2774, allocations: 3.325 MB / 437.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.2777, allocations: 55.88 kB / 437.9 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.2778, allocations: 8 kB / 437.9 MB, free: 4.504 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.2781, allocations: 238 kB / 438.1 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.2781, allocations: 27.62 kB / 438.1 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.438e-05/0.2782, allocations: 46.23 kB / 438.2 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2782, allocations: 8 kB / 438.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2783, allocations: 0 / 438.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.2783, allocations: 0 / 438.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.2787, allocations: 389.2 kB / 438.6 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2787, allocations: 3.984 kB / 438.6 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.2788, allocations: 20.19 kB / 438.6 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.2793, allocations: 197.5 kB / 438.8 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2794, allocations: 11.94 kB / 438.8 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003142/0.2825, allocations: 3.531 MB / 442.3 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.2825, allocations: 4.031 kB / 442.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.2842, allocations: 0.7896 MB / 443.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2843, allocations: 108.7 kB / 443.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.2843, allocations: 7.984 kB / 443.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.2847, allocations: 51.94 kB / 443.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.2848, allocations: 27.91 kB / 443.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.2848, allocations: 8 kB / 443.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005176/0.2854, allocations: 265.9 kB / 443.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2854, allocations: 0 / 443.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000694/0.2861, allocations: 127.7 kB / 443.7 MB, free: 14.3 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001543/0.2862, allocations: 117.4 kB / 443.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.288, allocations: 1.002 MB / 444.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.288, allocations: 0 / 444.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.2887, allocations: 430.2 kB / 445.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.2892, allocations: 62.64 kB / 445.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.2906, allocations: 0.8146 MB / 446.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004454/0.2911, allocations: 0.7957 MB / 446.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.2913, allocations: 78.39 kB / 447 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.2914, allocations: 15.44 kB / 447 MB, free: 10.88 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2914, allocations: 0 / 447 MB, free: 10.88 MB / 314.7 MB Notification: Performance of Templates: time 0.01055/0.3019, allocations: 5.649 MB / 452.7 MB, free: 5.23 MB / 314.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)