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.0064/0.0064, allocations: 102.4 kB / 15.73 MB, free: 6.438 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.001617/0.001617, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.226/0.226, allocations: 22.35 MB / 312.9 MB, free: 12.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 61.19 kB / 434.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1018, allocations: 54.96 MB / 489.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001559/0.1034, allocations: 0.5202 MB / 490.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001547/0.1035, allocations: 19.91 kB / 490.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1036, allocations: 0 / 490.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.1036, allocations: 0 / 490.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.1037, allocations: 3.938 kB / 490.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.732e-05/0.1038, allocations: 0 / 490.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.1039, allocations: 11.98 kB / 490.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.1039, allocations: 8 kB / 490.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.1039, allocations: 0 / 490.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.104, allocations: 11.92 kB / 490.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.104, allocations: 0 / 490.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.104, allocations: 0 / 490.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.1041, allocations: 7.984 kB / 490.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.1041, allocations: 4 kB / 490.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.705e-05/0.1041, allocations: 3.938 kB / 490.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1042, allocations: 0 / 490.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1042, allocations: 0 / 490.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1042, allocations: 7.922 kB / 490.5 MB, free: 2.855 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.0003368/0.1045, allocations: 331.5 kB / 490.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1046, allocations: 12.03 kB / 490.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1046, allocations: 8.844 kB / 490.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.745e-05/0.1047, allocations: 160.4 kB / 491 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1047, allocations: 384 / 491 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1047, allocations: 4.375 kB / 491 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1048, allocations: 38.23 kB / 491 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.1048, allocations: 192 / 491 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1049, allocations: 7.938 kB / 491 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1049, allocations: 0 / 491 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.855e-05/0.1049, allocations: 8 kB / 491.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.1051, allocations: 153.7 kB / 491.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.1051, allocations: 26.55 kB / 491.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.1052, allocations: 8.844 kB / 491.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1052, allocations: 8 kB / 491.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.1052, allocations: 38.56 kB / 491.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1052, allocations: 0 / 491.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001701/0.1054, allocations: 49.56 kB / 491.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.1054, allocations: 59.34 kB / 491.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.672e-05/0.1055, allocations: 93.86 kB / 491.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.1055, allocations: 25.7 kB / 491.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.781e-05/0.1055, allocations: 84.25 kB / 491.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1056, allocations: 15.91 kB / 491.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.1056, allocations: 9.719 kB / 491.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.1056, allocations: 314.8 kB / 491.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.144e-05/0.1057, allocations: 4.344 kB / 491.9 MB, free: 1.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.326e-05/0.1057, allocations: 7.984 kB / 491.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.1059, allocations: 28.84 kB / 492 MB, free: 1.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1059, allocations: 4.031 kB / 492 MB, free: 1.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.836e-05/0.106, allocations: 49.62 kB / 492 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.106, allocations: 4 kB / 492 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.106, allocations: 3.938 kB / 492 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.106, allocations: 0 / 492 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.1061, allocations: 11.98 kB / 492 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1061, allocations: 0 / 492 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.1062, allocations: 3.906 kB / 492 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1062, allocations: 4 kB / 492 MB, free: 1.082 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.0001149/0.1063, allocations: 118.6 kB / 492.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-06/0.1063, allocations: 0 / 492.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.913e-05/0.1063, allocations: 7.062 kB / 492.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1063, allocations: 3.984 kB / 492.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1063, allocations: 4 kB / 492.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1064, allocations: 0 / 492.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.105e-05/0.1064, allocations: 149.7 kB / 492.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1064, allocations: 0 / 492.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/0.1065, allocations: 7.984 kB / 492.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1065, allocations: 4.281 kB / 492.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1065, allocations: 3.938 kB / 492.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1065, allocations: 4 kB / 492.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1065, allocations: 0 / 492.3 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.1067, allocations: 81.05 kB / 492.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.1067, allocations: 89.06 kB / 492.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1067, allocations: 3.938 kB / 492.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.1067, allocations: 4.094 kB / 492.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.1068, allocations: 3.938 kB / 492.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1068, allocations: 0 / 492.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.842e-05/0.1068, allocations: 83.22 kB / 492.6 MB, free: 440 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1068, allocations: 0 / 492.6 MB, free: 440 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001818/0.107, allocations: 8 kB / 492.6 MB, free: 432 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.607e-05/0.1071, allocations: 95.23 kB / 492.7 MB, free: 324 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.1072, allocations: 15.94 kB / 492.7 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1072, allocations: 0 / 492.7 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.062e-05/0.1072, allocations: 12 kB / 492.7 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.1074, allocations: 3.984 kB / 492.7 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.1077, allocations: 113.4 kB / 492.8 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1079, allocations: 0.6729 MB / 493.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.1079, allocations: 8.047 kB / 493.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.108, allocations: 7.438 kB / 493.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.108, allocations: 0 / 493.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of Templates: time 0.002218/0.1102, allocations: 287.5 kB / 493.8 MB, free: 15.16 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)