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: 103.4 kB / 15.33 MB, free: 0.5078 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.001116/0.001116, allocations: 196.2 kB / 16.26 MB, free: 6.625 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.312/1.312, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2045/0.2045, allocations: 22.36 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.88 kB / 378.2 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2752, allocations: 54.94 MB / 433.2 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001489/0.2767, allocations: 0.5682 MB / 433.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001215/0.2769, allocations: 21.02 kB / 433.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.2769, allocations: 0 / 433.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.2769, allocations: 7.938 kB / 433.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.277, allocations: 0 / 433.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.851e-05/0.2771, allocations: 2.844 kB / 433.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.978e-05/0.2771, allocations: 11.95 kB / 433.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.2772, allocations: 2.5 kB / 433.8 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.2772, allocations: 7.922 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.2773, allocations: 5.844 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2773, allocations: 0 / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.195e-06/0.2773, allocations: 2.656 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.2773, allocations: 4 kB / 433.8 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.2774, allocations: 7.938 kB / 433.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.484e-05/0.2774, allocations: 6.172 kB / 433.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2774, allocations: 0 / 433.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2774, allocations: 0 / 433.8 MB, free: 38.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2774, allocations: 3.938 kB / 433.8 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.0003261/0.2778, allocations: 328.6 kB / 434.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2778, allocations: 8.969 kB / 434.1 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.2778, allocations: 4.094 kB / 434.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.237e-05/0.2779, allocations: 162.4 kB / 434.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.2779, allocations: 4.375 kB / 434.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.278, allocations: 6.828 kB / 434.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.519e-05/0.2781, allocations: 29.33 kB / 434.3 MB, free: 37.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2781, allocations: 4.125 kB / 434.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2781, allocations: 3.938 kB / 434.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2781, allocations: 0 / 434.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.292e-05/0.2782, allocations: 13.56 kB / 434.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.2783, allocations: 151.9 kB / 434.5 MB, free: 37.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.2784, allocations: 32.27 kB / 434.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.2784, allocations: 11.17 kB / 434.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2784, allocations: 3.984 kB / 434.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.528e-05/0.2784, allocations: 37.62 kB / 434.6 MB, free: 37.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2784, allocations: 0 / 434.6 MB, free: 37.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.2786, allocations: 48.92 kB / 434.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.2786, allocations: 55.53 kB / 434.7 MB, free: 37.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.2787, allocations: 100.1 kB / 434.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.2787, allocations: 25.7 kB / 434.8 MB, free: 37.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.791e-05/0.2787, allocations: 83.05 kB / 434.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.2788, allocations: 11.89 kB / 434.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-05/0.2788, allocations: 12.88 kB / 434.9 MB, free: 37.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.2788, allocations: 314.1 kB / 435.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.99e-05/0.2789, allocations: 3.156 kB / 435.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.2789, allocations: 11.19 kB / 435.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.2791, allocations: 34.88 kB / 435.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2791, allocations: 0 / 435.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.193e-05/0.2792, allocations: 55.78 kB / 435.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2792, allocations: 6.156 kB / 435.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.2792, allocations: 3.938 kB / 435.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.2792, allocations: 0 / 435.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.2793, allocations: 13.41 kB / 435.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2793, allocations: 0 / 435.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.2794, allocations: 2.812 kB / 435.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.2794, allocations: 0 / 435.4 MB, free: 36.66 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.0001092/0.2795, allocations: 124.7 kB / 435.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.2795, allocations: 0 / 435.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/0.2795, allocations: 10.06 kB / 435.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.2795, allocations: 0 / 435.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2795, allocations: 4 kB / 435.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2795, allocations: 0 / 435.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.389e-05/0.2796, allocations: 155.9 kB / 435.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2796, allocations: 0 / 435.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.2797, allocations: 8.906 kB / 435.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2797, allocations: 0 / 435.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2797, allocations: 6.875 kB / 435.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2797, allocations: 0 / 435.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2797, allocations: 0 / 435.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.2798, allocations: 80.06 kB / 435.7 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.2799, allocations: 84.48 kB / 435.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2799, allocations: 3.938 kB / 435.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.2799, allocations: 6.906 kB / 435.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.2799, allocations: 0 / 435.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.28, allocations: 0 / 435.8 MB, free: 36.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.722e-05/0.28, allocations: 78.47 kB / 435.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.28, allocations: 0 / 435.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001778/0.2802, allocations: 11.03 kB / 435.9 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 5.607e-05/0.2802, allocations: 94.69 kB / 436 MB, free: 35.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.2803, allocations: 15.55 kB / 436 MB, free: 35.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2803, allocations: 0 / 436 MB, free: 35.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.2804, allocations: 13.42 kB / 436 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.0001353/0.2805, allocations: 1.875 kB / 436.1 MB, free: 35.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.2808, allocations: 117.5 kB / 436.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.576e-05/0.2809, allocations: 0.6751 MB / 436.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.121e-05/0.2809, allocations: 0 / 436.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.2809, allocations: 10.09 kB / 436.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2809, allocations: 0 / 436.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of Templates: time 0.001998/0.2829, allocations: 278.2 kB / 437.1 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)