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.00103/0.00103, allocations: 99.86 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.0009642/0.0009642, allocations: 177.3 kB / 15.95 MB, free: 216 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.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2703/0.2703, allocations: 22.33 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003317, allocations: 12 kB / 381.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 55.98 MB / 437.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0006131/0.3157, allocations: 243.4 kB / 438 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001845/0.3159, allocations: 36.08 kB / 438.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.316, allocations: 0 / 438.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.719e-06/0.316, allocations: 0 / 438.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.316, allocations: 0 / 438.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.3162, allocations: 2.844 kB / 438.1 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.657e-05/0.3162, allocations: 14.27 kB / 438.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.483e-05/0.3163, allocations: 0 / 438.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.97e-05/0.3163, allocations: 6.844 kB / 438.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.3164, allocations: 3.328 kB / 438.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3164, allocations: 2.875 kB / 438.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.3164, allocations: 3.938 kB / 438.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.3164, allocations: 3.984 kB / 438.1 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.3165, allocations: 25.7 kB / 438.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.603e-05/0.3165, allocations: 2.781 kB / 438.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.3165, allocations: 0 / 438.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3165, allocations: 4 kB / 438.1 MB, free: 38.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3165, allocations: 0 / 438.1 MB, free: 38.94 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.000329/0.3169, allocations: 322.3 kB / 438.5 MB, free: 38.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3169, allocations: 8.562 kB / 438.5 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.317, allocations: 0 / 438.5 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.747e-05/0.3171, allocations: 166.3 kB / 438.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3171, allocations: 2.844 kB / 438.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3171, allocations: 3.938 kB / 438.6 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.593e-05/0.3172, allocations: 32.61 kB / 438.7 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3172, allocations: 3.328 kB / 438.7 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3173, allocations: 3.953 kB / 438.7 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3173, allocations: 2.812 kB / 438.7 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.3173, allocations: 4 kB / 438.7 MB, free: 38.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.3175, allocations: 152 kB / 438.8 MB, free: 38.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.569e-05/0.3175, allocations: 25.08 kB / 438.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3176, allocations: 3.938 kB / 438.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3176, allocations: 38.5 kB / 438.9 MB, free: 38.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3176, allocations: 0 / 438.9 MB, free: 38.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003372/0.3179, allocations: 66 kB / 439 MB, free: 38.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.318, allocations: 54.38 kB / 439 MB, free: 37.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/0.318, allocations: 100.3 kB / 439.1 MB, free: 37.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.318, allocations: 25.7 kB / 439.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.741e-05/0.3181, allocations: 84.45 kB / 439.2 MB, free: 37.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3181, allocations: 7.844 kB / 439.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.3181, allocations: 2.875 kB / 439.2 MB, free: 37.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.3182, allocations: 314.8 kB / 439.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.3182, allocations: 2.938 kB / 439.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.117e-05/0.3182, allocations: 6.234 kB / 439.5 MB, free: 37.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.3182, allocations: 7 kB / 439.6 MB, free: 37.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.3182, allocations: 0 / 439.6 MB, free: 37.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.37e-05/0.3183, allocations: 42.02 kB / 439.6 MB, free: 37.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3183, allocations: 9.312 kB / 439.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3183, allocations: 4 kB / 439.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3183, allocations: 2.562 kB / 439.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.3184, allocations: 17.12 kB / 439.6 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3185, allocations: 7.938 kB / 439.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.3185, allocations: 2.812 kB / 439.6 MB, free: 37.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3185, allocations: 0 / 439.6 MB, free: 37.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.3185, allocations: 108.6 kB / 439.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.3186, allocations: 0 / 439.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.3187, allocations: 59.14 kB / 439.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3187, allocations: 4.031 kB / 439.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3187, allocations: 0 / 439.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3187, allocations: 3.953 kB / 439.8 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.046e-05/0.3188, allocations: 152 kB / 440 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3188, allocations: 2.656 kB / 440 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.065e-05/0.3189, allocations: 10.56 kB / 440 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3189, allocations: 3.469 kB / 440 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3189, allocations: 0 / 440 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3189, allocations: 0 / 440 MB, free: 37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3189, allocations: 8 kB / 440 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.193e-05/0.319, allocations: 74.14 kB / 440.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.319, allocations: 77.11 kB / 440.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.3191, allocations: 0 / 440.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.3191, allocations: 2.938 kB / 440.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.3191, allocations: 3.938 kB / 440.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.3191, allocations: 3.281 kB / 440.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.156e-05/0.3191, allocations: 81.53 kB / 440.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3191, allocations: 0 / 440.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.3194, allocations: 2.375 kB / 440.2 MB, free: 36.74 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 (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 8.587e-05/0.3194, allocations: 100.4 kB / 440.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.52e-05/0.3195, allocations: 16.09 kB / 440.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3196, allocations: 0 / 440.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.3196, allocations: 9.562 kB / 440.3 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.915e-05/0.3197, allocations: 3.188 kB / 440.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/0.3199, allocations: 98.52 kB / 440.4 MB, free: 36.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.32, allocations: 0.6798 MB / 441.1 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.23e-05/0.32, allocations: 0 / 441.1 MB, free: 35.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.3201, allocations: 10.81 kB / 441.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3201, allocations: 0 / 441.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of Templates: time 0.002187/0.3223, allocations: 231.5 kB / 441.4 MB, free: 35.78 MB / 350.1 MB make -j1 -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: