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.000839/0.000839, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001192/0.002031, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008866/0.0008866, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.002101, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08921/1.104, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.06314/0.06314, allocations: 18.13 MB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.013/0.07614, allocations: 6.782 MB / 269.1 MB, free: 6.23 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.463e-06/1.463e-06, allocations: 0 / 270.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.309e-05, allocations: 2.312 kB / 270.5 MB, free: 4.766 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.001927/0.00195, allocations: 1.057 MB / 271.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003279, allocations: 1.311 MB / 272.9 MB, free: 2.375 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.003364, allocations: 8 kB / 272.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.003584, allocations: 59.56 kB / 273 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.003723, allocations: 59.73 kB / 273 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.004, allocations: 159.5 kB / 273.2 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.004209, allocations: 183.5 kB / 273.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.004296, allocations: 22.44 kB / 273.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.004471, allocations: 152.4 kB / 273.5 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.004659, allocations: 135.7 kB / 273.6 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.004695, allocations: 16 kB / 273.7 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.575e-05/0.00472, allocations: 16 kB / 273.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.004797, allocations: 67.78 kB / 273.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.004844, allocations: 35.88 kB / 273.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.005004, allocations: 147.4 kB / 273.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.005015, allocations: 0 / 273.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005016, allocations: 0 / 273.9 MB, free: 1.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.005026, allocations: 0 / 273.9 MB, free: 1.332 MB / 266.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.0007119/0.005738, allocations: 495.2 kB / 274.4 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.005769, allocations: 8.031 kB / 274.4 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.005823, allocations: 24.91 kB / 274.4 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.006103, allocations: 217.5 kB / 274.7 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.006122, allocations: 12.38 kB / 274.7 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.006151, allocations: 12.33 kB / 274.7 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.006303, allocations: 99.19 kB / 274.8 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.006313, allocations: 0 / 274.8 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.006325, allocations: 8 kB / 274.8 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.00633, allocations: 0 / 274.8 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.148e-05/0.006412, allocations: 47.89 kB / 274.8 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.006845, allocations: 313.7 kB / 275.1 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1339/0.1407, allocations: 140.1 kB / 275.3 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/0.1408, allocations: 30.75 kB / 275.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.1408, allocations: 4.281 kB / 275.3 MB, free: 3.266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1409, allocations: 36.84 kB / 275.3 MB, free: 3.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 3.837e-06/0.1409, allocations: 0 / 275.3 MB, free: 3.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009501/0.1418, allocations: 228.9 kB / 275.6 MB, free: 3.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.1418, allocations: 55.19 kB / 275.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.1421, allocations: 216.4 kB / 275.8 MB, free: 3.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1421, allocations: 29.61 kB / 275.9 MB, free: 2.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.1421, allocations: 109.4 kB / 276 MB, free: 2.898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.063e-05/0.1422, allocations: 75.11 kB / 276 MB, free: 2.879 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.1423, allocations: 44.03 kB / 276.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.762e-05/0.1423, allocations: 336.5 kB / 276.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.1424, allocations: 18.41 kB / 276.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.498e-05/0.1425, allocations: 22.45 kB / 276.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.1427, allocations: 113.8 kB / 276.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1427, allocations: 3.391 kB / 276.6 MB, free: 2.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003797/0.1431, allocations: 153.2 kB / 276.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1431, allocations: 5.625 kB / 276.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.1431, allocations: 0 / 276.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/0.1434, allocations: 51.88 kB / 276.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.1436, allocations: 40.11 kB / 276.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.1447, allocations: 1.269 MB / 278.1 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1449, allocations: 20.23 kB / 278.1 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1449, allocations: 4.25 kB / 278.1 MB, free: 1.301 MB / 266.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.0001575/0.145, allocations: 146.5 kB / 278.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/0.1451, allocations: 15.48 kB / 278.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.734e-05/0.1452, allocations: 39.19 kB / 278.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1452, allocations: 2.25 kB / 278.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1452, allocations: 2.188 kB / 278.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1452, allocations: 0.8906 kB / 278.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1454, allocations: 139.5 kB / 278.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1454, allocations: 1.125 kB / 278.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.1456, allocations: 33.52 kB / 278.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.1457, allocations: 28.78 kB / 278.5 MB, free: 1.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000221/0.1459, allocations: 46.2 kB / 278.5 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.1459, allocations: 9.812 kB / 278.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009961/0.1469, allocations: 1.269 MB / 279.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1469, allocations: 1.094 kB / 279.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.1474, allocations: 335.2 kB / 280.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.1475, allocations: 10.38 kB / 280.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1476, allocations: 12.2 kB / 280.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-05/0.1477, allocations: 16.16 kB / 280.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1477, allocations: 2.906 kB / 280.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1478, allocations: 77.94 kB / 280.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1478, allocations: 2.141 kB / 280.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.1481, allocations: 47.72 kB / 280.3 MB, free: 15.7 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.0001476/0.1483, allocations: 86.94 kB / 280.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004383/0.1487, allocations: 214.6 kB / 280.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/0.1487, allocations: 7.938 kB / 280.6 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.149, allocations: 181.5 kB / 280.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1494, allocations: 145.8 kB / 280.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/0.1503, allocations: 465.2 kB / 281.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.1504, allocations: 96.89 kB / 281.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1505, allocations: 23.28 kB / 281.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.1507, allocations: 81.97 kB / 281.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1507, allocations: 1.938 kB / 281.6 MB, free: 14.94 MB / 282.7 MB Notification: Performance of Templates: time 0.007053/0.1577, allocations: 3.525 MB / 285.1 MB, free: 14.77 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.804665932431817]