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.001081/0.001081, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001135/0.001135, allocations: 192.9 kB / 16.13 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.311/1.311, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2003/0.2003, allocations: 22.35 MB / 312.3 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.91 kB / 378 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2816, allocations: 54.94 MB / 433 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001717/0.2833, allocations: 0.5702 MB / 433.6 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.2835, allocations: 24.95 kB / 433.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.2835, allocations: 0 / 433.6 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.2836, allocations: 3.938 kB / 433.6 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.2836, allocations: 0 / 433.6 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.931e-05/0.2837, allocations: 0 / 433.6 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.655e-05/0.2838, allocations: 13.47 kB / 433.6 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.2838, allocations: 0 / 433.6 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.204e-05/0.2839, allocations: 3.938 kB / 433.6 MB, free: 38.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.852e-05/0.2839, allocations: 3.938 kB / 433.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.284, allocations: 3.188 kB / 433.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.284, allocations: 4 kB / 433.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.284, allocations: 7.844 kB / 433.6 MB, free: 38.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.284, allocations: 7.875 kB / 433.6 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.044e-05/0.2841, allocations: 6.922 kB / 433.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2841, allocations: 0 / 433.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2841, allocations: 3.938 kB / 433.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.2841, allocations: 0 / 433.6 MB, free: 38.39 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.0003379/0.2844, allocations: 329 kB / 434 MB, free: 38.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.2845, allocations: 15.38 kB / 434 MB, free: 38.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.2845, allocations: 4.938 kB / 434 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.88e-05/0.2846, allocations: 166.3 kB / 434.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2846, allocations: 3.25 kB / 434.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.2847, allocations: 384 / 434.1 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.977e-05/0.2848, allocations: 32.5 kB / 434.2 MB, free: 37.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2848, allocations: 4.188 kB / 434.2 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2848, allocations: 6.812 kB / 434.2 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2848, allocations: 3.938 kB / 434.2 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.369e-05/0.2849, allocations: 10.38 kB / 434.2 MB, free: 37.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.285, allocations: 154.3 kB / 434.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.365e-05/0.2851, allocations: 27.77 kB / 434.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.2851, allocations: 7.891 kB / 434.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.2851, allocations: 0 / 434.4 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.2852, allocations: 37.44 kB / 434.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2852, allocations: 0 / 434.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001771/0.2854, allocations: 52.41 kB / 434.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.2854, allocations: 51.41 kB / 434.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.2855, allocations: 103.1 kB / 434.6 MB, free: 37.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.2855, allocations: 25.7 kB / 434.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.619e-05/0.2855, allocations: 80.14 kB / 434.7 MB, free: 37.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.2855, allocations: 7.906 kB / 434.7 MB, free: 37.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.2855, allocations: 15.89 kB / 434.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.392e-05/0.2856, allocations: 317.9 kB / 435.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.892e-05/0.2856, allocations: 2.906 kB / 435.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.2857, allocations: 9.969 kB / 435.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.2859, allocations: 33.48 kB / 435.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2859, allocations: 0 / 435.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.264e-05/0.286, allocations: 52.48 kB / 435.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.286, allocations: 5.75 kB / 435.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.286, allocations: 7.969 kB / 435.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.286, allocations: 0 / 435.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.2861, allocations: 5.75 kB / 435.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2861, allocations: 0 / 435.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.2861, allocations: 10.19 kB / 435.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.2862, allocations: 0 / 435.2 MB, free: 36.77 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.0001332/0.2863, allocations: 116.2 kB / 435.3 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-06/0.2863, allocations: 0 / 435.3 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.2863, allocations: 11.06 kB / 435.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2863, allocations: 7.812 kB / 435.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2864, allocations: 0 / 435.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2864, allocations: 0 / 435.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.657e-05/0.2864, allocations: 152 kB / 435.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2864, allocations: 0 / 435.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.2865, allocations: 12.77 kB / 435.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2865, allocations: 0 / 435.5 MB, free: 36.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2865, allocations: 7.875 kB / 435.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2865, allocations: 0 / 435.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2865, allocations: 0 / 435.5 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.2867, allocations: 80.69 kB / 435.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.2867, allocations: 81.02 kB / 435.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2867, allocations: 10.47 kB / 435.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.139e-05/0.2867, allocations: 0 / 435.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.2868, allocations: 0 / 435.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2868, allocations: 5.953 kB / 435.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.973e-05/0.2868, allocations: 82.03 kB / 435.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2868, allocations: 0 / 435.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001783/0.287, allocations: 2.875 kB / 435.7 MB, free: 36.18 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.513e-05/0.2871, allocations: 95.72 kB / 435.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.945e-05/0.2872, allocations: 14.8 kB / 435.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2872, allocations: 3.719 kB / 435.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.2872, allocations: 6.625 kB / 435.9 MB, free: 36.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.2874, allocations: 7 kB / 435.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.2876, allocations: 118.2 kB / 436 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.524e-05/0.2878, allocations: 0.6756 MB / 436.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.078e-05/0.2878, allocations: 0 / 436.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.2878, allocations: 7.438 kB / 436.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2878, allocations: 0 / 436.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of Templates: time 0.001978/0.2898, allocations: 269.7 kB / 436.9 MB, free: 35.21 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)