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.0009949, allocations: 109.8 kB / 16.41 MB, free: 6.465 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.0009524/0.0009524, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09387/0.09387, allocations: 22.33 MB / 313.5 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 435.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.0891, allocations: 54.94 MB / 490.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001489/0.09061, allocations: 0.5252 MB / 491.1 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001262/0.09076, allocations: 19.91 kB / 491.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.09079, allocations: 4 kB / 491.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.09081, allocations: 0 / 491.1 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.09088, allocations: 3.938 kB / 491.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.82e-05/0.09098, allocations: 7.984 kB / 491.1 MB, free: 6.32 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.09103, allocations: 8 kB / 491.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.09108, allocations: 0 / 491.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.594e-05/0.09111, allocations: 7.938 kB / 491.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.09116, allocations: 3.984 kB / 491.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.09118, allocations: 0 / 491.1 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-06/0.09119, allocations: 3.938 kB / 491.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.09122, allocations: 11.98 kB / 491.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.09125, allocations: 7.938 kB / 491.1 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 4.662e-05/0.0913, allocations: 0 / 491.1 MB, free: 6.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.09131, allocations: 3.984 kB / 491.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09131, allocations: 4 kB / 491.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.09133, allocations: 0 / 491.1 MB, free: 6.27 MB / 366.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.0003584/0.09169, allocations: 327.6 kB / 491.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.09173, allocations: 11.97 kB / 491.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.09176, allocations: 4.844 kB / 491.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.09187, allocations: 164.4 kB / 491.6 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.0919, allocations: 4.375 kB / 491.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.09192, allocations: 384 / 491.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.09203, allocations: 34.25 kB / 491.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.09205, allocations: 192 / 491.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.09206, allocations: 3.938 kB / 491.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.09207, allocations: 0 / 491.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.571e-05/0.09213, allocations: 7.938 kB / 491.7 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.09228, allocations: 157.7 kB / 491.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/0.09236, allocations: 26.61 kB / 491.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.0924, allocations: 8.844 kB / 491.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.09242, allocations: 4.062 kB / 491.9 MB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.09245, allocations: 30.56 kB / 491.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.09245, allocations: 0 / 491.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.09264, allocations: 61.5 kB / 492 MB, free: 5.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.09268, allocations: 51.41 kB / 492 MB, free: 5.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.064e-05/0.09274, allocations: 97.86 kB / 492.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.09277, allocations: 25.7 kB / 492.1 MB, free: 5.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.0928, allocations: 84.12 kB / 492.2 MB, free: 4.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.09283, allocations: 11.84 kB / 492.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.09287, allocations: 13.72 kB / 492.3 MB, free: 4.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.09296, allocations: 314.8 kB / 492.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.093, allocations: 8.109 kB / 492.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.09303, allocations: 8.188 kB / 492.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.09324, allocations: 32.88 kB / 492.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.09325, allocations: 0 / 492.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001026/0.09336, allocations: 53.53 kB / 492.7 MB, free: 4.527 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.09338, allocations: 4 kB / 492.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.09339, allocations: 0 / 492.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.09341, allocations: 7.922 kB / 492.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.09348, allocations: 12.03 kB / 492.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.09349, allocations: 0 / 492.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.09352, allocations: 0 / 492.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.09353, allocations: 0 / 492.7 MB, free: 4.504 MB / 366.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.0001285/0.09367, allocations: 122.5 kB / 492.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-06/0.09368, allocations: 0 / 492.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.09371, allocations: 15.05 kB / 492.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.09372, allocations: 0 / 492.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.09373, allocations: 4 kB / 492.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.09376, allocations: 81.11 kB / 492.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.09378, allocations: 0 / 492.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.09382, allocations: 0 / 492.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.09385, allocations: 4 kB / 492.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001498/0.09401, allocations: 120.9 kB / 493 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001997/0.09422, allocations: 234.7 kB / 493.3 MB, free: 3.883 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.062e-05/0.09427, allocations: 4.031 kB / 493.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.09431, allocations: 91.2 kB / 493.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of Backend: time 2.31e-07/0.09432, allocations: 0 / 493.3 MB, free: 3.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003079/0.09463, allocations: 74.41 kB / 493.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of SimCode: time 0.0003567/0.095, allocations: 0.5571 MB / 494 MB, free: 3.102 MB / 366.1 MB Notification: Performance of Templates: time 0.002087/0.09709, allocations: 365.4 kB / 494.3 MB, free: 2.746 MB / 366.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)