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.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2498/0.2498, allocations: 22.36 MB / 312.7 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.89 kB / 380.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3495, allocations: 54.94 MB / 435.8 MB, free: 39.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001735/0.3513, allocations: 0.5122 MB / 436.3 MB, free: 39.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001693/0.3515, allocations: 33.17 kB / 436.3 MB, free: 39.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.3516, allocations: 2.844 kB / 436.3 MB, free: 39.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.3516, allocations: 0 / 436.3 MB, free: 39.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.019e-05/0.3516, allocations: 3.938 kB / 436.3 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.3518, allocations: 4 kB / 436.3 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.619e-05/0.3518, allocations: 5.781 kB / 436.3 MB, free: 39.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.3519, allocations: 7.359 kB / 436.3 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.3519, allocations: 6.75 kB / 436.3 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.693e-05/0.352, allocations: 10.81 kB / 436.3 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.352, allocations: 3.984 kB / 436.3 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.094e-06/0.352, allocations: 0 / 436.3 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.352, allocations: 3.281 kB / 436.4 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.3521, allocations: 2.938 kB / 436.4 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.612e-05/0.3521, allocations: 3.938 kB / 436.4 MB, free: 39.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3521, allocations: 0 / 436.4 MB, free: 39.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.3521, allocations: 6.219 kB / 436.4 MB, free: 39.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3521, allocations: 3.938 kB / 436.4 MB, free: 39.5 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.0003334/0.3525, allocations: 330.2 kB / 436.7 MB, free: 39.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3525, allocations: 9.75 kB / 436.7 MB, free: 39.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.3526, allocations: 8.781 kB / 436.7 MB, free: 39.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.3526, allocations: 160.4 kB / 436.9 MB, free: 38.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3527, allocations: 3.312 kB / 436.9 MB, free: 38.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.3527, allocations: 384 / 436.9 MB, free: 38.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.064e-05/0.3528, allocations: 32.2 kB / 436.9 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.3528, allocations: 192 / 436.9 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3528, allocations: 7.938 kB / 436.9 MB, free: 38.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3528, allocations: 0 / 436.9 MB, free: 38.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/0.3528, allocations: 6.781 kB / 436.9 MB, free: 38.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.353, allocations: 148 kB / 437.1 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.994e-05/0.353, allocations: 31.66 kB / 437.1 MB, free: 38.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.948e-05/0.3531, allocations: 7.484 kB / 437.1 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.3531, allocations: 0 / 437.1 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.3531, allocations: 41.16 kB / 437.1 MB, free: 38.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3531, allocations: 0 / 437.1 MB, free: 38.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003229/0.3534, allocations: 64.64 kB / 437.2 MB, free: 38.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.3535, allocations: 58 kB / 437.3 MB, free: 38.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.3535, allocations: 92.42 kB / 437.3 MB, free: 38.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.3535, allocations: 25.7 kB / 437.4 MB, free: 38.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.693e-05/0.3536, allocations: 83.33 kB / 437.5 MB, free: 38.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.3536, allocations: 18.75 kB / 437.5 MB, free: 38.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.3536, allocations: 21.19 kB / 437.5 MB, free: 38.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.699e-05/0.3537, allocations: 310.8 kB / 437.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.3537, allocations: 10.97 kB / 437.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.3537, allocations: 0 / 437.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.3537, allocations: 19.98 kB / 437.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.3538, allocations: 0 / 437.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.781e-05/0.3538, allocations: 44.34 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.3538, allocations: 9.031 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3538, allocations: 7.328 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3539, allocations: 2.625 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.719e-05/0.3539, allocations: 5.781 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.354, allocations: 0 / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.354, allocations: 2.75 kB / 437.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.354, allocations: 0 / 437.9 MB, free: 37.89 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 4.849e-05/0.354, allocations: 116.5 kB / 438 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.3541, allocations: 3.938 kB / 438 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.3542, allocations: 59.17 kB / 438.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3542, allocations: 240 / 438.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3542, allocations: 0 / 438.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3542, allocations: 3.984 kB / 438.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.361e-05/0.3543, allocations: 162.6 kB / 438.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3543, allocations: 7.219 kB / 438.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.3543, allocations: 5.312 kB / 438.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3543, allocations: 3.938 kB / 438.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.3543, allocations: 2.906 kB / 438.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3543, allocations: 0 / 438.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3543, allocations: 0 / 438.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.3544, allocations: 75.95 kB / 438.3 MB, free: 37.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.3544, allocations: 80.58 kB / 438.4 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.3545, allocations: 6.812 kB / 438.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.3545, allocations: 0 / 438.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.3545, allocations: 0 / 438.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.3545, allocations: 2.688 kB / 438.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.909e-05/0.3545, allocations: 83.28 kB / 438.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3545, allocations: 2.781 kB / 438.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001745/0.3547, allocations: 0 / 438.5 MB, free: 37.24 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 7.747e-05/0.3548, allocations: 100.3 kB / 438.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.911e-05/0.3549, allocations: 14.78 kB / 438.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3549, allocations: 0 / 438.6 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.3549, allocations: 12.25 kB / 438.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.3551, allocations: 6.562 kB / 438.6 MB, free: 37.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.3553, allocations: 96.41 kB / 438.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3554, allocations: 0.6727 MB / 439.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.006e-05/0.3554, allocations: 5.922 kB / 439.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.3554, allocations: 7.438 kB / 439.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3554, allocations: 2.531 kB / 439.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of Templates: time 0.002019/0.3575, allocations: 248.4 kB / 439.7 MB, free: 36.29 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)