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.00134/0.00134, allocations: 72.95 kB / 20.74 MB, free: 3.75 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.001428/0.001428, allocations: 173.3 kB / 24.16 MB, free: 336 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.044/1.044, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.06777/0.06777, allocations: 18.14 MB / 279.2 MB, free: 11.2 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 2.094e-06/2.094e-06, allocations: 0 / 305.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.558e-05, allocations: 7.625 kB / 305.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002473/0.002499, allocations: 1.051 MB / 306.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001847/0.004346, allocations: 1.314 MB / 307.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.004445, allocations: 4 kB / 307.8 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.004787, allocations: 43.47 kB / 307.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.004994, allocations: 75.88 kB / 307.9 MB, free: 14.24 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.00542, allocations: 161.7 kB / 308 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002815/0.005701, allocations: 191.6 kB / 308.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.005826, allocations: 29.25 kB / 308.2 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.00598, allocations: 87.36 kB / 308.3 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.006193, allocations: 134.6 kB / 308.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.006229, allocations: 16 kB / 308.5 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.379e-05/0.006253, allocations: 16 kB / 308.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.00636, allocations: 89.31 kB / 308.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.006424, allocations: 54.41 kB / 308.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.006639, allocations: 154.3 kB / 308.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.006644, allocations: 4 kB / 308.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.006646, allocations: 0 / 308.8 MB, free: 13.56 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.006651, allocations: 4 kB / 308.8 MB, free: 13.55 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.000717/0.007368, allocations: 460.7 kB / 309.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.007404, allocations: 8.922 kB / 309.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.007456, allocations: 20.92 kB / 309.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.007775, allocations: 229.4 kB / 309.5 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.007794, allocations: 8.375 kB / 309.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.007825, allocations: 16.38 kB / 309.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.008007, allocations: 95.03 kB / 309.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.00802, allocations: 192 / 309.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.008035, allocations: 384 / 309.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.008041, allocations: 7.938 kB / 309.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.944e-05/0.008131, allocations: 47.89 kB / 309.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.008613, allocations: 318.3 kB / 310 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.008773, allocations: 137.5 kB / 310.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.008822, allocations: 36.78 kB / 310.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.008845, allocations: 4 kB / 310.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.008871, allocations: 42.5 kB / 310.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.008872, allocations: 0 / 310.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006014/0.009473, allocations: 240.1 kB / 310.4 MB, free: 11.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.009501, allocations: 51.41 kB / 310.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.009645, allocations: 213 kB / 310.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.009664, allocations: 25.7 kB / 310.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.887e-05/0.009723, allocations: 108.6 kB / 310.8 MB, free: 11.42 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.009788, allocations: 75.31 kB / 310.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.009846, allocations: 37.69 kB / 310.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.009949, allocations: 342.7 kB / 311.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.433e-05/0.009994, allocations: 18.83 kB / 311.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.01003, allocations: 16.64 kB / 311.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.01019, allocations: 107.9 kB / 311.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.01019, allocations: 0 / 311.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002369/0.01043, allocations: 153.1 kB / 311.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.01044, allocations: 4 kB / 311.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01045, allocations: 3.984 kB / 311.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.01063, allocations: 55.58 kB / 311.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.01073, allocations: 35.92 kB / 311.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008967/0.01163, allocations: 1.277 MB / 312.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.01172, allocations: 19.89 kB / 312.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.01173, allocations: 0 / 312.9 MB, free: 9.164 MB / 282.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.0001185/0.01185, allocations: 144 kB / 313.1 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.01188, allocations: 23.92 kB / 313.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.01192, allocations: 38.11 kB / 313.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.01193, allocations: 0 / 313.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.01193, allocations: 0 / 313.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.01193, allocations: 0 / 313.1 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.01209, allocations: 141.7 kB / 313.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01209, allocations: 0 / 313.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.0122, allocations: 27.98 kB / 313.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001339/0.01233, allocations: 47.64 kB / 313.4 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.01235, allocations: 11.92 kB / 313.4 MB, free: 8.707 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007329/0.01308, allocations: 1.276 MB / 314.6 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01308, allocations: 0 / 314.6 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.01342, allocations: 342.9 kB / 315 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.01344, allocations: 27.78 kB / 315 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.01347, allocations: 4 kB / 315 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.01355, allocations: 16.03 kB / 315 MB, free: 6.934 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.0136, allocations: 11.97 kB / 315 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01361, allocations: 4 kB / 315 MB, free: 6.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.46e-05/0.01369, allocations: 82.66 kB / 315.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01369, allocations: 0 / 315.1 MB, free: 6.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.01388, allocations: 48 kB / 315.2 MB, free: 6.789 MB / 282.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.0001003/0.01398, allocations: 84.41 kB / 315.3 MB, free: 6.695 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.01426, allocations: 219.4 kB / 315.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.01426, allocations: 4 kB / 315.5 MB, free: 6.461 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.0144, allocations: 175.4 kB / 315.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.01461, allocations: 41.14 kB / 315.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.0152, allocations: 460.5 kB / 316.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.65e-05/0.01527, allocations: 101.1 kB / 316.2 MB, free: 5.641 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.282e-05/0.01533, allocations: 25.72 kB / 316.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.01543, allocations: 71.36 kB / 316.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01543, allocations: 0 / 316.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of Templates: time 0.005431/0.02086, allocations: 3.29 MB / 319.6 MB, free: 2.305 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.988562067039311]