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.0007968/0.0007968, allocations: 84.44 kB / 20.71 MB, free: 3.859 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.0007938/0.0007938, allocations: 165.2 kB / 23.98 MB, free: 0.5898 MB / 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.8341/0.8341, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.05884/0.05884, allocations: 18.13 MB / 278.8 MB, free: 11.52 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.613e-06/1.613e-06, allocations: 0 / 417.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.274e-05, allocations: 6.219 kB / 417.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.001437/0.00146, allocations: 0.9787 MB / 418.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.002498, allocations: 1.267 MB / 419.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.002567, allocations: 2.562 kB / 419.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.00284, allocations: 60.33 kB / 419.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.002988, allocations: 71.45 kB / 419.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.003227, allocations: 154.8 kB / 419.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.003425, allocations: 193.8 kB / 419.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.436e-05/0.003519, allocations: 16.31 kB / 419.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.003622, allocations: 94.95 kB / 419.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.0038, allocations: 139.8 kB / 420.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.003842, allocations: 16.12 kB / 420.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/0.003865, allocations: 21.56 kB / 420.1 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.829e-05/0.003953, allocations: 80.45 kB / 420.2 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.004008, allocations: 58.48 kB / 420.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.004207, allocations: 212.9 kB / 420.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004209, allocations: 1.125 kB / 420.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.00421, allocations: 0 / 420.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.004215, allocations: 0 / 420.4 MB, free: 10.19 MB / 330.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.0008737/0.005089, allocations: 0.58 MB / 421 MB, free: 9.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.00512, allocations: 14.27 kB / 421 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.005162, allocations: 23.61 kB / 421.1 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.005578, allocations: 294.6 kB / 421.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.005592, allocations: 4.281 kB / 421.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.005621, allocations: 20.25 kB / 421.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.005829, allocations: 164.2 kB / 421.5 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.00584, allocations: 192 / 421.5 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.005853, allocations: 5.406 kB / 421.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.005859, allocations: 7.969 kB / 421.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002075/0.006066, allocations: 154.7 kB / 421.7 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.006661, allocations: 0.4962 MB / 422.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.006903, allocations: 204.8 kB / 422.4 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.007019, allocations: 106.5 kB / 422.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.007039, allocations: 2.344 kB / 422.5 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.007052, allocations: 39.84 kB / 422.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of pre-optimization done (n=19): time 1.112e-06/0.007053, allocations: 0 / 422.5 MB, free: 9.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008516/0.007904, allocations: 479.8 kB / 423 MB, free: 8.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.00793, allocations: 53.97 kB / 423.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004214/0.008351, allocations: 343.4 kB / 423.4 MB, free: 8.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.008366, allocations: 30.89 kB / 423.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.00842, allocations: 135.4 kB / 423.6 MB, free: 8.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.00847, allocations: 69.77 kB / 423.6 MB, free: 8.445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.008518, allocations: 39.14 kB / 423.7 MB, free: 8.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.241e-05/0.00856, allocations: 341.5 kB / 424 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.008671, allocations: 89.27 kB / 424.1 MB, free: 8.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.008782, allocations: 89 kB / 424.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.009913, allocations: 0.6181 MB / 424.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009915, allocations: 0.9688 kB / 424.8 MB, free: 7.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004643/0.01038, allocations: 364 kB / 425.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01039, allocations: 10.23 kB / 425.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.0104, allocations: 0 / 425.2 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.01057, allocations: 67.72 kB / 425.2 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.01068, allocations: 34.97 kB / 425.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000899/0.01158, allocations: 1.511 MB / 426.8 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.01175, allocations: 54.59 kB / 426.8 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01176, allocations: 5.312 kB / 426.8 MB, free: 6.363 MB / 330.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.73e-05/0.01186, allocations: 174 kB / 427 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.01189, allocations: 21.75 kB / 427 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.01193, allocations: 36.8 kB / 427.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01193, allocations: 1.812 kB / 427.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01193, allocations: 5.094 kB / 427.1 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01193, allocations: 4.656 kB / 427.1 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.01212, allocations: 227.5 kB / 427.3 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01212, allocations: 2.062 kB / 427.3 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.01223, allocations: 26.8 kB / 427.3 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.01236, allocations: 71.61 kB / 427.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.01237, allocations: 8.281 kB / 427.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006885/0.01306, allocations: 1.506 MB / 428.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01306, allocations: 3.938 kB / 428.9 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.01359, allocations: 0.5144 MB / 429.4 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.01362, allocations: 33.02 kB / 429.5 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.01365, allocations: 8.375 kB / 429.5 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.01382, allocations: 53.39 kB / 429.5 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.01387, allocations: 20.73 kB / 429.5 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.01388, allocations: 4.531 kB / 429.5 MB, free: 4.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003524/0.01423, allocations: 272.2 kB / 429.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01423, allocations: 0 / 429.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.01446, allocations: 48.97 kB / 429.9 MB, free: 4.207 MB / 330.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 9.845e-05/0.01456, allocations: 105.5 kB / 430 MB, free: 4.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000521/0.01508, allocations: 360 kB / 430.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01508, allocations: 1.312 kB / 430.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.01529, allocations: 241.1 kB / 430.5 MB, free: 3.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.01556, allocations: 38.52 kB / 430.6 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.01624, allocations: 0.5502 MB / 431.1 MB, free: 3.434 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01634, allocations: 154.1 kB / 431.3 MB, free: 3.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.0164, allocations: 20.44 kB / 431.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of SimCode: time 6.12e-07/0.0164, allocations: 0 / 431.3 MB, free: 3.344 MB / 330.7 MB Notification: Performance of Templates: time 0.004505/0.0209, allocations: 3.839 MB / 435.1 MB, free: 2.109 MB / 330.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=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.681687096133828] Failed to read output from testmodel.py, exit status != 0: 0.026231718249619007 0.034433173000000004 0.028669628000000003 Calling exit ...