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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007707/0.0007707, allocations: 80.45 kB / 20.71 MB, free: 3.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007589/0.0007589, allocations: 165.2 kB / 23.98 MB, free: 0.5859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8547/0.8547, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0611/0.0611, allocations: 18.13 MB / 278.8 MB, free: 11.53 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") translateModel(AES.Coursework.Tuning_brushup.IMC_scheme_1dof,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.71e-05, allocations: 3.125 kB / 416.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Tuning_brushup.IMC_scheme_1dof): time 0.001514/0.001541, allocations: 1.025 MB / 417.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.002655, allocations: 1.278 MB / 418.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.002728, allocations: 3.094 kB / 418.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.003035, allocations: 55.52 kB / 418.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001412/0.003176, allocations: 70.2 kB / 418.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.003433, allocations: 161.2 kB / 418.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002091/0.003642, allocations: 199.4 kB / 419.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.003758, allocations: 35.55 kB / 419.1 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.003861, allocations: 87.28 kB / 419.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.004053, allocations: 138.1 kB / 419.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.004095, allocations: 21.66 kB / 419.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.467e-05/0.004119, allocations: 20.25 kB / 419.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.004216, allocations: 90.44 kB / 419.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.004274, allocations: 59.36 kB / 419.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.004499, allocations: 236.8 kB / 419.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.004502, allocations: 2.453 kB / 419.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.004503, allocations: 0 / 419.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.004509, allocations: 0 / 419.8 MB, free: 10.5 MB / 330.7 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.0009525/0.005461, allocations: 0.5916 MB / 420.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.005501, allocations: 9.828 kB / 420.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.005554, allocations: 32.66 kB / 420.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.006026, allocations: 304.2 kB / 420.7 MB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.006043, allocations: 10.38 kB / 420.7 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.006072, allocations: 17.03 kB / 420.7 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.006306, allocations: 170.5 kB / 420.9 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.00632, allocations: 192 / 420.9 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.006335, allocations: 6.078 kB / 420.9 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.006342, allocations: 11.53 kB / 420.9 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.006576, allocations: 168.6 kB / 421.1 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.007272, allocations: 0.5224 MB / 421.6 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.007534, allocations: 206.1 kB / 421.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.007662, allocations: 110.3 kB / 421.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.007681, allocations: 1.562 kB / 421.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.0077, allocations: 38.19 kB / 421.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.007702, allocations: 0 / 421.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.001145/0.008847, allocations: 0.5646 MB / 422.5 MB, free: 9.133 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.008876, allocations: 58.78 kB / 422.6 MB, free: 9.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.009381, allocations: 342 kB / 422.9 MB, free: 8.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.009397, allocations: 26.92 kB / 422.9 MB, free: 8.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.00947, allocations: 141.1 kB / 423.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.009538, allocations: 86.34 kB / 423.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.009599, allocations: 41 kB / 423.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.00967, allocations: 333.9 kB / 423.5 MB, free: 8.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.009819, allocations: 90.17 kB / 423.6 MB, free: 8.312 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.00995, allocations: 90.67 kB / 423.7 MB, free: 8.285 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.01114, allocations: 0.6116 MB / 424.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01114, allocations: 0.7031 kB / 424.3 MB, free: 8.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005039/0.01164, allocations: 407.5 kB / 424.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.01166, allocations: 5.188 kB / 424.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.01167, allocations: 1.484 kB / 424.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.0119, allocations: 93.61 kB / 424.8 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.01201, allocations: 37.27 kB / 424.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.01314, allocations: 1.715 MB / 426.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.01332, allocations: 58.92 kB / 426.6 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.01333, allocations: 4.438 kB / 426.6 MB, free: 6.504 MB / 330.7 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.000161/0.01349, allocations: 160.1 kB / 426.8 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/0.01353, allocations: 30.64 kB / 426.8 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.01357, allocations: 36.81 kB / 426.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01358, allocations: 1.75 kB / 426.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.01358, allocations: 2.516 kB / 426.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01359, allocations: 0.7969 kB / 426.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.01381, allocations: 239.3 kB / 427.1 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01381, allocations: 1.062 kB / 427.1 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.01392, allocations: 23.61 kB / 427.1 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.0141, allocations: 95.3 kB / 427.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01412, allocations: 12.7 kB / 427.2 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009755/0.01509, allocations: 1.699 MB / 428.9 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0151, allocations: 0 / 428.9 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/0.0157, allocations: 0.5633 MB / 429.5 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.01574, allocations: 36.08 kB / 429.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.01576, allocations: 8.578 kB / 429.5 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.01594, allocations: 45.5 kB / 429.6 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.016, allocations: 22.45 kB / 429.6 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.01601, allocations: 3.281 kB / 429.6 MB, free: 4.371 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003378/0.01634, allocations: 275.5 kB / 429.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01634, allocations: 0 / 429.8 MB, free: 4.258 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.01659, allocations: 54.09 kB / 429.9 MB, free: 4.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (P.x_scaled[1],P.x_scaled[2],HF.x_scaled[1],HF.x_scaled[2],M.x_scaled[1],M.x_scaled[2]) * 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 (15): * Single equations (assignments): 14 * 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.0001085/0.0167, allocations: 113 kB / 430 MB, free: 4.145 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.01718, allocations: 368.1 kB / 430.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01718, allocations: 0 / 430.4 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.01739, allocations: 250.2 kB / 430.6 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.01766, allocations: 45.09 kB / 430.7 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007187/0.01838, allocations: 0.5714 MB / 431.2 MB, free: 3.445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.01851, allocations: 156.5 kB / 431.4 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.01856, allocations: 24.78 kB / 431.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01856, allocations: 0 / 431.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of Templates: time 0.0047/0.02326, allocations: 3.924 MB / 435.3 MB, free: 1.996 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Tuning_brushup.IMC_scheme_1dof.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.78373216278851] Failed to read output from testmodel.py, exit status != 0: 0.0291947266086936 0.038490561 0.032099526 Calling exit ...