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.001252/0.001252, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.001731/0.001731, allocations: 173 kB / 24.17 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 0.9821/0.9821, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.06611/0.06611, allocations: 18.13 MB / 279.2 MB, free: 11.21 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.084e-06/2.084e-06, allocations: 1.344 kB / 305.3 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.409e-05, allocations: 2.312 kB / 305.3 MB, free: 120 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.001906/0.001931, allocations: 0.9998 MB / 306.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.003517, allocations: 1.32 MB / 307.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.003596, allocations: 0 / 307.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.003868, allocations: 55.48 kB / 307.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.004022, allocations: 72.03 kB / 307.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.004311, allocations: 159.1 kB / 307.9 MB, free: 14.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.004526, allocations: 199 kB / 308.1 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.004598, allocations: 24.05 kB / 308.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.004716, allocations: 85.38 kB / 308.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.004898, allocations: 134.2 kB / 308.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.004934, allocations: 20 kB / 308.4 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.352e-05/0.004958, allocations: 16 kB / 308.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.322e-05/0.005051, allocations: 89.31 kB / 308.5 MB, free: 13.92 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.005114, allocations: 58.88 kB / 308.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.005285, allocations: 158 kB / 308.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.005286, allocations: 0 / 308.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005287, allocations: 0 / 308.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.00529, allocations: 0 / 308.7 MB, free: 13.76 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.000554/0.005844, allocations: 458 kB / 309.1 MB, free: 13.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.005873, allocations: 12.92 kB / 309.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.005919, allocations: 24.91 kB / 309.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.006169, allocations: 225.5 kB / 309.4 MB, free: 13.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.006182, allocations: 4.375 kB / 309.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.006204, allocations: 12.31 kB / 309.4 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.00633, allocations: 93.81 kB / 309.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.006338, allocations: 192 / 309.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006349, allocations: 8.375 kB / 309.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.006355, allocations: 3.938 kB / 309.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.006434, allocations: 45.98 kB / 309.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.006838, allocations: 322.3 kB / 309.9 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.00697, allocations: 138.3 kB / 310 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.007013, allocations: 28.84 kB / 310 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.007027, allocations: 8 kB / 310.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.007046, allocations: 34.5 kB / 310.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=19): time 8.02e-07/0.007046, allocations: 4 kB / 310.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005038/0.00755, allocations: 236.1 kB / 310.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.007575, allocations: 55.41 kB / 310.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.007709, allocations: 213 kB / 310.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.00773, allocations: 33.64 kB / 310.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.007773, allocations: 108.6 kB / 310.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.007824, allocations: 71.33 kB / 310.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.007873, allocations: 41.67 kB / 310.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.86e-05/0.007961, allocations: 346.7 kB / 311.2 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.538e-05/0.007996, allocations: 18.83 kB / 311.2 MB, free: 11.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/0.008031, allocations: 24.8 kB / 311.2 MB, free: 11.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.008164, allocations: 100.6 kB / 311.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.008166, allocations: 0 / 311.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002226/0.008389, allocations: 145.2 kB / 311.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.008401, allocations: 8 kB / 311.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.008404, allocations: 4 kB / 311.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.008563, allocations: 51.58 kB / 311.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/0.008655, allocations: 27.98 kB / 311.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007415/0.009396, allocations: 1.272 MB / 312.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.009481, allocations: 23.88 kB / 312.8 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.009491, allocations: 4 kB / 312.8 MB, free: 9.375 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 9.673e-05/0.009588, allocations: 140.4 kB / 313 MB, free: 9.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.009621, allocations: 24 kB / 313 MB, free: 9.207 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.209e-05/0.009653, allocations: 38.11 kB / 313 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009656, allocations: 4 kB / 313 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.009658, allocations: 0 / 313 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.009662, allocations: 3.984 kB / 313.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.009804, allocations: 137.7 kB / 313.2 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.009806, allocations: 4 kB / 313.2 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/0.009897, allocations: 27.92 kB / 313.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001181/0.01001, allocations: 47.64 kB / 313.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01003, allocations: 7.938 kB / 313.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006645/0.01069, allocations: 1.263 MB / 314.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01069, allocations: 0 / 314.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.01098, allocations: 338.9 kB / 314.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.01101, allocations: 23.78 kB / 314.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.01103, allocations: 16.09 kB / 314.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.309e-05/0.01111, allocations: 12.14 kB / 314.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.01124, allocations: 19.89 kB / 314.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.01124, allocations: 0 / 314.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.593e-05/0.01131, allocations: 82.7 kB / 315 MB, free: 7.059 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01131, allocations: 0 / 315 MB, free: 7.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.01148, allocations: 52 kB / 315.1 MB, free: 7.008 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 7.316e-05/0.01155, allocations: 88.41 kB / 315.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.01179, allocations: 207.3 kB / 315.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.01179, allocations: 0 / 315.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01192, allocations: 179.3 kB / 315.5 MB, free: 6.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.01209, allocations: 38.59 kB / 315.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.01257, allocations: 465.3 kB / 316 MB, free: 5.984 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.504e-05/0.01263, allocations: 97.12 kB / 316.1 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.006e-05/0.01268, allocations: 13.64 kB / 316.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.01276, allocations: 79.36 kB / 316.2 MB, free: 5.773 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01276, allocations: 0 / 316.2 MB, free: 5.773 MB / 282.7 MB Notification: Performance of Templates: time 0.004605/0.01737, allocations: 3.29 MB / 319.5 MB, free: 2.535 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 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.943409752100706]