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.00151/0.00151, allocations: 83.03 kB / 19.96 MB, free: 1.754 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.001526/0.001526, allocations: 162.8 kB / 23.23 MB, free: 4.891 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.486/1.486, allocations: 177.1 MB / 203.5 MB, free: 9.176 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.1071/0.1071, allocations: 18.13 MB / 278.1 MB, free: 15.06 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,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.054e-06/2.054e-06, allocations: 0 / 415.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.384e-05/3.59e-05, allocations: 4.391 kB / 415.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.005694/0.00573, allocations: 1.878 MB / 417.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.00783, allocations: 0.5884 MB / 418 MB, free: 88 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.007988, allocations: 7.938 kB / 418 MB, free: 80 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.008464, allocations: 59.44 kB / 418.1 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.008811, allocations: 47.72 kB / 418.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.00955, allocations: 151.7 kB / 418.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.01013, allocations: 248 kB / 418.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.01031, allocations: 36.56 kB / 418.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.01055, allocations: 95.72 kB / 418.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.01086, allocations: 103.7 kB / 418.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.232e-05/0.01093, allocations: 20 kB / 418.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.01099, allocations: 19.94 kB / 418.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.01114, allocations: 59.81 kB / 418.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.01129, allocations: 67.75 kB / 418.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.01174, allocations: 207.2 kB / 419.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01174, allocations: 0 / 419.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01175, allocations: 0 / 419.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.01175, allocations: 3.938 kB / 419.1 MB, free: 14.98 MB / 350.1 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.00235/0.0141, allocations: 0.5128 MB / 419.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.01415, allocations: 8.922 kB / 419.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.01427, allocations: 24.8 kB / 419.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.0154, allocations: 268.6 kB / 419.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.01544, allocations: 12.38 kB / 420 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.01552, allocations: 20.38 kB / 420 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006833/0.0162, allocations: 192.5 kB / 420.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.01622, allocations: 192 / 420.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.01626, allocations: 8.375 kB / 420.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.01628, allocations: 7.938 kB / 420.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.017, allocations: 155.8 kB / 420.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.01887, allocations: 0.6176 MB / 420.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/0.01985, allocations: 222.6 kB / 421.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.02016, allocations: 76.83 kB / 421.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.612e-05/0.02021, allocations: 7.984 kB / 421.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.02025, allocations: 34.56 kB / 421.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.274e-06/0.02025, allocations: 0 / 421.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001122/0.02137, allocations: 264.7 kB / 421.5 MB, free: 12.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.02145, allocations: 63.28 kB / 421.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/0.02244, allocations: 285.6 kB / 421.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.02249, allocations: 25.7 kB / 421.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.02267, allocations: 156.3 kB / 422.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.02279, allocations: 75.38 kB / 422.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.02294, allocations: 53.66 kB / 422.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002423/0.02319, allocations: 338.8 kB / 422.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.02349, allocations: 64.25 kB / 422.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.02389, allocations: 127 kB / 422.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.02672, allocations: 466.8 kB / 423.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.02672, allocations: 0 / 423.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009739/0.0277, allocations: 283.4 kB / 423.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.02772, allocations: 10.06 kB / 423.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.02773, allocations: 0 / 423.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.02775, allocations: 4 kB / 423.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.02833, allocations: 63.84 kB / 423.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.02834, allocations: 4 kB / 423.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005391/0.02888, allocations: 51.73 kB / 423.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.02892, allocations: 12 kB / 423.6 MB, free: 10.3 MB / 350.1 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.0003092/0.02923, allocations: 149.8 kB / 423.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.02932, allocations: 19.86 kB / 423.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008511/0.03017, allocations: 238.4 kB / 424 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.03018, allocations: 7.938 kB / 424 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.03019, allocations: 0 / 424 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.0302, allocations: 7.922 kB / 424 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.03072, allocations: 213.1 kB / 424.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.03072, allocations: 0 / 424.2 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/0.03129, allocations: 39.98 kB / 424.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.0313, allocations: 7.938 kB / 424.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.03133, allocations: 4 kB / 424.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.03134, allocations: 4 kB / 424.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.03135, allocations: 3.984 kB / 424.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.03242, allocations: 399 kB / 424.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/0.0325, allocations: 31.78 kB / 424.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.03256, allocations: 4 kB / 424.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/0.03308, allocations: 35.95 kB / 424.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.03317, allocations: 15.91 kB / 424.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.0332, allocations: 8 kB / 424.7 MB, free: 9.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007108/0.03391, allocations: 217.1 kB / 425 MB, free: 8.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.03391, allocations: 0 / 425 MB, free: 8.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.03442, allocations: 36 kB / 425 MB, free: 8.84 MB / 350.1 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 0.000157/0.03457, allocations: 111.1 kB / 425.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000623/0.0352, allocations: 186.6 kB / 425.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.0352, allocations: 0 / 425.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002883/0.03549, allocations: 99.77 kB / 425.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.03605, allocations: 28.48 kB / 425.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.03752, allocations: 0.4938 MB / 425.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.03773, allocations: 150.2 kB / 426 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.03791, allocations: 33.94 kB / 426.1 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.03803, allocations: 24.5 kB / 426.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.03803, allocations: 0 / 426.1 MB, free: 7.672 MB / 350.1 MB Notification: Performance of Templates: time 0.00792/0.04595, allocations: 2.204 MB / 428.3 MB, free: 5.488 MB / 350.1 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.54634603112936] Failed to read output from testmodel.py, exit status != 0: 0.05874016880989075 0.071120637 0.056044479 Calling exit ...