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.001162/0.001162, allocations: 108 kB / 15.6 MB, free: 132 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.001157/0.001157, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.511/1.511, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2251/0.2251, allocations: 22.34 MB / 312.7 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 71.88 kB / 378.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3557, allocations: 54.94 MB / 433.7 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.002064/0.3578, allocations: 0.5075 MB / 434.2 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000177/0.358, allocations: 25.66 kB / 434.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.3581, allocations: 0 / 434.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.3581, allocations: 0 / 434.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.3582, allocations: 0 / 434.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.3583, allocations: 3.234 kB / 434.2 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.264e-05/0.3584, allocations: 14.34 kB / 434.2 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.125e-05/0.3585, allocations: 0 / 434.2 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.3585, allocations: 6.047 kB / 434.2 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.301e-05/0.3586, allocations: 10.83 kB / 434.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3586, allocations: 0 / 434.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.3586, allocations: 4 kB / 434.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.3587, allocations: 4 kB / 434.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.3587, allocations: 6.594 kB / 434.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.265e-05/0.3588, allocations: 5.984 kB / 434.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.3588, allocations: 0 / 434.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3588, allocations: 0 / 434.2 MB, free: 38.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3588, allocations: 0 / 434.2 MB, free: 38.29 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004541/0.3593, allocations: 327.6 kB / 434.6 MB, free: 37.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3593, allocations: 8.219 kB / 434.6 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.3594, allocations: 11.06 kB / 434.6 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3595, allocations: 166.3 kB / 434.7 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3595, allocations: 384 / 434.7 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3595, allocations: 2.781 kB / 434.7 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3597, allocations: 40.45 kB / 434.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3597, allocations: 192 / 434.8 MB, free: 37.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3597, allocations: 3.938 kB / 434.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3597, allocations: 6.656 kB / 434.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.725e-05/0.3598, allocations: 6.875 kB / 434.8 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.3599, allocations: 156.8 kB / 435 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.36, allocations: 23.55 kB / 435 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.3601, allocations: 10.11 kB / 435 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3601, allocations: 3.938 kB / 435 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.3601, allocations: 34.56 kB / 435 MB, free: 37.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3601, allocations: 0 / 435 MB, free: 37.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002036/0.3603, allocations: 51.83 kB / 435.1 MB, free: 37.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.3604, allocations: 54.5 kB / 435.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.987e-05/0.3604, allocations: 96.77 kB / 435.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.3604, allocations: 25.7 kB / 435.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.3605, allocations: 80.14 kB / 435.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.3605, allocations: 14.19 kB / 435.3 MB, free: 37.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.3605, allocations: 12.94 kB / 435.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.3606, allocations: 315 kB / 435.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.3606, allocations: 10.77 kB / 435.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.3607, allocations: 6.906 kB / 435.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.3609, allocations: 34.44 kB / 435.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3609, allocations: 0 / 435.7 MB, free: 36.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001017/0.361, allocations: 49.55 kB / 435.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3611, allocations: 3.125 kB / 435.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3611, allocations: 10.66 kB / 435.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3611, allocations: 0 / 435.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.3612, allocations: 5.844 kB / 435.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3612, allocations: 3.938 kB / 435.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.3612, allocations: 3.891 kB / 435.8 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.3612, allocations: 4 kB / 435.8 MB, free: 36.67 MB / 350.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.0001738/0.3614, allocations: 113.9 kB / 435.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.3614, allocations: 0 / 435.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.3615, allocations: 14.41 kB / 435.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3615, allocations: 0 / 435.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3615, allocations: 0 / 435.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3615, allocations: 3.984 kB / 435.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.04e-05/0.3616, allocations: 152.3 kB / 436.1 MB, free: 36.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3616, allocations: 4 kB / 436.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.3617, allocations: 12.8 kB / 436.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3617, allocations: 0 / 436.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3617, allocations: 6.719 kB / 436.1 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3617, allocations: 3.938 kB / 436.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3617, allocations: 0 / 436.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3619, allocations: 80.69 kB / 436.2 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.3619, allocations: 84.34 kB / 436.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3619, allocations: 3.938 kB / 436.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.295e-05/0.362, allocations: 2.812 kB / 436.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.362, allocations: 0 / 436.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.362, allocations: 0 / 436.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.362, allocations: 85.02 kB / 436.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3621, allocations: 0 / 436.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001848/0.3622, allocations: 6.469 kB / 436.4 MB, free: 36.07 MB / 350.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 9.257e-05/0.3623, allocations: 94.31 kB / 436.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.3625, allocations: 12.02 kB / 436.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3625, allocations: 0 / 436.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.3625, allocations: 13.75 kB / 436.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.3627, allocations: 4.062 kB / 436.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3631, allocations: 116.7 kB / 436.6 MB, free: 35.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3633, allocations: 0.675 MB / 437.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.369e-05/0.3633, allocations: 0 / 437.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.3633, allocations: 10.34 kB / 437.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3633, allocations: 0 / 437.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of Templates: time 0.002653/0.366, allocations: 291.1 kB / 437.6 MB, free: 35.11 MB / 350.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)