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.0009948/0.0009947, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.007808/0.007808, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.384/1.384, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2231/0.2231, allocations: 22.34 MB / 313.8 MB, free: 13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 12 kB / 380.5 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 55.97 MB / 436.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.0005756/0.3243, allocations: 250.9 kB / 436.7 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000117/0.3244, allocations: 25.88 kB / 436.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.3244, allocations: 0 / 436.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.3244, allocations: 0 / 436.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.3245, allocations: 0 / 436.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.695e-05/0.3246, allocations: 3.047 kB / 436.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.18e-05/0.3247, allocations: 10.55 kB / 436.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.3247, allocations: 0 / 436.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.3248, allocations: 4 kB / 436.8 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.904e-05/0.3248, allocations: 10.72 kB / 436.8 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.3248, allocations: 3.938 kB / 436.8 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-06/0.3249, allocations: 2.812 kB / 436.8 MB, free: 38.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.3249, allocations: 7.234 kB / 436.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.3249, allocations: 29.64 kB / 436.8 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.304e-05/0.3249, allocations: 9.344 kB / 436.8 MB, free: 38.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.325, allocations: 0 / 436.8 MB, free: 38.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.325, allocations: 0 / 436.8 MB, free: 38.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.325, allocations: 0 / 436.8 MB, free: 38.18 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.0002836/0.3253, allocations: 323.4 kB / 437.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3253, allocations: 12.75 kB / 437.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.3253, allocations: 4.844 kB / 437.2 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.3254, allocations: 169.4 kB / 437.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3254, allocations: 384 / 437.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3255, allocations: 384 / 437.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.3255, allocations: 39.16 kB / 437.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.3256, allocations: 192 / 437.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3256, allocations: 3.938 kB / 437.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3256, allocations: 3.938 kB / 437.4 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.885e-05/0.3256, allocations: 14.06 kB / 437.4 MB, free: 37.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.3258, allocations: 158.7 kB / 437.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/0.3258, allocations: 20.42 kB / 437.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.3259, allocations: 15.14 kB / 437.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3259, allocations: 0 / 437.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3259, allocations: 33.56 kB / 437.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3259, allocations: 0 / 437.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.3261, allocations: 56.5 kB / 437.7 MB, free: 37.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.1e-05/0.3261, allocations: 51.41 kB / 437.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.564e-05/0.3261, allocations: 95.91 kB / 437.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.3261, allocations: 25.7 kB / 437.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.561e-05/0.3262, allocations: 87.42 kB / 437.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3262, allocations: 3.906 kB / 437.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.3262, allocations: 9.719 kB / 437.9 MB, free: 36.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.3263, allocations: 320.8 kB / 438.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.686e-05/0.3263, allocations: 7.094 kB / 438.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.3263, allocations: 2.812 kB / 438.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.3265, allocations: 37.19 kB / 438.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3265, allocations: 0 / 438.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.043e-05/0.3266, allocations: 44.67 kB / 438.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.3266, allocations: 7.719 kB / 438.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3266, allocations: 7.172 kB / 438.4 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3267, allocations: 0 / 438.4 MB, free: 36.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.3267, allocations: 13.81 kB / 438.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3267, allocations: 3.938 kB / 438.4 MB, free: 36.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.203e-05/0.3268, allocations: 11.09 kB / 438.4 MB, free: 36.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3268, allocations: 0 / 438.4 MB, free: 36.56 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.0001163/0.3269, allocations: 119.7 kB / 438.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.3269, allocations: 0 / 438.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.836e-05/0.3269, allocations: 11.06 kB / 438.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3269, allocations: 2.906 kB / 438.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3269, allocations: 4 kB / 438.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3269, allocations: 0 / 438.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.801e-05/0.327, allocations: 148 kB / 438.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.327, allocations: 3.938 kB / 438.7 MB, free: 36.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.3271, allocations: 9.625 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3271, allocations: 3.234 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3271, allocations: 3.938 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3271, allocations: 3 kB / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3271, allocations: 0 / 438.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.3272, allocations: 74.95 kB / 438.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.3273, allocations: 80.3 kB / 438.8 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3273, allocations: 7.219 kB / 438.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.3273, allocations: 288 / 438.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.3273, allocations: 0 / 438.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.3274, allocations: 0 / 438.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.917e-05/0.3274, allocations: 90.39 kB / 438.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3274, allocations: 96 / 438.9 MB, free: 35.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001705/0.3276, allocations: 6.875 kB / 438.9 MB, free: 35.97 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 6.673e-05/0.3276, allocations: 94.84 kB / 439 MB, free: 35.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.3277, allocations: 15.91 kB / 439.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3277, allocations: 2.969 kB / 439.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.3278, allocations: 2.781 kB / 439.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.3279, allocations: 2.938 kB / 439.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.3282, allocations: 121.8 kB / 439.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.3283, allocations: 0.6745 MB / 439.9 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.131e-05/0.3283, allocations: 3.281 kB / 439.9 MB, free: 35.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.3283, allocations: 7.438 kB / 439.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of SimCode: time 1.974e-06/0.3283, allocations: 0 / 439.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of Templates: time 0.001846/0.3302, allocations: 269.5 kB / 440.1 MB, free: 35.01 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)