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.001009/0.001009, allocations: 78.66 kB / 21.46 MB, free: 3.039 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.001068/0.001068, allocations: 168.7 kB / 24.86 MB, free: 9.273 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 1.061/1.061, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.07399/0.07399, allocations: 18.14 MB / 280 MB, free: 11.14 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.513e-06/1.513e-06, allocations: 0 / 358.5 MB, free: 7.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.259e-05, allocations: 2.312 kB / 358.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.FF_compensation): time 0.005937/0.005959, allocations: 1.912 MB / 360.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004075/0.01003, allocations: 0.6116 MB / 361.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.01014, allocations: 4 kB / 361.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.01043, allocations: 55.45 kB / 361.1 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.01059, allocations: 47.7 kB / 361.2 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.01089, allocations: 155.7 kB / 361.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.01117, allocations: 251.9 kB / 361.6 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.01129, allocations: 44.48 kB / 361.6 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.01141, allocations: 99.72 kB / 361.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.01157, allocations: 107.7 kB / 361.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/0.0116, allocations: 16 kB / 361.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.862e-05/0.01163, allocations: 20 kB / 361.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.01171, allocations: 63.8 kB / 361.9 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.01177, allocations: 59.77 kB / 362 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.01195, allocations: 143.4 kB / 362.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01196, allocations: 0 / 362.1 MB, free: 3.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01196, allocations: 3.938 kB / 362.1 MB, free: 3.898 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.576e-06/0.01196, allocations: 0 / 362.1 MB, free: 3.898 MB / 282.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.000737/0.0127, allocations: 0.5658 MB / 362.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.01273, allocations: 8.922 kB / 362.7 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.506e-05/0.01279, allocations: 36.8 kB / 362.7 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.01611, allocations: 224.6 kB / 363 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.01614, allocations: 16.36 kB / 363 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.01617, allocations: 20.38 kB / 363 MB, free: 2.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.01641, allocations: 157.2 kB / 363.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.01642, allocations: 192 / 363.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.01644, allocations: 4.375 kB / 363.1 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.01644, allocations: 7.938 kB / 363.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.01659, allocations: 76.23 kB / 363.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007638/0.01736, allocations: 0.6969 MB / 363.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.01765, allocations: 135.1 kB / 364.1 MB, free: 1.832 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.053e-05/0.01772, allocations: 50.73 kB / 364.1 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.01774, allocations: 7.953 kB / 364.1 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.01777, allocations: 37.39 kB / 364.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.523e-06/0.01777, allocations: 0 / 364.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003063/0.01807, allocations: 149.5 kB / 364.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.01811, allocations: 59.36 kB / 364.4 MB, free: 1.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.0183, allocations: 276.2 kB / 364.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.01832, allocations: 33.7 kB / 364.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.01841, allocations: 195.1 kB / 364.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.01846, allocations: 75.36 kB / 364.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.988e-05/0.01854, allocations: 67.28 kB / 365 MB, free: 0.832 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.003261/0.02181, allocations: 0.5078 MB / 365.5 MB, free: 320 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.02187, allocations: 32.25 kB / 365.5 MB, free: 284 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.82e-05/0.02197, allocations: 106.3 kB / 365.6 MB, free: 148 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.02221, allocations: 182.5 kB / 365.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.02221, allocations: 4 kB / 365.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002712/0.02248, allocations: 190 kB / 366 MB, free: 15.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.02249, allocations: 4 kB / 366 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.0225, allocations: 4 kB / 366 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.02251, allocations: 0 / 366 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.02275, allocations: 67.91 kB / 366.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.02276, allocations: 3.938 kB / 366.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.02289, allocations: 36.02 kB / 366.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.02291, allocations: 7.984 kB / 366.1 MB, free: 15.62 MB / 298.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.iTS,PI.iNoInc,PI.iNoDec) * 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.0001444/0.02305, allocations: 172.5 kB / 366.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.0231, allocations: 27.86 kB / 366.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.02335, allocations: 159.6 kB / 366.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.02335, allocations: 4 kB / 366.5 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.02335, allocations: 4 kB / 366.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.02335, allocations: 0 / 366.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.02357, allocations: 173 kB / 366.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.02357, allocations: 0 / 366.6 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.02379, allocations: 47.97 kB / 366.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.02379, allocations: 0 / 366.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.02381, allocations: 4 kB / 366.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.02381, allocations: 0 / 366.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.02381, allocations: 0 / 366.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.02416, allocations: 342.1 kB / 367 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.485e-05/0.0242, allocations: 35.78 kB / 367.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.02423, allocations: 8 kB / 367.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.02435, allocations: 7.984 kB / 367.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.0244, allocations: 15.97 kB / 367.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.02441, allocations: 4 kB / 367.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.02452, allocations: 189 kB / 367.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02452, allocations: 0 / 367.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003313/0.02784, allocations: 40 kB / 367.3 MB, free: 14.36 MB / 298.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 9.147e-05/0.02793, allocations: 115.1 kB / 367.4 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.02813, allocations: 103.6 kB / 367.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02813, allocations: 0 / 367.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.02822, allocations: 67.52 kB / 367.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.02854, allocations: 41.89 kB / 367.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.02924, allocations: 465 kB / 368.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.373e-05/0.02931, allocations: 96.16 kB / 368.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.912e-05/0.02939, allocations: 21.95 kB / 368.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.02952, allocations: 106.2 kB / 368.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02952, allocations: 0 / 368.3 MB, free: 13.31 MB / 298.7 MB Notification: Performance of Templates: time 0.009533/0.03906, allocations: 2.458 MB / 370.8 MB, free: 10.87 MB / 298.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=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.FF_compensation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.979992845095694]