Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") translateModel(AES.Coursework.OOM_Intro.HelloWorld_inverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="AES_AES.Coursework.OOM_Intro.HelloWorld_inverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.0009758, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009563/0.009563, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2943/0.2943, allocations: 22.35 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 8 kB / 382.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3619, allocations: 55.97 MB / 438.6 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0009406/0.3629, allocations: 249.6 kB / 438.8 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002312/0.3632, allocations: 35.77 kB / 438.8 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.3633, allocations: 0 / 438.8 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.3633, allocations: 0 / 438.8 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.3634, allocations: 4 kB / 438.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.3636, allocations: 3.156 kB / 438.8 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.3637, allocations: 6.688 kB / 438.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.3638, allocations: 3.328 kB / 438.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.908e-05/0.3638, allocations: 6.812 kB / 438.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.364, allocations: 6.812 kB / 438.9 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.364, allocations: 0 / 438.9 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.364, allocations: 0 / 438.9 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.364, allocations: 3.328 kB / 438.9 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3641, allocations: 32.19 kB / 438.9 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.168e-05/0.3642, allocations: 7.938 kB / 438.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3642, allocations: 2.656 kB / 438.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.3642, allocations: 0 / 438.9 MB, free: 39.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.3642, allocations: 0 / 438.9 MB, free: 39.09 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.0004378/0.3647, allocations: 323.1 kB / 439.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.3648, allocations: 18.86 kB / 439.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.3648, allocations: 0.9375 kB / 439.2 MB, free: 38.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.3649, allocations: 164.3 kB / 439.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.365, allocations: 384 / 439.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.365, allocations: 7.531 kB / 439.4 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.3651, allocations: 32.53 kB / 439.4 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3652, allocations: 192 / 439.4 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.3652, allocations: 7.875 kB / 439.5 MB, free: 38.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3652, allocations: 0 / 439.5 MB, free: 38.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.05e-05/0.3653, allocations: 10.89 kB / 439.5 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.3654, allocations: 155.9 kB / 439.6 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.3655, allocations: 24.42 kB / 439.6 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.3655, allocations: 7.859 kB / 439.7 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3656, allocations: 3.281 kB / 439.7 MB, free: 38.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3656, allocations: 34.56 kB / 439.7 MB, free: 38.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.913e-06/0.3656, allocations: 3.938 kB / 439.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004371/0.3661, allocations: 71.27 kB / 439.8 MB, free: 38.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.3661, allocations: 51.41 kB / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.3662, allocations: 97.02 kB / 439.9 MB, free: 37.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.3662, allocations: 25.7 kB / 439.9 MB, free: 37.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.3663, allocations: 84.08 kB / 440 MB, free: 37.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3663, allocations: 18.66 kB / 440 MB, free: 37.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.3664, allocations: 12.95 kB / 440 MB, free: 37.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.347e-05/0.3664, allocations: 317.8 kB / 440.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.3665, allocations: 0 / 440.4 MB, free: 37.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.3665, allocations: 6.938 kB / 440.4 MB, free: 37.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.854e-05/0.3666, allocations: 25.09 kB / 440.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3666, allocations: 0 / 440.4 MB, free: 37.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000107/0.3667, allocations: 44.88 kB / 440.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3667, allocations: 7.125 kB / 440.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3668, allocations: 0 / 440.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3668, allocations: 2.906 kB / 440.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3669, allocations: 8.969 kB / 440.4 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3669, allocations: 3.938 kB / 440.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.367, allocations: 0 / 440.5 MB, free: 37.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.367, allocations: 2.75 kB / 440.5 MB, free: 37.46 MB / 350.1 MB 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 6.782e-05/0.3671, allocations: 113.8 kB / 440.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.3671, allocations: 6.594 kB / 440.6 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.3673, allocations: 54.67 kB / 440.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3673, allocations: 0 / 440.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3673, allocations: 0 / 440.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3673, allocations: 0 / 440.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.3675, allocations: 154.8 kB / 440.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3675, allocations: 0 / 440.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.3676, allocations: 3.938 kB / 440.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.3676, allocations: 14.25 kB / 440.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3676, allocations: 0 / 440.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3676, allocations: 3.938 kB / 440.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3676, allocations: 0 / 440.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3678, allocations: 67.7 kB / 440.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.3678, allocations: 80.17 kB / 440.9 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3678, allocations: 3.938 kB / 440.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.639e-05/0.3679, allocations: 0 / 440.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.3679, allocations: 14.02 kB / 441 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3679, allocations: 0 / 441 MB, free: 36.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.717e-05/0.368, allocations: 78 kB / 441 MB, free: 36.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.368, allocations: 3.938 kB / 441 MB, free: 36.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000301/0.3683, allocations: 10.66 kB / 441.1 MB, free: 36.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001109/0.3684, allocations: 90.12 kB / 441.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3686, allocations: 22.52 kB / 441.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.3686, allocations: 4.094 kB / 441.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.3686, allocations: 4.938 kB / 441.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3689, allocations: 2.75 kB / 441.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.3692, allocations: 105.7 kB / 441.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.3693, allocations: 0.678 MB / 442 MB, free: 35.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.438e-05/0.3694, allocations: 0 / 442 MB, free: 35.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3694, allocations: 9.844 kB / 442 MB, free: 35.91 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3695, allocations: 4 kB / 442 MB, free: 35.91 MB / 350.1 MB Notification: Performance of Templates: time 0.003319/0.3728, allocations: 237 kB / 442.2 MB, free: 35.86 MB / 350.1 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & ./AES_AES.Coursework.OOM_Intro.HelloWorld_inverse -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)