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.0007703/0.0007703, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008661/0.0008661, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.336/1.336, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2104/0.2104, allocations: 22.34 MB / 314.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 8 kB / 384 MB, free: 9.477 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2683, allocations: 55.97 MB / 439.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.001734/0.27, allocations: 1.525 MB / 441.4 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007735/0.2708, allocations: 0.577 MB / 442 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.2709, allocations: 6.969 kB / 442 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.2712, allocations: 20.19 kB / 442.1 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2714, allocations: 30.73 kB / 442.1 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.2716, allocations: 102.6 kB / 442.2 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.2718, allocations: 199.4 kB / 442.4 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.2719, allocations: 59 kB / 442.4 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.601e-05/0.272, allocations: 65.53 kB / 442.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2722, allocations: 77.81 kB / 442.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.2722, allocations: 7.281 kB / 442.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.2722, allocations: 5.938 kB / 442.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.2723, allocations: 48.66 kB / 442.6 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.405e-05/0.2724, allocations: 87.61 kB / 442.7 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.2725, allocations: 128 kB / 442.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2725, allocations: 2.812 kB / 442.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2725, allocations: 0 / 442.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.2725, allocations: 0 / 442.8 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.0008487/0.2734, allocations: 0.4922 MB / 443.3 MB, free: 37.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.2734, allocations: 12.62 kB / 443.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.2735, allocations: 24.5 kB / 443.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2739, allocations: 272.4 kB / 443.6 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2739, allocations: 10.55 kB / 443.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.2739, allocations: 11.31 kB / 443.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.2742, allocations: 176.8 kB / 443.8 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2742, allocations: 6.844 kB / 443.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.2742, allocations: 0 / 443.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2742, allocations: 2.906 kB / 443.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.2745, allocations: 128.1 kB / 444 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.2752, allocations: 0.5497 MB / 444.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.2758, allocations: 208.1 kB / 444.7 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.2759, allocations: 69.67 kB / 444.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.2759, allocations: 2.594 kB / 444.8 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2759, allocations: 41.34 kB / 444.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.2759, allocations: 0 / 444.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001517/0.2775, allocations: 0.5994 MB / 445.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2775, allocations: 77.11 kB / 445.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.2778, allocations: 215 kB / 445.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2778, allocations: 29.7 kB / 445.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.2779, allocations: 127.1 kB / 445.9 MB, free: 36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.2779, allocations: 52.28 kB / 445.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.278, allocations: 22.56 kB / 445.9 MB, free: 35.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.278, allocations: 329 kB / 446.3 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.2782, allocations: 65.7 kB / 446.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2783, allocations: 91.12 kB / 446.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.2785, allocations: 153.2 kB / 446.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2786, allocations: 0 / 446.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003066/0.2789, allocations: 199.9 kB / 446.8 MB, free: 35.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.2789, allocations: 103.8 kB / 446.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2789, allocations: 3.125 kB / 446.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2789, allocations: 0 / 446.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.2792, allocations: 49.25 kB / 446.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2792, allocations: 4 kB / 446.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2794, allocations: 29.33 kB / 447 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2794, allocations: 7.156 kB / 447 MB, free: 35.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.5e-06/0.2794, allocations: 5.594 kB / 447 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001793/0.2796, allocations: 124.1 kB / 447.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.2796, allocations: 3.031 kB / 447.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/0.2796, allocations: 3.984 kB / 447.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.2798, allocations: 39.06 kB / 447.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.2798, allocations: 2.688 kB / 447.1 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.28, allocations: 33.61 kB / 447.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.28, allocations: 2.938 kB / 447.2 MB, free: 35.2 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.509e-05/0.2801, allocations: 215 kB / 447.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.2801, allocations: 13.41 kB / 447.4 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006601/0.2808, allocations: 304.4 kB / 447.7 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2808, allocations: 6.844 kB / 447.7 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2808, allocations: 4 kB / 447.7 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2808, allocations: 0 / 447.7 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.2811, allocations: 259.5 kB / 448 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2811, allocations: 0 / 448 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.2812, allocations: 21.61 kB / 448 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003232/0.2815, allocations: 99.48 kB / 448.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2815, allocations: 0 / 448.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.2831, allocations: 1.767 MB / 449.8 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2832, allocations: 3.938 kB / 449.8 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.2839, allocations: 467.6 kB / 450.3 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.2839, allocations: 97.7 kB / 450.4 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.284, allocations: 6.812 kB / 450.4 MB, free: 32.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.2842, allocations: 28 kB / 450.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.2842, allocations: 17.34 kB / 450.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2843, allocations: 2.656 kB / 450.4 MB, free: 32.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.2845, allocations: 167.7 kB / 450.6 MB, free: 32.67 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2845, allocations: 0 / 450.6 MB, free: 32.67 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.2849, allocations: 55.06 kB / 450.7 MB, free: 32.66 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 8.596e-05/0.285, allocations: 110 kB / 450.8 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003786/0.2853, allocations: 220.2 kB / 451 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2854, allocations: 0 / 451 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.2856, allocations: 215.5 kB / 451.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.286, allocations: 28.47 kB / 451.2 MB, free: 32.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.2866, allocations: 0.4926 MB / 451.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.2867, allocations: 0.7346 MB / 452.5 MB, free: 31.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.2868, allocations: 17.3 kB / 452.5 MB, free: 31.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2868, allocations: 0 / 452.5 MB, free: 31.31 MB / 350.1 MB Notification: Performance of Templates: time 0.003385/0.2902, allocations: 2.451 MB / 454.9 MB, free: 31.15 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)