Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.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.00142/0.00142, allocations: 77.88 kB / 21.46 MB, free: 3.043 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.001214/0.001214, allocations: 163.9 kB / 24.85 MB, free: 8.645 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 1.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.07302/0.07302, allocations: 18.15 MB / 280 MB, free: 11.16 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.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") translateModel(AES.Coursework.Typical_control_structures.Hi_gain_linearising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 359.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.786e-05, allocations: 5.406 kB / 359.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.0017/0.001728, allocations: 1.007 MB / 360.4 MB, free: 6.742 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.003122, allocations: 1.299 MB / 361.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.74e-05/0.003219, allocations: 0 / 361.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.003502, allocations: 47.7 kB / 361.7 MB, free: 5.379 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.003654, allocations: 79.53 kB / 361.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.003914, allocations: 163.6 kB / 362 MB, free: 5.141 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.004113, allocations: 187.5 kB / 362.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.23e-05/0.004205, allocations: 29.72 kB / 362.2 MB, free: 4.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.004307, allocations: 83.78 kB / 362.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.004468, allocations: 135.7 kB / 362.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.004498, allocations: 16 kB / 362.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.491e-05/0.004523, allocations: 16 kB / 362.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.004609, allocations: 99.7 kB / 362.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.985e-05/0.004659, allocations: 51.78 kB / 362.6 MB, free: 4.535 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.004817, allocations: 159.4 kB / 362.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.004819, allocations: 0 / 362.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00482, allocations: 0 / 362.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.004824, allocations: 0 / 362.7 MB, free: 4.379 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006601/0.005485, allocations: 0.5697 MB / 363.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.005518, allocations: 12.92 kB / 363.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.005573, allocations: 32.8 kB / 363.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.005863, allocations: 240.2 kB / 363.6 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.005881, allocations: 12.23 kB / 363.6 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.005904, allocations: 12.33 kB / 363.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.006043, allocations: 82.19 kB / 363.7 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006053, allocations: 4.125 kB / 363.7 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.006067, allocations: 8.375 kB / 363.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.006073, allocations: 3.938 kB / 363.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.336e-05/0.006166, allocations: 57.56 kB / 363.8 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.006655, allocations: 408.2 kB / 364.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.006798, allocations: 106.9 kB / 364.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.006849, allocations: 42.25 kB / 364.3 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.006868, allocations: 11.94 kB / 364.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.006889, allocations: 37.38 kB / 364.3 MB, free: 2.641 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.092e-06/0.00689, allocations: 0 / 364.3 MB, free: 2.641 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005994/0.007489, allocations: 265.2 kB / 364.6 MB, free: 2.371 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.007517, allocations: 55.41 kB / 364.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.007679, allocations: 280.2 kB / 364.9 MB, free: 2.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.007697, allocations: 25.7 kB / 365 MB, free: 1.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.007776, allocations: 186.8 kB / 365.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.007831, allocations: 79.36 kB / 365.2 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.007895, allocations: 47.34 kB / 365.3 MB, free: 1.664 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.008029, allocations: 0.5156 MB / 365.8 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.008068, allocations: 15.98 kB / 365.8 MB, free: 1.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.008104, allocations: 19.98 kB / 365.8 MB, free: 1.102 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.008254, allocations: 106.3 kB / 365.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008256, allocations: 4 kB / 365.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002622/0.008519, allocations: 185 kB / 366.1 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.008531, allocations: 8 kB / 366.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.008536, allocations: 0 / 366.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.008703, allocations: 55.52 kB / 366.2 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.608e-05/0.008799, allocations: 31.98 kB / 366.2 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.009825, allocations: 1.823 MB / 368 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.009928, allocations: 27.83 kB / 368.1 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.009938, allocations: 0 / 368.1 MB, free: 14.74 MB / 346.7 MB Warning: Assuming fixed start value for the following 6 variables: C.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pcl.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Pol.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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.01006, allocations: 182 kB / 368.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.0101, allocations: 31.8 kB / 368.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/0.01014, allocations: 38.11 kB / 368.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01014, allocations: 4 kB / 368.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01014, allocations: 0 / 368.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01015, allocations: 4 kB / 368.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.01031, allocations: 169.1 kB / 368.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01031, allocations: 0 / 368.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.01042, allocations: 27.98 kB / 368.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.01056, allocations: 51.52 kB / 368.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01057, allocations: 15.98 kB / 368.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008338/0.01141, allocations: 1.807 MB / 370.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01141, allocations: 0 / 370.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.01175, allocations: 371.3 kB / 370.7 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.01178, allocations: 35.77 kB / 370.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.0118, allocations: 4 kB / 370.8 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.01189, allocations: 11.98 kB / 370.8 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.01193, allocations: 15.92 kB / 370.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.01194, allocations: 7.984 kB / 370.8 MB, free: 11.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.01203, allocations: 197.1 kB / 371 MB, free: 11.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01203, allocations: 0 / 371 MB, free: 11.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.01222, allocations: 48 kB / 371 MB, free: 11.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Pol.x_scaled[1],Pol.x_scaled[2],Pcl.x_scaled[1],Pcl.x_scaled[2],C.x_scaled[1],C.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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 9.584e-05/0.01232, allocations: 99.25 kB / 371.1 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.01262, allocations: 285.2 kB / 371.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01262, allocations: 0 / 371.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.01278, allocations: 240.2 kB / 371.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.01302, allocations: 42.92 kB / 371.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.01355, allocations: 466.3 kB / 372.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.795e-05/0.01361, allocations: 92.53 kB / 372.2 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.915e-05/0.01367, allocations: 25.62 kB / 372.3 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.702e-05/0.01376, allocations: 90.2 kB / 372.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01376, allocations: 0 / 372.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of Templates: time 0.005254/0.01902, allocations: 3.384 MB / 375.7 MB, free: 6.777 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.sim & ./AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.089702653698623]