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.004563/0.004563, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001087/0.001087, allocations: 198.2 kB / 16.79 MB, free: 5.809 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.317/1.317, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1947/0.1947, allocations: 22.36 MB / 313 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 68.11 kB / 381.5 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 54.93 MB / 436.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.00242/0.2707, allocations: 1.881 MB / 438.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.2715, allocations: 0.5853 MB / 438.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.2716, allocations: 2.469 kB / 438.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.2718, allocations: 20.81 kB / 438.9 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.272, allocations: 30.48 kB / 438.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002268/0.2722, allocations: 107.3 kB / 439 MB, free: 38.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.2724, allocations: 207.6 kB / 439.2 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2725, allocations: 52.64 kB / 439.3 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.2726, allocations: 73.23 kB / 439.3 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2728, allocations: 91.39 kB / 439.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.2728, allocations: 10.38 kB / 439.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.518e-05/0.2728, allocations: 8.469 kB / 439.4 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.514e-05/0.2729, allocations: 45.28 kB / 439.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.273, allocations: 68.25 kB / 439.6 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2731, allocations: 137.8 kB / 439.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2731, allocations: 0 / 439.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2731, allocations: 0 / 439.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.2731, allocations: 0 / 439.7 MB, free: 37.86 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.0009216/0.2741, allocations: 0.52 MB / 440.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.2741, allocations: 15.12 kB / 440.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.2742, allocations: 25.31 kB / 440.2 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.2746, allocations: 271 kB / 440.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2746, allocations: 10.48 kB / 440.5 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.2746, allocations: 13.03 kB / 440.5 MB, free: 37.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2749, allocations: 175.4 kB / 440.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2749, allocations: 0 / 440.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.2749, allocations: 4 kB / 440.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.275, allocations: 2.875 kB / 440.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.2752, allocations: 121.6 kB / 440.8 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.276, allocations: 0.5396 MB / 441.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.2765, allocations: 188.2 kB / 441.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2766, allocations: 66.05 kB / 441.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.2766, allocations: 2.781 kB / 441.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.2766, allocations: 38.5 kB / 441.7 MB, free: 36.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.2766, allocations: 2.812 kB / 441.7 MB, free: 36.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001401/0.2781, allocations: 0.5339 MB / 442.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2781, allocations: 80.02 kB / 442.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003119/0.2784, allocations: 214.9 kB / 442.5 MB, free: 36.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.2784, allocations: 33.2 kB / 442.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.2785, allocations: 128.1 kB / 442.6 MB, free: 35.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.2786, allocations: 55.42 kB / 442.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.2786, allocations: 32.89 kB / 442.7 MB, free: 35.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.2787, allocations: 330 kB / 443.1 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.2788, allocations: 62.31 kB / 443.1 MB, free: 35.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.2789, allocations: 89.73 kB / 443.2 MB, free: 35.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.2792, allocations: 147.4 kB / 443.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.2792, allocations: 0 / 443.3 MB, free: 35.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002951/0.2795, allocations: 190.7 kB / 443.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2795, allocations: 5.125 kB / 443.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2795, allocations: 0 / 443.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2795, allocations: 3.969 kB / 443.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2798, allocations: 47.52 kB / 443.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2798, allocations: 2.812 kB / 443.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.28, allocations: 29.86 kB / 443.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.28, allocations: 10.75 kB / 443.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001203/0.2801, allocations: 147.2 kB / 443.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.991e-05/0.2802, allocations: 70.08 kB / 443.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000144/0.2804, allocations: 126.6 kB / 444 MB, free: 35.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.92e-07/0.2804, allocations: 0 / 444 MB, free: 35.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0002249/0.2806, allocations: 166.1 kB / 444.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.2806, allocations: 8.969 kB / 444.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-06/0.2806, allocations: 0 / 444.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.667e-06/0.2806, allocations: 2.938 kB / 444.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.2808, allocations: 43.3 kB / 444.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-06/0.2809, allocations: 0 / 444.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.281, allocations: 19.12 kB / 444.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2811, allocations: 12.48 kB / 444.2 MB, free: 34.95 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 8.57e-05/0.2811, allocations: 192.1 kB / 444.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.2812, allocations: 15.94 kB / 444.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00065/0.2818, allocations: 278.9 kB / 444.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2819, allocations: 2.25 kB / 444.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2819, allocations: 0 / 444.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2819, allocations: 0 / 444.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.2821, allocations: 273 kB / 445 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2822, allocations: 3.938 kB / 445 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.2823, allocations: 14.05 kB / 445 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.2826, allocations: 86.33 kB / 445.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2827, allocations: 7.422 kB / 445.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.2842, allocations: 1.711 MB / 446.8 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2842, allocations: 3.938 kB / 446.8 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.2849, allocations: 443.1 kB / 447.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.285, allocations: 90.67 kB / 447.3 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.285, allocations: 6.812 kB / 447.3 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.2852, allocations: 25.25 kB / 447.3 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.2853, allocations: 9.125 kB / 447.3 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.2853, allocations: 6.875 kB / 447.3 MB, free: 32.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.2855, allocations: 174.9 kB / 447.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2855, allocations: 0 / 447.5 MB, free: 32.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003449/0.2859, allocations: 58.44 kB / 447.6 MB, free: 32.43 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.353e-05/0.286, allocations: 103.4 kB / 447.7 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003924/0.2864, allocations: 211.4 kB / 447.9 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2864, allocations: 4.125 kB / 447.9 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.2867, allocations: 202.7 kB / 448.1 MB, free: 32.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.287, allocations: 31.61 kB / 448.1 MB, free: 32.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.2877, allocations: 480.7 kB / 448.6 MB, free: 31.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.2879, allocations: 0.738 MB / 449.3 MB, free: 31.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.2879, allocations: 19.25 kB / 449.3 MB, free: 31.08 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2879, allocations: 0 / 449.3 MB, free: 31.08 MB / 350.1 MB Notification: Performance of Templates: time 0.003568/0.2915, allocations: 2.467 MB / 451.8 MB, free: 30.9 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)