Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.FF_compensation.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.0007314/0.0007314, allocations: 80.47 kB / 20.71 MB, free: 3.848 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.0007982/0.0007982, allocations: 169.2 kB / 23.98 MB, free: 0.5664 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.8857/0.8857, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.05978/0.05978, allocations: 18.13 MB / 278.8 MB, free: 11.53 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.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") translateModel(AES.Coursework.Typical_control_structures.FF_compensation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.FF_compensation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 416.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.234e-05, allocations: 2.984 kB / 416.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.001827/0.00185, allocations: 1.873 MB / 418.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000727/0.002577, allocations: 0.5879 MB / 418.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.002657, allocations: 5.031 kB / 418.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.002924, allocations: 57.94 kB / 418.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.003052, allocations: 55.06 kB / 418.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.003284, allocations: 156.2 kB / 419 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.00351, allocations: 245.5 kB / 419.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.003614, allocations: 35.11 kB / 419.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.553e-05/0.00371, allocations: 96.19 kB / 419.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.00385, allocations: 103.7 kB / 419.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.003887, allocations: 18.53 kB / 419.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.105e-05/0.003908, allocations: 18.19 kB / 419.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.003974, allocations: 68.69 kB / 419.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.004023, allocations: 58.31 kB / 419.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004218, allocations: 205.5 kB / 419.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00422, allocations: 5.312 kB / 419.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004221, allocations: 0 / 419.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004225, allocations: 0 / 419.9 MB, free: 10.34 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007492/0.004974, allocations: 0.5162 MB / 420.4 MB, free: 9.973 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.005004, allocations: 10.27 kB / 420.4 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.005045, allocations: 25.64 kB / 420.4 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.005397, allocations: 253 kB / 420.7 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.005419, allocations: 15.19 kB / 420.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.005455, allocations: 21.94 kB / 420.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.005723, allocations: 198.6 kB / 420.9 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.005734, allocations: 192 / 420.9 MB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.005748, allocations: 7.188 kB / 420.9 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005755, allocations: 6.875 kB / 420.9 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.005989, allocations: 151.7 kB / 421.1 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.006693, allocations: 0.6331 MB / 421.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.007072, allocations: 220.5 kB / 421.9 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.007175, allocations: 80.67 kB / 422 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.007199, allocations: 2.781 kB / 422 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.007214, allocations: 37.62 kB / 422 MB, free: 8.957 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.193e-06/0.007215, allocations: 0 / 422 MB, free: 8.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004379/0.007653, allocations: 263.6 kB / 422.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.007678, allocations: 58.58 kB / 422.3 MB, free: 8.781 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.007986, allocations: 284.7 kB / 422.6 MB, free: 8.637 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.007999, allocations: 31.05 kB / 422.7 MB, free: 8.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.008066, allocations: 149.9 kB / 422.8 MB, free: 8.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.008102, allocations: 74.41 kB / 422.9 MB, free: 8.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.008156, allocations: 61.86 kB / 422.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.008197, allocations: 333 kB / 423.3 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.777e-05/0.008295, allocations: 73.55 kB / 423.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.008403, allocations: 124.7 kB / 423.5 MB, free: 7.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.009208, allocations: 467.9 kB / 423.9 MB, free: 7.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.009211, allocations: 1.094 kB / 423.9 MB, free: 7.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003068/0.009518, allocations: 277.8 kB / 424.2 MB, free: 7.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.009532, allocations: 7.297 kB / 424.2 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.009537, allocations: 1.188 kB / 424.2 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.009552, allocations: 4 kB / 424.2 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.009705, allocations: 72.47 kB / 424.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.009712, allocations: 4.016 kB / 424.3 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.009834, allocations: 46.44 kB / 424.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.009847, allocations: 7.875 kB / 424.3 MB, free: 7.598 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: M.y:VARIABLE(flow=false start = M.y_start fixed = true ) \"Connector of Real output signal\" type: Real PI.xfb:VARIABLE(fixed = true ) type: Real 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: 7 * Number of states: 0 () * Number of discrete variables: 5 (PI.LOsat,PI.HIsat,PI.iNoDec,PI.iNoInc,PI.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.009958, allocations: 154.9 kB / 424.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.009984, allocations: 21.2 kB / 424.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.01027, allocations: 231.1 kB / 424.7 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.01027, allocations: 7.609 kB / 424.7 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01027, allocations: 1 kB / 424.7 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01028, allocations: 5.016 kB / 424.7 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.01045, allocations: 215.6 kB / 424.9 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01045, allocations: 1.156 kB / 424.9 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.01059, allocations: 40.75 kB / 425 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01059, allocations: 1.031 kB / 425 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01061, allocations: 11.88 kB / 425 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01061, allocations: 5.719 kB / 425 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01061, allocations: 1.031 kB / 425 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.01095, allocations: 411.9 kB / 425.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.01098, allocations: 25.97 kB / 425.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.011, allocations: 4.062 kB / 425.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.01112, allocations: 34.16 kB / 425.5 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.01117, allocations: 24.59 kB / 425.5 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.01117, allocations: 8.078 kB / 425.5 MB, free: 6.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.01139, allocations: 214.3 kB / 425.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01139, allocations: 1.094 kB / 425.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001796/0.01157, allocations: 42.47 kB / 425.8 MB, free: 6.762 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (M.y,C.x_scaled[1],P.x_scaled[1],PI.xfb,PI.xBias,PI.u,PI.csfil) * Number of discrete variables: 2 (PI.HIsat,PI.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.847e-05/0.01164, allocations: 112.6 kB / 425.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.0119, allocations: 183.2 kB / 426 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0119, allocations: 0 / 426 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.012, allocations: 91.47 kB / 426.1 MB, free: 6.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.01222, allocations: 37.58 kB / 426.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000617/0.01284, allocations: 0.513 MB / 426.7 MB, free: 6.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.214e-05/0.01293, allocations: 147.1 kB / 426.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.01299, allocations: 23.95 kB / 426.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01299, allocations: 4 kB / 426.8 MB, free: 6.141 MB / 330.7 MB Notification: Performance of Templates: time 0.003554/0.01655, allocations: 2.906 MB / 429.8 MB, free: 5.93 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.FF_compensation.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.FF_compensation.sim & ./AES_AES.Coursework.Typical_control_structures.FF_compensation -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.343251674436033] Failed to read output from testmodel.py, exit status != 0: 0.0209525590762496 0.02785697 0.022100599000000002 Calling exit ...