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.0009977/0.0009977, allocations: 87.56 kB / 20.97 MB, free: 3.586 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.0009672/0.0009672, allocations: 177 kB / 24.28 MB, free: 284 kB / 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.063/1.063, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.06579/0.06579, allocations: 18.13 MB / 279.2 MB, free: 11.4 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.804e-06/1.804e-06, allocations: 0 / 358 MB, free: 7.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.63e-05, allocations: 2.312 kB / 358 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.001594/0.001621, allocations: 1.007 MB / 359.1 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.002999, allocations: 1.303 MB / 360.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.967e-05/0.003078, allocations: 4 kB / 360.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.003366, allocations: 47.64 kB / 360.4 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.00352, allocations: 75.59 kB / 360.5 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.003762, allocations: 155.6 kB / 360.6 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.003955, allocations: 191.5 kB / 360.8 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.309e-05/0.004048, allocations: 29.72 kB / 360.8 MB, free: 4.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.004135, allocations: 83.78 kB / 360.9 MB, free: 4.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.004292, allocations: 139.7 kB / 361.1 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.004329, allocations: 16 kB / 361.1 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.004351, allocations: 23.94 kB / 361.1 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.004438, allocations: 83.78 kB / 361.2 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.49e-05/0.004493, allocations: 51.77 kB / 361.2 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.004658, allocations: 167.4 kB / 361.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00466, allocations: 0 / 361.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004661, allocations: 0 / 361.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.004666, allocations: 4 kB / 361.4 MB, free: 4.004 MB / 282.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.0008164/0.005482, allocations: 0.6087 MB / 362 MB, free: 3.359 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.005523, allocations: 8.922 kB / 362 MB, free: 3.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.005595, allocations: 40.69 kB / 362.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.005925, allocations: 252.3 kB / 362.3 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.005951, allocations: 8.375 kB / 362.3 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.005979, allocations: 16.38 kB / 362.3 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.006147, allocations: 94.94 kB / 362.4 MB, free: 2.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.006161, allocations: 4.141 kB / 362.4 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.006177, allocations: 4.375 kB / 362.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.006188, allocations: 7.938 kB / 362.4 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.006316, allocations: 62.77 kB / 362.5 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.006985, allocations: 483.5 kB / 363 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.007163, allocations: 118.9 kB / 363.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.007235, allocations: 47.66 kB / 363.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.007256, allocations: 4 kB / 363.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.007277, allocations: 33.39 kB / 363.2 MB, free: 2.102 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.492e-06/0.007279, allocations: 4 kB / 363.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007144/0.007993, allocations: 315.8 kB / 363.5 MB, free: 1.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.008019, allocations: 51.41 kB / 363.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.008208, allocations: 288.3 kB / 363.8 MB, free: 1.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.008224, allocations: 29.7 kB / 363.8 MB, free: 1.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.008293, allocations: 178.8 kB / 364 MB, free: 1.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.292e-05/0.008346, allocations: 71.38 kB / 364.1 MB, free: 1.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.008398, allocations: 51.36 kB / 364.1 MB, free: 1.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.008522, allocations: 0.5079 MB / 364.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.008581, allocations: 31.91 kB / 364.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.008633, allocations: 28.64 kB / 364.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.008845, allocations: 131.7 kB / 364.8 MB, free: 376 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008847, allocations: 0 / 364.8 MB, free: 376 kB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003125/0.009159, allocations: 205 kB / 365 MB, free: 160 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.009173, allocations: 7.938 kB / 365 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.009177, allocations: 0 / 365 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.009389, allocations: 63.61 kB / 365.1 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.009501, allocations: 31.98 kB / 365.1 MB, free: 52 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.01058, allocations: 1.854 MB / 367 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01069, allocations: 39.84 kB / 367 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.01071, allocations: 4 kB / 367 MB, free: 14.03 MB / 298.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.000132/0.01084, allocations: 193.8 kB / 367.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.01088, allocations: 31.86 kB / 367.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.01092, allocations: 34.11 kB / 367.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01092, allocations: 4 kB / 367.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-06/0.01093, allocations: 0 / 367.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01093, allocations: 0 / 367.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.01111, allocations: 216.4 kB / 367.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01111, allocations: 0 / 367.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.01122, allocations: 27.92 kB / 367.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001493/0.01137, allocations: 59.62 kB / 367.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01138, allocations: 4 kB / 367.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008899/0.01227, allocations: 1.862 MB / 369.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01228, allocations: 3.938 kB / 369.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.01269, allocations: 386.4 kB / 369.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.01272, allocations: 31.72 kB / 369.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.01274, allocations: 8 kB / 369.9 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01285, allocations: 28 kB / 369.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.0129, allocations: 11.97 kB / 369.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.01291, allocations: 8 kB / 369.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.01305, allocations: 205.1 kB / 370.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.01305, allocations: 0 / 370.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.01326, allocations: 47.95 kB / 370.2 MB, free: 10.7 MB / 298.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 0.0001225/0.01339, allocations: 107.2 kB / 370.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004057/0.01379, allocations: 309.4 kB / 370.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.0138, allocations: 0 / 370.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.01399, allocations: 245.4 kB / 370.8 MB, free: 9.996 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01425, allocations: 42.25 kB / 370.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.01485, allocations: 470.3 kB / 371.3 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.525e-05/0.01492, allocations: 108.5 kB / 371.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.336e-05/0.01501, allocations: 37.59 kB / 371.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.01506, allocations: 16.5 kB / 371.5 MB, free: 9.285 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01506, allocations: 4 kB / 371.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of Templates: time 0.004887/0.01995, allocations: 3.167 MB / 374.6 MB, free: 6.141 MB / 298.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.1473487480543554]