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.001279/0.001279, allocations: 76.84 kB / 19.76 MB, free: 2.031 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.001388/0.001388, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.54/1.54, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.09922/0.09922, allocations: 17.8 MB / 277.6 MB, free: 15.33 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.002268/0.002268, allocations: 68.17 kB / 415.4 MB, free: 3.711 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.136, allocations: 59.56 MB / 475 MB, free: 8.031 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Hi_gain_linearising): time 0.002635/0.1386, allocations: 0.9744 MB / 476 MB, free: 7.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.1405, allocations: 1.272 MB / 477.2 MB, free: 5.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.1405, allocations: 7.938 kB / 477.2 MB, free: 5.762 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.1409, allocations: 51.69 kB / 477.3 MB, free: 5.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1411, allocations: 67.67 kB / 477.4 MB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.1414, allocations: 119.8 kB / 477.5 MB, free: 5.527 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.1419, allocations: 343.4 kB / 477.8 MB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.142, allocations: 21.78 kB / 477.8 MB, free: 5.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1422, allocations: 131.6 kB / 478 MB, free: 5.035 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.1425, allocations: 155.5 kB / 478.1 MB, free: 4.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.1425, allocations: 16 kB / 478.1 MB, free: 4.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.744e-05/0.1426, allocations: 20 kB / 478.1 MB, free: 4.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.1427, allocations: 91.75 kB / 478.2 MB, free: 4.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.35e-05/0.1428, allocations: 75.47 kB / 478.3 MB, free: 4.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1431, allocations: 215.1 kB / 478.5 MB, free: 4.473 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1431, allocations: 0 / 478.5 MB, free: 4.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1431, allocations: 0 / 478.5 MB, free: 4.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1431, allocations: 4 kB / 478.5 MB, free: 4.469 MB / 446.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.001619/0.1447, allocations: 0.5829 MB / 479.1 MB, free: 3.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1447, allocations: 12.86 kB / 479.1 MB, free: 3.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.1448, allocations: 24.8 kB / 479.1 MB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000855/0.1457, allocations: 289.5 kB / 479.4 MB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1457, allocations: 8.375 kB / 479.4 MB, free: 3.508 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.1457, allocations: 20.3 kB / 479.5 MB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.146, allocations: 157.9 kB / 479.6 MB, free: 3.328 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.146, allocations: 4 kB / 479.6 MB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1461, allocations: 4 kB / 479.6 MB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.1461, allocations: 4 kB / 479.6 MB, free: 3.316 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1464, allocations: 155.9 kB / 479.8 MB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1474, allocations: 0.5038 MB / 480.3 MB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.1478, allocations: 198.5 kB / 480.5 MB, free: 2.426 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.148, allocations: 100.8 kB / 480.6 MB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.148, allocations: 4 kB / 480.6 MB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.148, allocations: 30.56 kB / 480.6 MB, free: 2.281 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.148, allocations: 0 / 480.6 MB, free: 2.281 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001386/0.1494, allocations: 485.2 kB / 481.1 MB, free: 1.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1494, allocations: 59.34 kB / 481.1 MB, free: 1.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/0.1502, allocations: 341.5 kB / 481.5 MB, free: 1.387 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.1502, allocations: 33.7 kB / 481.5 MB, free: 1.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.1503, allocations: 120.1 kB / 481.6 MB, free: 1.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.677e-05/0.1504, allocations: 87.25 kB / 481.7 MB, free: 1.141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.1505, allocations: 37.72 kB / 481.7 MB, free: 1.098 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1507, allocations: 342.8 kB / 482.1 MB, free: 0.7539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1509, allocations: 91.88 kB / 482.2 MB, free: 0.6641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.151, allocations: 87.88 kB / 482.3 MB, free: 0.5781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3103/0.4613, allocations: 0.6141 MB / 482.9 MB, free: 52.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4613, allocations: 0 / 482.9 MB, free: 52.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007721/0.4621, allocations: 364 kB / 483.2 MB, free: 52.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4621, allocations: 6.375 kB / 483.2 MB, free: 52.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4621, allocations: 5.828 kB / 483.2 MB, free: 52.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.4624, allocations: 68.2 kB / 483.3 MB, free: 52.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4626, allocations: 39.91 kB / 483.3 MB, free: 52.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.4639, allocations: 1.507 MB / 484.8 MB, free: 51.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.4643, allocations: 59.52 kB / 484.9 MB, free: 51.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.4643, allocations: 3.438 kB / 484.9 MB, free: 51.06 MB / 446.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.0001611/0.4645, allocations: 164.5 kB / 485.1 MB, free: 50.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.957e-05/0.4645, allocations: 22.39 kB / 485.1 MB, free: 50.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.275e-05/0.4646, allocations: 42.28 kB / 485.1 MB, free: 50.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4646, allocations: 0 / 485.1 MB, free: 50.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4646, allocations: 0 / 485.1 MB, free: 50.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.4646, allocations: 3.344 kB / 485.1 MB, free: 50.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.4649, allocations: 225.1 kB / 485.4 MB, free: 50.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4649, allocations: 3.938 kB / 485.4 MB, free: 50.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.4651, allocations: 30.8 kB / 485.4 MB, free: 50.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/0.4653, allocations: 69.69 kB / 485.5 MB, free: 50.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.4653, allocations: 9 kB / 485.5 MB, free: 50.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009913/0.4663, allocations: 1.511 MB / 487 MB, free: 49.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4663, allocations: 2.906 kB / 487 MB, free: 49.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.467, allocations: 0.5203 MB / 487.5 MB, free: 49.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.4671, allocations: 33.95 kB / 487.5 MB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.4671, allocations: 8.266 kB / 487.5 MB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.4674, allocations: 48.05 kB / 487.6 MB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.4675, allocations: 14.06 kB / 487.6 MB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4675, allocations: 6.656 kB / 487.6 MB, free: 49.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000572/0.4681, allocations: 268.9 kB / 487.9 MB, free: 49.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4681, allocations: 0 / 487.9 MB, free: 49.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003036/0.4684, allocations: 49.31 kB / 487.9 MB, free: 49.37 MB / 446.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.945e-05/0.4685, allocations: 106.5 kB / 488 MB, free: 49.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.4691, allocations: 353 kB / 488.4 MB, free: 49.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4691, allocations: 6.781 kB / 488.4 MB, free: 49.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002979/0.4694, allocations: 240.4 kB / 488.6 MB, free: 49.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4697, allocations: 35.14 kB / 488.6 MB, free: 49.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.4706, allocations: 0.5485 MB / 489.2 MB, free: 48.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.4707, allocations: 156.5 kB / 489.3 MB, free: 48.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.4708, allocations: 57.06 kB / 489.4 MB, free: 48.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.4709, allocations: 19.53 kB / 489.4 MB, free: 48.71 MB / 446.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4709, allocations: 2.938 kB / 489.4 MB, free: 48.71 MB / 446.1 MB Notification: Performance of Templates: time 0.006664/0.4775, allocations: 3.106 MB / 492.5 MB, free: 48.48 MB / 446.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 -s ida -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Hi_gain_linearising.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1534421250689775] Failed to read output from testmodel.py, exit status != 0: 0.48581301898229867 0.495586663 0.35021831299999995 Calling exit ...