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.001172/0.001172, allocations: 79.69 kB / 20.8 MB, free: 3.73 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.001428/0.001428, allocations: 162 kB / 24.09 MB, free: 452 kB / 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.9212/0.9212, allocations: 177.1 MB / 204.4 MB, free: 5.715 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.06349/0.06349, allocations: 18.12 MB / 279 MB, free: 11.5 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 2.424e-06/2.424e-06, allocations: 0 / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.596e-05/3.838e-05, allocations: 2.281 kB / 416.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.003615/0.003653, allocations: 1.868 MB / 418.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004973, allocations: 0.5915 MB / 419 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.005159, allocations: 9.312 kB / 419 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.005562, allocations: 50.06 kB / 419.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.005784, allocations: 55.5 kB / 419.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.006239, allocations: 152.1 kB / 419.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.006626, allocations: 244.3 kB / 419.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.006782, allocations: 47.25 kB / 419.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.007075, allocations: 96.86 kB / 419.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.007283, allocations: 100.1 kB / 419.7 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.007324, allocations: 17.31 kB / 419.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.886e-05/0.007353, allocations: 19.09 kB / 419.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.007431, allocations: 71.38 kB / 419.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.007495, allocations: 54.89 kB / 419.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.007759, allocations: 209.4 kB / 420.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.007763, allocations: 3.938 kB / 420.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.007765, allocations: 0 / 420.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.007771, allocations: 0.5938 kB / 420.1 MB, free: 10.18 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.0008813/0.008652, allocations: 0.5049 MB / 420.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.008698, allocations: 15 kB / 420.6 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.008761, allocations: 25.27 kB / 420.7 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.009179, allocations: 261.5 kB / 420.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.009205, allocations: 15.56 kB / 420.9 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.009249, allocations: 16.36 kB / 420.9 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.009548, allocations: 203.2 kB / 421.1 MB, free: 9.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.00956, allocations: 4.188 kB / 421.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.009581, allocations: 6.469 kB / 421.2 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.00959, allocations: 11.12 kB / 421.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.009852, allocations: 152.2 kB / 421.3 MB, free: 9.434 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.01065, allocations: 0.6306 MB / 421.9 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.01109, allocations: 212.6 kB / 422.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.01121, allocations: 77.92 kB / 422.2 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.01124, allocations: 2.562 kB / 422.2 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.01126, allocations: 40.34 kB / 422.3 MB, free: 8.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.512e-06/0.01126, allocations: 3.938 kB / 422.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004947/0.01176, allocations: 264.4 kB / 422.5 MB, free: 8.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.01179, allocations: 57.56 kB / 422.6 MB, free: 8.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.01213, allocations: 289.2 kB / 422.9 MB, free: 8.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.01215, allocations: 30.77 kB / 422.9 MB, free: 8.434 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.01222, allocations: 145.7 kB / 423 MB, free: 8.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.01226, allocations: 74.95 kB / 423.1 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.01232, allocations: 53.86 kB / 423.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.01238, allocations: 336.9 kB / 423.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.01249, allocations: 69.59 kB / 423.6 MB, free: 7.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.01263, allocations: 134.1 kB / 423.7 MB, free: 7.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009097/0.01354, allocations: 461.1 kB / 424.1 MB, free: 7.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01354, allocations: 4 kB / 424.2 MB, free: 7.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003388/0.01388, allocations: 281.4 kB / 424.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.0139, allocations: 7.062 kB / 424.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.0139, allocations: 2.719 kB / 424.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.01392, allocations: 1.688 kB / 424.4 MB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.0141, allocations: 69.47 kB / 424.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.01411, allocations: 2.938 kB / 424.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.01425, allocations: 51.03 kB / 424.6 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.01426, allocations: 8.062 kB / 424.6 MB, free: 7.43 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.0001368/0.0144, allocations: 145.1 kB / 424.7 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01443, allocations: 21.86 kB / 424.7 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.01474, allocations: 238.1 kB / 425 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.01475, allocations: 2.938 kB / 425 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.01476, allocations: 0 / 425 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.01477, allocations: 6.641 kB / 425 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.01495, allocations: 211.8 kB / 425.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.01495, allocations: 0 / 425.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.01511, allocations: 50 kB / 425.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01512, allocations: 1.188 kB / 425.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.01513, allocations: 2.844 kB / 425.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.01513, allocations: 1.188 kB / 425.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01514, allocations: 0.75 kB / 425.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004251/0.01556, allocations: 420.1 kB / 425.6 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.01559, allocations: 25.89 kB / 425.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.01562, allocations: 7.531 kB / 425.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.01577, allocations: 29.48 kB / 425.7 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.01585, allocations: 25.45 kB / 425.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.01586, allocations: 4.656 kB / 425.7 MB, free: 6.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002497/0.01611, allocations: 222.4 kB / 425.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01611, allocations: 0 / 425.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.01633, allocations: 35.44 kB / 426 MB, free: 6.602 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 8.861e-05/0.01642, allocations: 99.98 kB / 426.1 MB, free: 6.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003183/0.01674, allocations: 182 kB / 426.3 MB, free: 6.457 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01674, allocations: 5.469 kB / 426.3 MB, free: 6.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.01687, allocations: 95.23 kB / 426.4 MB, free: 6.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.01712, allocations: 33.36 kB / 426.4 MB, free: 6.406 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.01785, allocations: 495.3 kB / 426.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.01797, allocations: 146.5 kB / 427 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.729e-05/0.01807, allocations: 37.44 kB / 427.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.01812, allocations: 25.91 kB / 427.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01812, allocations: 0 / 427.1 MB, free: 6.016 MB / 330.7 MB Notification: Performance of Templates: time 0.004643/0.02277, allocations: 2.212 MB / 429.3 MB, free: 5.773 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.0400584982708097] Failed to read output from testmodel.py, exit status != 0: 0.030615306459367275 0.041245831000000004 0.031016199 Calling exit ...