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.001027/0.001027, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2853/0.2853, allocations: 22.34 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 8 kB / 379.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3576, allocations: 55.98 MB / 435.8 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld): time 0.0006692/0.3583, allocations: 240.7 kB / 436 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001159/0.3584, allocations: 15.28 kB / 436 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.171e-05/0.3585, allocations: 0 / 436 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.3585, allocations: 5.969 kB / 436 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.297e-05/0.3586, allocations: 1.094 kB / 436 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.567e-05/0.3587, allocations: 14.05 kB / 436.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.295e-05/0.3587, allocations: 4.5 kB / 436.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.067e-05/0.3588, allocations: 0 / 436.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.3588, allocations: 3.297 kB / 436.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.398e-05/0.3589, allocations: 6.625 kB / 436.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.3589, allocations: 0 / 436.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.756e-06/0.3589, allocations: 0 / 436.1 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.3589, allocations: 9.344 kB / 436.1 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.3589, allocations: 28.45 kB / 436.1 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.84e-05/0.359, allocations: 4 kB / 436.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.359, allocations: 0 / 436.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.359, allocations: 0 / 436.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.359, allocations: 0 / 436.1 MB, free: 38.02 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.0003057/0.3593, allocations: 323.3 kB / 436.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3593, allocations: 8.25 kB / 436.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.3594, allocations: 6.812 kB / 436.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.3595, allocations: 161 kB / 436.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3595, allocations: 0 / 436.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3595, allocations: 6.406 kB / 436.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.3597, allocations: 35.98 kB / 436.6 MB, free: 37.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3597, allocations: 0 / 436.6 MB, free: 37.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.3597, allocations: 3.953 kB / 436.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3597, allocations: 2.938 kB / 436.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.165e-05/0.3598, allocations: 9.609 kB / 436.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.3599, allocations: 149.7 kB / 436.8 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.858e-05/0.3599, allocations: 34.31 kB / 436.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.36, allocations: 0 / 436.8 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.36, allocations: 30.56 kB / 436.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.36, allocations: 0 / 436.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.3601, allocations: 51 kB / 436.9 MB, free: 37.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.3602, allocations: 55.36 kB / 437 MB, free: 37.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.532e-05/0.3602, allocations: 100.1 kB / 437.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.3602, allocations: 25.7 kB / 437.1 MB, free: 36.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.3603, allocations: 86.77 kB / 437.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3603, allocations: 3.906 kB / 437.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.3603, allocations: 0 / 437.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.3604, allocations: 321 kB / 437.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.3604, allocations: 2.625 kB / 437.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.3604, allocations: 6.562 kB / 437.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.3605, allocations: 10.91 kB / 437.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3605, allocations: 4.031 kB / 437.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.653e-05/0.3605, allocations: 49.11 kB / 437.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3606, allocations: 5.875 kB / 437.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3606, allocations: 4 kB / 437.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3606, allocations: 0 / 437.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-05/0.3607, allocations: 5.562 kB / 437.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3607, allocations: 3.953 kB / 437.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.181e-05/0.3607, allocations: 3.328 kB / 437.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3607, allocations: 0 / 437.6 MB, free: 36.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.3609, allocations: 120.7 kB / 437.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.3609, allocations: 2.281 kB / 437.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.3609, allocations: 7.406 kB / 437.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.3609, allocations: 0 / 437.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3609, allocations: 0 / 437.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3609, allocations: 7.938 kB / 437.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.872e-05/0.361, allocations: 154.7 kB / 437.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.361, allocations: 0 / 437.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.3611, allocations: 8.531 kB / 437.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3611, allocations: 4 kB / 437.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3611, allocations: 2.719 kB / 437.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3611, allocations: 0 / 437.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.3611, allocations: 0 / 437.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.3612, allocations: 78.05 kB / 438 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.808e-05/0.3612, allocations: 81.08 kB / 438.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.3613, allocations: 0 / 438.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.241e-05/0.3613, allocations: 8.094 kB / 438.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.56e-05/0.3613, allocations: 0 / 438.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3613, allocations: 0 / 438.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.954e-05/0.3614, allocations: 82.38 kB / 438.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3614, allocations: 0 / 438.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000177/0.3615, allocations: 2.75 kB / 438.1 MB, free: 35.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.13e-05/0.3616, allocations: 90.28 kB / 438.2 MB, free: 35.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.3617, allocations: 27.27 kB / 438.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3617, allocations: 0 / 438.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.3618, allocations: 2.844 kB / 438.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.45e-05/0.3619, allocations: 7.812 kB / 438.3 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.3621, allocations: 123.6 kB / 438.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.3622, allocations: 0.6752 MB / 439.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.3622, allocations: 6.844 kB / 439.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.3623, allocations: 7.438 kB / 439.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3623, allocations: 0 / 439.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of Templates: time 0.002104/0.3644, allocations: 252.9 kB / 439.3 MB, free: 34.91 MB / 350.1 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: