Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 103.2 kB / 16.45 MB, free: 6.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 198.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.1009/0.1009, allocations: 22.7 MB / 325.4 MB, free: 3.52 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") translateModel(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.91 kB / 457.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1364, allocations: 58.02 MB / 0.5036 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag): time 0.002645/0.139, allocations: 1.219 MB / 0.5048 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.141, allocations: 1.354 MB / 0.5061 GB, free: 4.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1411, allocations: 7.938 kB / 0.5061 GB, free: 4.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.1416, allocations: 83.47 kB / 0.5062 GB, free: 4.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.1418, allocations: 107.5 kB / 0.5063 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1422, allocations: 163.7 kB / 0.5064 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.1427, allocations: 479.1 kB / 0.5069 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1429, allocations: 49.08 kB / 0.5069 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.1431, allocations: 195.4 kB / 0.5071 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.1435, allocations: 243.2 kB / 0.5074 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.1436, allocations: 24 kB / 0.5074 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.685e-05/0.1436, allocations: 28 kB / 0.5074 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.1438, allocations: 123.5 kB / 0.5075 GB, free: 3.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.1439, allocations: 127.1 kB / 0.5077 GB, free: 2.926 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.1443, allocations: 294.7 kB / 0.5079 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1443, allocations: 0 / 0.5079 GB, free: 2.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1443, allocations: 0 / 0.5079 GB, free: 2.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1444, allocations: 0 / 0.5079 GB, free: 2.637 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.002359/0.1467, allocations: 0.8253 MB / 0.5087 GB, free: 1.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.1467, allocations: 11.97 kB / 0.5088 GB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.1468, allocations: 32.75 kB / 0.5088 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.1481, allocations: 468.1 kB / 0.5092 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1481, allocations: 12.23 kB / 0.5092 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.1481, allocations: 20.33 kB / 0.5093 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.1485, allocations: 193.7 kB / 0.5094 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1485, allocations: 0 / 0.5094 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.1486, allocations: 12 kB / 0.5095 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1486, allocations: 4 kB / 0.5095 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.149, allocations: 219.8 kB / 0.5097 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.1503, allocations: 0.7031 MB / 0.5104 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2407/0.391, allocations: 287.6 kB / 0.5106 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.3912, allocations: 119.8 kB / 0.5107 GB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3912, allocations: 2.844 kB / 0.5108 GB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.3913, allocations: 36.86 kB / 0.5108 GB, free: 16.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.134e-06/0.3913, allocations: 0 / 0.5108 GB, free: 16.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001507/0.3928, allocations: 0.5958 MB / 0.5114 GB, free: 16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.3928, allocations: 57.66 kB / 0.5114 GB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.394, allocations: 479.3 kB / 0.5119 GB, free: 15.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.394, allocations: 29.39 kB / 0.5119 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3941, allocations: 174.2 kB / 0.5121 GB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.3942, allocations: 90.67 kB / 0.5122 GB, free: 15.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.024e-05/0.3943, allocations: 42.42 kB / 0.5122 GB, free: 15.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.627e-05/0.3944, allocations: 349.7 kB / 0.5125 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.3945, allocations: 103.3 kB / 0.5126 GB, free: 15.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.3947, allocations: 135.8 kB / 0.5128 GB, free: 15.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.3969, allocations: 0.702 MB / 0.5134 GB, free: 15.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.3969, allocations: 3.922 kB / 0.5135 GB, free: 15.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007747/0.3977, allocations: 415.3 kB / 0.5138 GB, free: 15.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.3977, allocations: 5.531 kB / 0.5139 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3977, allocations: 4.484 kB / 0.5139 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.3979, allocations: 61.98 kB / 0.5139 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.3981, allocations: 45.75 kB / 0.514 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3993, allocations: 1.662 MB / 0.5156 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.3998, allocations: 77.7 kB / 0.5157 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.3998, allocations: 9.406 kB / 0.5157 GB, free: 13.86 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 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[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] H.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] P.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: 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 (27): * Single equations (assignments): 26 * 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.0002336/0.4, allocations: 175.7 kB / 0.5158 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.4002, allocations: 33.8 kB / 0.5159 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.4003, allocations: 46.19 kB / 0.5159 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4003, allocations: 7.344 kB / 0.5159 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.4003, allocations: 3.875 kB / 0.5159 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4003, allocations: 0 / 0.5159 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.4008, allocations: 372.9 kB / 0.5163 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4008, allocations: 0.9844 kB / 0.5163 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.401, allocations: 36.02 kB / 0.5163 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.4012, allocations: 63.28 kB / 0.5164 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.4012, allocations: 7.344 kB / 0.5164 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.4024, allocations: 1.656 MB / 0.518 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4024, allocations: 4.359 kB / 0.518 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009015/0.4033, allocations: 0.5895 MB / 0.5186 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.4034, allocations: 127.4 kB / 0.5187 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.4035, allocations: 14.61 kB / 0.5187 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/0.404, allocations: 69.3 kB / 0.5188 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.4041, allocations: 14.75 kB / 0.5188 GB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4041, allocations: 7.75 kB / 0.5188 GB, free: 11.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009678/0.4051, allocations: 370.9 kB / 0.5192 GB, free: 11.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4051, allocations: 4 kB / 0.5192 GB, free: 11.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.4055, allocations: 63.02 kB / 0.5192 GB, free: 11.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (P.x_scaled[1],P.x_scaled[2],H.x_scaled[1],H.x_scaled[2],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 (19): * Single equations (assignments): 18 * 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 0.0001003/0.4056, allocations: 109.4 kB / 0.5193 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.4063, allocations: 400 kB / 0.5197 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4063, allocations: 0 / 0.5197 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.4066, allocations: 260.8 kB / 0.52 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.4071, allocations: 56.14 kB / 0.52 GB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4084, allocations: 0.7044 MB / 0.5207 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.4086, allocations: 0.8094 MB / 0.5215 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.4088, allocations: 68.23 kB / 0.5215 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.4088, allocations: 21.95 kB / 0.5216 GB, free: 9.977 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4088, allocations: 0 / 0.5216 GB, free: 9.977 MB / 382.1 MB Notification: Performance of Templates: time 0.008407/0.4173, allocations: 3.591 MB / 0.5251 GB, free: 9.758 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation_simple_lead_lag.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.102167586795986] Failed to read output from testmodel.py, exit status != 0: 0.42549256794154644 0.436495744 0.28951279500000004 Calling exit ...