Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Keep_below_limit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") translateModel(AES.Coursework.Typical_control_structures.Keep_below_limit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Keep_below_limit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 107.4 kB / 15.22 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001733, allocations: 198.2 kB / 16.14 MB, free: 6.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2085/0.2085, allocations: 22.34 MB / 312.3 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 380.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2808, allocations: 54.94 MB / 435.7 MB, free: 40.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.004154/0.285, allocations: 1.883 MB / 437.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2864, allocations: 0.5875 MB / 438.2 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.2867, allocations: 2.625 kB / 438.2 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.2871, allocations: 19.33 kB / 438.2 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.2873, allocations: 33.47 kB / 438.2 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.2876, allocations: 100.2 kB / 438.3 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.2879, allocations: 209.7 kB / 438.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.2881, allocations: 61 kB / 438.6 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.2882, allocations: 67.66 kB / 438.7 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2884, allocations: 93.17 kB / 438.7 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.315e-05/0.2884, allocations: 8.812 kB / 438.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.924e-05/0.2884, allocations: 10.16 kB / 438.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.211e-05/0.2885, allocations: 44.88 kB / 438.8 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.969e-05/0.2886, allocations: 65.88 kB / 438.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2888, allocations: 179.5 kB / 439.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2889, allocations: 0 / 439.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2889, allocations: 0 / 439.1 MB, free: 37.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2889, allocations: 0 / 439.1 MB, free: 37.95 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001083/0.29, allocations: 0.5151 MB / 439.6 MB, free: 37.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.29, allocations: 14.88 kB / 439.6 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.061e-05/0.2901, allocations: 20.91 kB / 439.6 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.2905, allocations: 281.5 kB / 439.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2906, allocations: 10.3 kB / 439.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.2906, allocations: 13.22 kB / 439.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.2909, allocations: 173.1 kB / 440.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2909, allocations: 3.938 kB / 440.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.2909, allocations: 4 kB / 440.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.291, allocations: 2.688 kB / 440.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.2912, allocations: 122.3 kB / 440.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008442/0.2921, allocations: 0.5339 MB / 440.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.2926, allocations: 188.4 kB / 440.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2927, allocations: 67.66 kB / 441 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.2927, allocations: 2.875 kB / 441 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2928, allocations: 38.5 kB / 441 MB, free: 36.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2928, allocations: 0 / 441 MB, free: 36.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001391/0.2942, allocations: 0.5317 MB / 441.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.2942, allocations: 80.08 kB / 441.6 MB, free: 36.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.2945, allocations: 213.5 kB / 441.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2945, allocations: 32.36 kB / 441.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.2946, allocations: 128.6 kB / 442 MB, free: 36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.2947, allocations: 48.86 kB / 442 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.2947, allocations: 35.66 kB / 442.1 MB, free: 35.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.2948, allocations: 328.7 kB / 442.4 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2949, allocations: 66.12 kB / 442.5 MB, free: 35.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.295, allocations: 85.16 kB / 442.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.2953, allocations: 146.4 kB / 442.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2953, allocations: 0 / 442.7 MB, free: 35.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000303/0.2956, allocations: 193.5 kB / 442.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2956, allocations: 7.312 kB / 442.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2957, allocations: 2.812 kB / 442.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2957, allocations: 0 / 442.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.2959, allocations: 47.89 kB / 442.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2959, allocations: 3.422 kB / 442.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.2961, allocations: 30.2 kB / 443 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.2961, allocations: 7.531 kB / 443 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001348/0.2963, allocations: 146.5 kB / 443.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.145e-05/0.2964, allocations: 75.17 kB / 443.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000154/0.2965, allocations: 126.6 kB / 443.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.61e-07/0.2965, allocations: 0 / 443.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002253/0.2968, allocations: 169 kB / 443.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.2968, allocations: 8.5 kB / 443.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-06/0.2968, allocations: 0 / 443.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-06/0.2968, allocations: 0 / 443.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.297, allocations: 37.44 kB / 443.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.297, allocations: 3.188 kB / 443.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.2972, allocations: 26.89 kB / 443.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2972, allocations: 3.094 kB / 443.6 MB, free: 35.05 MB / 350.1 MB 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 (16): * Single equations (assignments): 16 * 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 7.266e-05/0.2973, allocations: 194.2 kB / 443.7 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.2973, allocations: 16.81 kB / 443.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/0.2979, allocations: 285 kB / 444 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2979, allocations: 2.812 kB / 444 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2979, allocations: 0 / 444 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2979, allocations: 0 / 444 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.2982, allocations: 279.4 kB / 444.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2982, allocations: 3.938 kB / 444.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.266e-05/0.2983, allocations: 14.28 kB / 444.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000322/0.2986, allocations: 85.81 kB / 444.4 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.2986, allocations: 6.906 kB / 444.4 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.3001, allocations: 1.717 MB / 446.1 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3002, allocations: 0 / 446.1 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/0.3008, allocations: 429.7 kB / 446.6 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.3009, allocations: 94.08 kB / 446.7 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3009, allocations: 7 kB / 446.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3011, allocations: 25.48 kB / 446.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.3012, allocations: 8.953 kB / 446.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3012, allocations: 2.75 kB / 446.7 MB, free: 32.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002453/0.3014, allocations: 173.7 kB / 446.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3014, allocations: 0 / 446.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003412/0.3018, allocations: 57.97 kB / 446.9 MB, free: 32.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (C.FO.y,P.x_scaled[1],P.x_scaled[2]) * 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 (8): * Single equations (assignments): 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.196e-05/0.3019, allocations: 107 kB / 447 MB, free: 32.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.3023, allocations: 210.3 kB / 447.2 MB, free: 32.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3023, allocations: 0 / 447.2 MB, free: 32.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.3026, allocations: 213.4 kB / 447.4 MB, free: 32.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.3029, allocations: 24.47 kB / 447.5 MB, free: 32.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.3036, allocations: 455.9 kB / 447.9 MB, free: 31.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.3038, allocations: 0.7336 MB / 448.6 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3039, allocations: 30.88 kB / 448.7 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.3039, allocations: 15.31 kB / 448.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of SimCode: time 1.463e-06/0.3039, allocations: 0 / 448.7 MB, free: 31.21 MB / 350.1 MB Notification: Performance of Templates: time 0.004907/0.3088, allocations: 2.3 MB / 451 MB, free: 31.03 MB / 350.1 MB make -j1 -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.makefile (rm -f AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Keep_below_limit.sim & ./AES_AES.Coursework.Typical_control_structures.Keep_below_limit -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Keep_below_limit.pipe 2>&1)