Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld.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) Running command: translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") translateModel(AES.Coursework.OOM_Intro.HelloWorld,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 106.7 kB / 15.99 MB, free: 5.91 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.001067/0.001067, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.202/1.202, allocations: 222.9 MB / 240.6 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08456/0.08456, allocations: 22.32 MB / 313.1 MB, free: 9.102 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 62.97 kB / 378.8 MB, free: 42.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07936/0.08055, allocations: 54.96 MB / 433.8 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001561/0.08214, allocations: 0.5747 MB / 434.4 MB, free: 14.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.08227, allocations: 13.36 kB / 434.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.0823, allocations: 0 / 434.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.08232, allocations: 3.938 kB / 434.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.08238, allocations: 7.984 kB / 434.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.889e-05/0.08248, allocations: 11.98 kB / 434.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.08253, allocations: 8 kB / 434.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.069e-05/0.08259, allocations: 0 / 434.4 MB, free: 14.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.08263, allocations: 11.92 kB / 434.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.08267, allocations: 0 / 434.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.08269, allocations: 0 / 434.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/0.0827, allocations: 4 kB / 434.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.08272, allocations: 4 kB / 434.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.08275, allocations: 3.938 kB / 434.4 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 3.651e-05/0.08279, allocations: 7.984 kB / 434.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.0828, allocations: 4 kB / 434.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.08281, allocations: 0 / 434.5 MB, free: 14.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.08282, allocations: 3.938 kB / 434.5 MB, free: 14.9 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003449/0.08316, allocations: 323.5 kB / 434.8 MB, free: 14.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.0832, allocations: 11.97 kB / 434.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.08324, allocations: 0.9375 kB / 434.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.08335, allocations: 168.4 kB / 435 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.08337, allocations: 384 / 435 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.08339, allocations: 4.375 kB / 435 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.498e-05/0.08349, allocations: 34.25 kB / 435 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.0835, allocations: 192 / 435 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.08352, allocations: 3.938 kB / 435 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.08353, allocations: 0 / 435 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.08358, allocations: 4 kB / 435 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.08372, allocations: 153.7 kB / 435.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/0.0838, allocations: 38.53 kB / 435.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.08384, allocations: 8.922 kB / 435.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.08385, allocations: 0 / 435.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.08388, allocations: 30.56 kB / 435.2 MB, free: 13.97 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.08388, allocations: 0 / 435.2 MB, free: 13.97 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001643/0.08405, allocations: 53.56 kB / 435.3 MB, free: 13.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.08409, allocations: 51.53 kB / 435.3 MB, free: 13.85 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.08416, allocations: 109.9 kB / 435.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.08417, allocations: 25.7 kB / 435.5 MB, free: 13.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.08421, allocations: 84.14 kB / 435.5 MB, free: 13.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.08424, allocations: 12.12 kB / 435.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.08427, allocations: 13.72 kB / 435.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.08436, allocations: 310.8 kB / 435.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.107e-05/0.08439, allocations: 7.984 kB / 435.9 MB, free: 13.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.08442, allocations: 8.047 kB / 435.9 MB, free: 13.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.08461, allocations: 36.78 kB / 435.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.08462, allocations: 0 / 435.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.353e-05/0.08472, allocations: 49.62 kB / 436 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.08474, allocations: 7.984 kB / 436 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.08475, allocations: 7.938 kB / 436 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.08476, allocations: 0 / 436 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.278e-05/0.08483, allocations: 4 kB / 436 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.08484, allocations: 4.031 kB / 436 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.08487, allocations: 4 kB / 436 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.08488, allocations: 4 kB / 436 MB, free: 13.13 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(start = xstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001152/0.085, allocations: 113.8 kB / 436.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.08501, allocations: 0 / 436.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.08504, allocations: 15.05 kB / 436.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.08504, allocations: 0 / 436.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.08505, allocations: 0 / 436.1 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.08506, allocations: 4 kB / 436.1 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.08515, allocations: 157.6 kB / 436.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.08516, allocations: 0 / 436.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.08522, allocations: 4 kB / 436.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.08523, allocations: 0 / 436.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.08525, allocations: 3.938 kB / 436.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.08525, allocations: 4 kB / 436.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.08526, allocations: 0 / 436.3 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.0854, allocations: 81.06 kB / 436.4 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.215e-05/0.08545, allocations: 85 kB / 436.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.08546, allocations: 3.938 kB / 436.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.08549, allocations: 0 / 436.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.08552, allocations: 4.031 kB / 436.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.08552, allocations: 3.938 kB / 436.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.611e-05/0.08555, allocations: 75.28 kB / 436.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08556, allocations: 0 / 436.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001668/0.08573, allocations: 4 kB / 436.5 MB, free: 12.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (2): * Single equations (assignments): 2 * 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 7.14e-05/0.08581, allocations: 103.3 kB / 436.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.906e-05/0.08591, allocations: 15.94 kB / 436.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.08592, allocations: 0 / 436.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.244e-05/0.08596, allocations: 11.98 kB / 436.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.08609, allocations: 0 / 436.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.08638, allocations: 139.4 kB / 436.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.08659, allocations: 0.6768 MB / 437.5 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.08662, allocations: 7.438 kB / 437.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08662, allocations: 0 / 437.5 MB, free: 11.46 MB / 318.1 MB Notification: Performance of Templates: time 0.001519/0.08815, allocations: 0.4885 MB / 438 MB, free: 10.98 MB / 318.1 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld.pipe 2>&1)