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.001738/0.001738, allocations: 96.36 kB / 20.46 MB, free: 1.367 MB / 14.72 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.002184/0.002184, allocations: 215.2 kB / 23.76 MB, free: 4.52 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1099/0.1099, allocations: 24.04 MB / 338 MB, free: 11.34 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 67.89 kB / 475.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2979, allocations: 59.57 MB / 0.5229 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002141/0.3, allocations: 0.9773 MB / 0.5238 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3015, allocations: 1.267 MB / 0.5251 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.307e-05/0.3016, allocations: 6.25 kB / 0.5251 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.302, allocations: 51.56 kB / 0.5251 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002027/0.3022, allocations: 63.48 kB / 0.5252 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.3025, allocations: 118.1 kB / 0.5253 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.3029, allocations: 350.4 kB / 0.5256 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.303, allocations: 26.42 kB / 0.5257 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.3032, allocations: 125.9 kB / 0.5258 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.3034, allocations: 159.8 kB / 0.5259 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.3035, allocations: 17.88 kB / 0.5259 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.849e-05/0.3035, allocations: 16.59 kB / 0.526 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.3037, allocations: 95.27 kB / 0.5261 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.292e-05/0.3038, allocations: 73.72 kB / 0.5261 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.304, allocations: 213.5 kB / 0.5263 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.304, allocations: 0 / 0.5263 GB, free: 8.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.304, allocations: 0 / 0.5263 GB, free: 8.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.304, allocations: 4 kB / 0.5263 GB, free: 8.828 MB / 382.1 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.001522/0.3056, allocations: 0.5812 MB / 0.5269 GB, free: 8.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3056, allocations: 14.14 kB / 0.5269 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.3057, allocations: 22.45 kB / 0.5269 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.3064, allocations: 289.4 kB / 0.5272 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3065, allocations: 8.812 kB / 0.5272 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.3065, allocations: 20.2 kB / 0.5272 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.3068, allocations: 161.6 kB / 0.5274 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.3068, allocations: 1.125 kB / 0.5274 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3068, allocations: 5.125 kB / 0.5274 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3068, allocations: 2.281 kB / 0.5274 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.3071, allocations: 159.9 kB / 0.5276 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009417/0.308, allocations: 0.4927 MB / 0.528 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.3084, allocations: 205.7 kB / 0.5282 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.3085, allocations: 106.4 kB / 0.5283 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3086, allocations: 6.141 kB / 0.5283 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.3086, allocations: 33.61 kB / 0.5284 GB, free: 7.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 1.472e-06/0.3086, allocations: 0 / 0.5284 GB, free: 7.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=19): time 0.001354/0.3099, allocations: 479.7 kB / 0.5288 GB, free: 7.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.31, allocations: 58.09 kB / 0.5289 GB, free: 7.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/0.3107, allocations: 341.1 kB / 0.5292 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3107, allocations: 26.83 kB / 0.5292 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.787e-05/0.3108, allocations: 136.1 kB / 0.5294 GB, free: 7.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.3108, allocations: 70.64 kB / 0.5294 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.3109, allocations: 39.36 kB / 0.5295 GB, free: 7.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.3109, allocations: 337.8 kB / 0.5298 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.3111, allocations: 84.59 kB / 0.5299 GB, free: 6.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.3112, allocations: 99.16 kB / 0.53 GB, free: 6.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/0.3132, allocations: 0.6096 MB / 0.5306 GB, free: 6.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3132, allocations: 4 kB / 0.5306 GB, free: 6.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000687/0.3139, allocations: 366.5 kB / 0.5309 GB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.314, allocations: 5.75 kB / 0.5309 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.314, allocations: 3.984 kB / 0.5309 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/0.3142, allocations: 68.39 kB / 0.531 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3144, allocations: 37.69 kB / 0.531 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.3157, allocations: 1.515 MB / 0.5325 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.3161, allocations: 58.66 kB / 0.5326 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3161, allocations: 12.16 kB / 0.5326 GB, free: 4.992 MB / 382.1 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.0001527/0.3163, allocations: 165.2 kB / 0.5327 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.3163, allocations: 21.7 kB / 0.5328 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.719e-05/0.3164, allocations: 36.05 kB / 0.5328 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3164, allocations: 6.188 kB / 0.5328 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3164, allocations: 0.5625 kB / 0.5328 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3164, allocations: 3.938 kB / 0.5328 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.3167, allocations: 224.3 kB / 0.533 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3167, allocations: 3.938 kB / 0.533 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.3169, allocations: 31.38 kB / 0.533 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/0.3172, allocations: 69.47 kB / 0.5331 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.3172, allocations: 6.656 kB / 0.5331 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.3183, allocations: 1.506 MB / 0.5346 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3183, allocations: 7.938 kB / 0.5346 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.3191, allocations: 0.5205 MB / 0.5351 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.3191, allocations: 33.19 kB / 0.5351 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.3192, allocations: 11.83 kB / 0.5351 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.3196, allocations: 41.83 kB / 0.5352 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.3196, allocations: 20.41 kB / 0.5352 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.3196, allocations: 4.344 kB / 0.5352 GB, free: 2.965 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006409/0.3203, allocations: 268.3 kB / 0.5355 GB, free: 2.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3203, allocations: 0 / 0.5355 GB, free: 2.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000328/0.3206, allocations: 52.88 kB / 0.5355 GB, free: 2.84 MB / 382.1 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.513e-05/0.3207, allocations: 106.5 kB / 0.5356 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006307/0.3213, allocations: 359.2 kB / 0.536 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3213, allocations: 0 / 0.536 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.3217, allocations: 243.9 kB / 0.5362 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.322, allocations: 43.34 kB / 0.5362 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009189/0.3229, allocations: 0.5701 MB / 0.5368 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.3231, allocations: 163.1 kB / 0.5369 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.3232, allocations: 19.36 kB / 0.537 GB, free: 1.949 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3232, allocations: 3.938 kB / 0.537 GB, free: 1.945 MB / 382.1 MB Notification: Performance of Templates: time 0.006526/0.3297, allocations: 3.744 MB / 0.5406 GB, free: 0.9805 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.759198736865073] Failed to read output from testmodel.py, exit status != 0: 0.33827940467745066 0.35236900699999996 0.045201814 Calling exit ...