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.001304/0.001304, allocations: 105.1 kB / 16.41 MB, free: 6.496 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.001302/0.001302, allocations: 191 kB / 17.34 MB, free: 5.762 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0937/0.0937, allocations: 22.32 MB / 313.5 MB, free: 8.898 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 59.91 kB / 435.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.12, allocations: 54.94 MB / 490.5 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.001911/0.122, allocations: 0.5139 MB / 491 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001643/0.1222, allocations: 23.89 kB / 491.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.1222, allocations: 0 / 491.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.1223, allocations: 4 kB / 491.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.1224, allocations: 3.938 kB / 491.1 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.1225, allocations: 3.938 kB / 491.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.1225, allocations: 15.97 kB / 491.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/0.1226, allocations: 3.938 kB / 491.1 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.484e-05/0.1227, allocations: 8 kB / 491.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.855e-05/0.1227, allocations: 3.984 kB / 491.1 MB, free: 6.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1227, allocations: 4 kB / 491.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.1228, allocations: 0 / 491.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.1228, allocations: 3.938 kB / 491.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.1228, allocations: 3.938 kB / 491.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.65e-05/0.1229, allocations: 7.938 kB / 491.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1229, allocations: 0 / 491.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1229, allocations: 0 / 491.1 MB, free: 6.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1229, allocations: 4 kB / 491.1 MB, free: 6.324 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.0004913/0.1234, allocations: 327.6 kB / 491.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1235, allocations: 8.031 kB / 491.5 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.1235, allocations: 12.83 kB / 491.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.1236, allocations: 164.4 kB / 491.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.1237, allocations: 384 / 491.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.1237, allocations: 384 / 491.6 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1238, allocations: 38.25 kB / 491.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1239, allocations: 4.188 kB / 491.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1239, allocations: 7.938 kB / 491.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1239, allocations: 0 / 491.7 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.95e-05/0.124, allocations: 7.938 kB / 491.7 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001954/0.1242, allocations: 157.7 kB / 491.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.402e-05/0.1242, allocations: 18.58 kB / 491.9 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.1243, allocations: 16.91 kB / 491.9 MB, free: 5.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.1243, allocations: 4 kB / 491.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.1244, allocations: 30.56 kB / 491.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1244, allocations: 0 / 491.9 MB, free: 5.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002127/0.1246, allocations: 57.56 kB / 492 MB, free: 5.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.1246, allocations: 51.41 kB / 492 MB, free: 5.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.1247, allocations: 97.84 kB / 492.1 MB, free: 5.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1247, allocations: 25.7 kB / 492.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.1248, allocations: 88.27 kB / 492.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.1248, allocations: 11.83 kB / 492.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.1249, allocations: 13.72 kB / 492.3 MB, free: 4.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.125, allocations: 314.8 kB / 492.6 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.374e-05/0.125, allocations: 4 kB / 492.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.1251, allocations: 7.984 kB / 492.6 MB, free: 4.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1253, allocations: 32.88 kB / 492.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1253, allocations: 0 / 492.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001118/0.1254, allocations: 61.47 kB / 492.7 MB, free: 4.566 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1254, allocations: 4 kB / 492.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1254, allocations: 3.938 kB / 492.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1255, allocations: 3.938 kB / 492.7 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.1256, allocations: 7.984 kB / 492.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1256, allocations: 0 / 492.7 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.465e-05/0.1256, allocations: 4 kB / 492.7 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1256, allocations: 0 / 492.7 MB, free: 4.543 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.0001761/0.1258, allocations: 117.1 kB / 492.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1258, allocations: 4 kB / 492.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.491e-05/0.1258, allocations: 11.06 kB / 492.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1258, allocations: 0 / 492.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1259, allocations: 0 / 492.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1259, allocations: 3.984 kB / 492.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.126, allocations: 149.7 kB / 493 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.126, allocations: 0 / 493 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.1261, allocations: 15.98 kB / 493 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1261, allocations: 3.938 kB / 493 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1261, allocations: 3.938 kB / 493 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.1261, allocations: 0 / 493 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1261, allocations: 0 / 493 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.1263, allocations: 69.12 kB / 493.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.1263, allocations: 77.11 kB / 493.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1264, allocations: 8.031 kB / 493.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.791e-05/0.1264, allocations: 12.02 kB / 493.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.1264, allocations: 0 / 493.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.1264, allocations: 4 kB / 493.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.555e-05/0.1265, allocations: 79.28 kB / 493.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1265, allocations: 0 / 493.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001774/0.1267, allocations: 0 / 493.2 MB, free: 3.902 MB / 366.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 0.0001017/0.1268, allocations: 91.25 kB / 493.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1269, allocations: 27.92 kB / 493.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1269, allocations: 0 / 493.3 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.127, allocations: 4 kB / 493.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.1271, allocations: 6.859 kB / 493.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1274, allocations: 139.1 kB / 493.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1277, allocations: 0.6729 MB / 494.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.1277, allocations: 11.44 kB / 494.2 MB, free: 2.887 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1277, allocations: 8 kB / 494.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of Templates: time 0.00177/0.1295, allocations: 491.9 kB / 494.7 MB, free: 2.398 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)