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.0012/0.0012, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009638/0.009638, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2995/0.2995, allocations: 22.35 MB / 313.8 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004125, allocations: 8 kB / 383.3 MB, free: 9.488 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3424, allocations: 55.97 MB / 439.2 MB, free: 39.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Keep_below_limit): time 0.001689/0.3441, allocations: 1.531 MB / 440.8 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000864/0.345, allocations: 0.5768 MB / 441.4 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.545e-05/0.3451, allocations: 2.938 kB / 441.4 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.3454, allocations: 28.56 kB / 441.4 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.3455, allocations: 25.42 kB / 441.4 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.3458, allocations: 97.52 kB / 441.5 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.346, allocations: 205.2 kB / 441.7 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3461, allocations: 61.52 kB / 441.8 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.3462, allocations: 61.64 kB / 441.8 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3463, allocations: 86.94 kB / 441.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.3464, allocations: 7.062 kB / 441.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.3464, allocations: 7.188 kB / 441.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.161e-05/0.3465, allocations: 44.02 kB / 442 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.3465, allocations: 89.66 kB / 442.1 MB, free: 38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.3467, allocations: 162.6 kB / 442.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3467, allocations: 0 / 442.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3467, allocations: 0 / 442.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.3467, allocations: 0 / 442.2 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.0008261/0.3475, allocations: 0.4986 MB / 442.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3476, allocations: 12.91 kB / 442.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.3476, allocations: 20.84 kB / 442.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003823/0.348, allocations: 273 kB / 443 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.348, allocations: 7.172 kB / 443 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.3481, allocations: 14.72 kB / 443 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002708/0.3484, allocations: 174.1 kB / 443.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3484, allocations: 4 kB / 443.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.3484, allocations: 7 kB / 443.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3484, allocations: 6.938 kB / 443.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.3487, allocations: 127.7 kB / 443.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.3494, allocations: 0.5404 MB / 443.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004938/0.3499, allocations: 204.6 kB / 444.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3501, allocations: 73.84 kB / 444.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.3501, allocations: 3.469 kB / 444.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.3501, allocations: 37.66 kB / 444.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.3501, allocations: 0 / 444.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001505/0.3516, allocations: 0.5984 MB / 444.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3517, allocations: 77.11 kB / 444.9 MB, free: 36.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.352, allocations: 226.4 kB / 445.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.352, allocations: 25.7 kB / 445.1 MB, free: 36.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.3521, allocations: 131.2 kB / 445.2 MB, free: 35.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.3521, allocations: 44.45 kB / 445.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/0.3521, allocations: 16.72 kB / 445.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.3522, allocations: 335.2 kB / 445.6 MB, free: 35.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.3523, allocations: 59.03 kB / 445.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3524, allocations: 105 kB / 445.8 MB, free: 35.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.3527, allocations: 145.9 kB / 445.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3527, allocations: 0 / 445.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003051/0.353, allocations: 202.8 kB / 446.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.353, allocations: 103.7 kB / 446.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3531, allocations: 3.938 kB / 446.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3531, allocations: 2.719 kB / 446.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.3533, allocations: 47.73 kB / 446.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3533, allocations: 3.469 kB / 446.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3535, allocations: 31.14 kB / 446.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3535, allocations: 2.844 kB / 446.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.3535, allocations: 11.75 kB / 446.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001719/0.3537, allocations: 124.9 kB / 446.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-06/0.3537, allocations: 2.938 kB / 446.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-06/0.3537, allocations: 0 / 446.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.3539, allocations: 38.3 kB / 446.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-06/0.3539, allocations: 0 / 446.5 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.3541, allocations: 23.66 kB / 446.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.3541, allocations: 9.844 kB / 446.5 MB, free: 35.21 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 9.391e-05/0.3542, allocations: 213.8 kB / 446.7 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.3542, allocations: 13.62 kB / 446.8 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006208/0.3549, allocations: 305.3 kB / 447.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3549, allocations: 3.938 kB / 447.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3549, allocations: 0 / 447.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3549, allocations: 2.719 kB / 447.1 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.3551, allocations: 271.2 kB / 447.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3551, allocations: 0 / 447.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.3552, allocations: 11.84 kB / 447.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003187/0.3556, allocations: 102.5 kB / 447.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3556, allocations: 4 kB / 447.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.3572, allocations: 1.763 MB / 449.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3572, allocations: 0 / 449.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.3579, allocations: 464.9 kB / 449.7 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.358, allocations: 99.2 kB / 449.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.358, allocations: 2.969 kB / 449.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.3582, allocations: 29.22 kB / 449.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.3583, allocations: 12.39 kB / 449.8 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.3583, allocations: 7.031 kB / 449.8 MB, free: 32.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.3585, allocations: 169.5 kB / 450 MB, free: 32.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3585, allocations: 0 / 450 MB, free: 32.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.3589, allocations: 58.12 kB / 450 MB, free: 32.67 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.627e-05/0.359, allocations: 98 kB / 450.1 MB, free: 32.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004113/0.3594, allocations: 229.5 kB / 450.3 MB, free: 32.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3594, allocations: 0 / 450.3 MB, free: 32.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.3597, allocations: 211 kB / 450.6 MB, free: 32.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.36, allocations: 29.5 kB / 450.6 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.3607, allocations: 478.5 kB / 451.1 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.3609, allocations: 0.7373 MB / 451.8 MB, free: 31.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.361, allocations: 34.27 kB / 451.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.361, allocations: 18.97 kB / 451.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.361, allocations: 0 / 451.8 MB, free: 31.34 MB / 350.1 MB Notification: Performance of Templates: time 0.004662/0.3657, allocations: 2.234 MB / 454.1 MB, free: 31.19 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)