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.008864/0.008865, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.001347/0.001347, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2154/0.2154, allocations: 22.37 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 65.84 kB / 434.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 54.97 MB / 489.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001466/0.1107, allocations: 0.5184 MB / 490.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001627/0.1108, allocations: 23.89 kB / 490.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.1109, allocations: 0 / 490.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.1109, allocations: 4 kB / 490.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.111, allocations: 3.938 kB / 490.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.1111, allocations: 0 / 490.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.367e-05/0.1112, allocations: 7.984 kB / 490.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.1112, allocations: 7.984 kB / 490.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.1113, allocations: 0 / 490.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.1113, allocations: 11.94 kB / 490.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1113, allocations: 0 / 490.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.404e-06/0.1114, allocations: 0 / 490.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.1114, allocations: 3.984 kB / 490.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.1114, allocations: 11.94 kB / 490.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.465e-05/0.1115, allocations: 3.938 kB / 490.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1115, allocations: 0 / 490.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1115, allocations: 0 / 490.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1115, allocations: 0 / 490.5 MB, free: 2.73 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.0003329/0.1118, allocations: 327.5 kB / 490.8 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1119, allocations: 12.03 kB / 490.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.1119, allocations: 8.781 kB / 490.8 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.112, allocations: 164.4 kB / 491 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.112, allocations: 4.375 kB / 491 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.112, allocations: 4.375 kB / 491 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.1121, allocations: 38.25 kB / 491 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1121, allocations: 192 / 491 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1121, allocations: 3.938 kB / 491.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1122, allocations: 0 / 491.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.1122, allocations: 7.938 kB / 491.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.1123, allocations: 157.7 kB / 491.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.897e-05/0.1124, allocations: 26.61 kB / 491.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.1124, allocations: 12.84 kB / 491.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.1125, allocations: 4.062 kB / 491.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.307e-05/0.1125, allocations: 30.56 kB / 491.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1125, allocations: 0 / 491.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000164/0.1127, allocations: 53.56 kB / 491.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.1127, allocations: 59.47 kB / 491.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.294e-05/0.1127, allocations: 93.86 kB / 491.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.1127, allocations: 25.7 kB / 491.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.668e-05/0.1128, allocations: 84.14 kB / 491.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1128, allocations: 11.89 kB / 491.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.1128, allocations: 9.719 kB / 491.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.1129, allocations: 314.8 kB / 491.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.1129, allocations: 4.344 kB / 491.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.1129, allocations: 11.98 kB / 491.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1131, allocations: 37.06 kB / 492 MB, free: 1.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1131, allocations: 0 / 492 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.97e-05/0.1132, allocations: 49.62 kB / 492 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1132, allocations: 4 kB / 492 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1132, allocations: 7.938 kB / 492 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1133, allocations: 0 / 492 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.014e-05/0.1133, allocations: 11.98 kB / 492 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1133, allocations: 4.031 kB / 492.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.31e-05/0.1134, allocations: 3.906 kB / 492.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1134, allocations: 0 / 492.1 MB, free: 0.9492 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.0001192/0.1135, allocations: 114.6 kB / 492.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/0.1135, allocations: 0 / 492.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.1135, allocations: 11.06 kB / 492.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1135, allocations: 0 / 492.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1136, allocations: 0 / 492.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1136, allocations: 8 kB / 492.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.305e-05/0.1136, allocations: 149.7 kB / 492.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1136, allocations: 3.938 kB / 492.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.1137, allocations: 7.984 kB / 492.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1137, allocations: 0 / 492.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1137, allocations: 7.938 kB / 492.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1137, allocations: 3.938 kB / 492.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1137, allocations: 0 / 492.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1139, allocations: 73.12 kB / 492.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.1139, allocations: 81.08 kB / 492.5 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1139, allocations: 7.938 kB / 492.5 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.1139, allocations: 3.984 kB / 492.5 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.114, allocations: 3.938 kB / 492.5 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.114, allocations: 0 / 492.5 MB, free: 396 kB / 350.1 MB Notification: Performance of sorting global known variables: time 2.039e-05/0.114, allocations: 83.28 kB / 492.6 MB, free: 312 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.114, allocations: 0 / 492.6 MB, free: 312 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001662/0.1142, allocations: 8.094 kB / 492.6 MB, free: 304 kB / 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.394e-05/0.1143, allocations: 91.25 kB / 492.7 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1144, allocations: 19.92 kB / 492.7 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1144, allocations: 0 / 492.7 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.1144, allocations: 8 kB / 492.7 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1145, allocations: 0 / 492.7 MB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.1148, allocations: 121.5 kB / 492.8 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1152, allocations: 0.6729 MB / 493.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.965e-05/0.1152, allocations: 0 / 493.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.1152, allocations: 7.438 kB / 493.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1152, allocations: 0 / 493.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Templates: time 0.002321/0.1176, allocations: 303.7 kB / 493.8 MB, free: 15.02 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)