Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.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.001827/0.001827, allocations: 85.06 kB / 19.76 MB, free: 2.023 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.002464/0.002464, allocations: 156.8 kB / 23.01 MB, free: 4.961 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.397/1.397, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 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.09466/0.09466, allocations: 17.8 MB / 277.6 MB, free: 15.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.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_with_delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=300,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay") [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.002317/0.002317, allocations: 63.91 kB / 414.6 MB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.137, allocations: 59.56 MB / 474.2 MB, free: 8.828 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_with_delay): time 0.003172/0.1402, allocations: 1.912 MB / 476.1 MB, free: 6.902 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1415, allocations: 0.7171 MB / 476.8 MB, free: 6.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.683e-05/0.1416, allocations: 7.938 kB / 476.8 MB, free: 6.172 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.1419, allocations: 79.47 kB / 476.9 MB, free: 6.094 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.1422, allocations: 107.5 kB / 477 MB, free: 5.988 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.1427, allocations: 219.6 kB / 477.2 MB, free: 5.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.1435, allocations: 0.5809 MB / 477.8 MB, free: 5.188 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1436, allocations: 40.91 kB / 477.9 MB, free: 5.145 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1439, allocations: 223.3 kB / 478.1 MB, free: 4.926 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003311/0.1443, allocations: 219.1 kB / 478.3 MB, free: 4.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.1443, allocations: 28 kB / 478.3 MB, free: 4.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.263e-05/0.1444, allocations: 24 kB / 478.3 MB, free: 4.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1445, allocations: 103.6 kB / 478.4 MB, free: 4.559 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1446, allocations: 91.39 kB / 478.5 MB, free: 4.469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.1449, allocations: 286.6 kB / 478.8 MB, free: 4.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1449, allocations: 0 / 478.8 MB, free: 4.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1449, allocations: 0 / 478.8 MB, free: 4.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1449, allocations: 0 / 478.8 MB, free: 4.188 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001959/0.1469, allocations: 0.7111 MB / 479.5 MB, free: 3.445 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1469, allocations: 12.92 kB / 479.5 MB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/0.147, allocations: 40.7 kB / 479.6 MB, free: 3.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.1481, allocations: 390.2 kB / 480 MB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.1481, allocations: 12.38 kB / 480 MB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.1481, allocations: 20.31 kB / 480 MB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.1485, allocations: 186.3 kB / 480.2 MB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1485, allocations: 0 / 480.2 MB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1485, allocations: 4 kB / 480.2 MB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1485, allocations: 4 kB / 480.2 MB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.1489, allocations: 191.7 kB / 480.4 MB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1499, allocations: 0.5428 MB / 480.9 MB, free: 2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/0.1507, allocations: 333.7 kB / 481.2 MB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1509, allocations: 96.78 kB / 481.3 MB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1509, allocations: 7.938 kB / 481.3 MB, free: 1.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1509, allocations: 38.56 kB / 481.4 MB, free: 1.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.1509, allocations: 0 / 481.4 MB, free: 1.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001156/0.1521, allocations: 422 kB / 481.8 MB, free: 1.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.1521, allocations: 63.34 kB / 481.8 MB, free: 1.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.1532, allocations: 452.3 kB / 482.3 MB, free: 0.5664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1532, allocations: 33.64 kB / 482.3 MB, free: 0.5273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.1533, allocations: 168.4 kB / 482.5 MB, free: 368 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.1534, allocations: 75.34 kB / 482.6 MB, free: 292 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-05/0.1535, allocations: 41.7 kB / 482.6 MB, free: 244 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.1948/0.3483, allocations: 339.5 kB / 482.9 MB, free: 52.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3486, allocations: 83.73 kB / 483 MB, free: 52.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.3487, allocations: 113.3 kB / 483.1 MB, free: 52.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.3504, allocations: 0.5234 MB / 483.6 MB, free: 52.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3504, allocations: 3.219 kB / 483.6 MB, free: 52.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006682/0.3511, allocations: 346.7 kB / 484 MB, free: 52.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3511, allocations: 8.656 kB / 484 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3511, allocations: 0 / 484 MB, free: 52.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.3513, allocations: 54.77 kB / 484 MB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.3515, allocations: 38.52 kB / 484.1 MB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.3526, allocations: 1.473 MB / 485.6 MB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.3531, allocations: 70.14 kB / 485.6 MB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3532, allocations: 10.06 kB / 485.6 MB, free: 50.88 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] K.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] M.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] P.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (23): * Single equations (assignments): 22 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.3533, allocations: 156.6 kB / 485.8 MB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.992e-05/0.3534, allocations: 34.75 kB / 485.8 MB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.3535, allocations: 46.88 kB / 485.9 MB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.3535, allocations: 3.344 kB / 485.9 MB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3535, allocations: 0.5938 kB / 485.9 MB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3535, allocations: 3.938 kB / 485.9 MB, free: 50.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.3538, allocations: 257 kB / 486.1 MB, free: 50.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3538, allocations: 0 / 486.1 MB, free: 50.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.354, allocations: 32.42 kB / 486.2 MB, free: 50.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/0.3541, allocations: 52.59 kB / 486.2 MB, free: 50.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.3542, allocations: 9.219 kB / 486.2 MB, free: 50.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.3552, allocations: 1.477 MB / 487.7 MB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3552, allocations: 0 / 487.7 MB, free: 49.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007607/0.3559, allocations: 0.5108 MB / 488.2 MB, free: 49.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.356, allocations: 35.14 kB / 488.2 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.356, allocations: 9.562 kB / 488.3 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.3566, allocations: 64.23 kB / 488.3 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.3567, allocations: 20.56 kB / 488.3 MB, free: 49.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3567, allocations: 9.844 kB / 488.3 MB, free: 49.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008286/0.3575, allocations: 357.9 kB / 488.7 MB, free: 49.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3575, allocations: 0 / 488.7 MB, free: 49.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003723/0.3579, allocations: 60.94 kB / 488.8 MB, free: 49.17 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (P.x_scaled[1],H.x_scaled[1],M.x_scaled[1],K.x_scaled[1],C.x_scaled[1]) * 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 (17): * Single equations (assignments): 16 * 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): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.897e-05/0.358, allocations: 111.7 kB / 488.9 MB, free: 49.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005365/0.3585, allocations: 338.6 kB / 489.2 MB, free: 48.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3585, allocations: 0 / 489.2 MB, free: 48.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.3589, allocations: 240.5 kB / 489.4 MB, free: 48.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.3594, allocations: 66.02 kB / 489.5 MB, free: 48.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.3604, allocations: 0.63 MB / 490.1 MB, free: 48.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.3605, allocations: 190.3 kB / 490.3 MB, free: 48.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.3606, allocations: 57.16 kB / 490.4 MB, free: 48.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.3607, allocations: 21.66 kB / 490.4 MB, free: 48.31 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3607, allocations: 224 / 490.4 MB, free: 48.31 MB / 446.1 MB Notification: Performance of Templates: time 0.007296/0.368, allocations: 3.401 MB / 493.8 MB, free: 48 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_with_delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.272456848993897] Failed to read output from testmodel.py, exit status != 0: 0.3769203429110348 0.38819017999999994 0.240469227 Calling exit ...