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.001207/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001374/0.001374, allocations: 193 kB / 16.13 MB, free: 6.648 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.346/1.346, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2066/0.2066, allocations: 22.34 MB / 312.3 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.89 kB / 380.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2769, allocations: 54.94 MB / 435 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001712/0.2786, allocations: 0.5707 MB / 435.6 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001454/0.2788, allocations: 38.22 kB / 435.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.2788, allocations: 0 / 435.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.2789, allocations: 0 / 435.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.09e-05/0.2789, allocations: 3.938 kB / 435.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.2791, allocations: 6.641 kB / 435.7 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.548e-05/0.2791, allocations: 6.047 kB / 435.7 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.425e-05/0.2792, allocations: 2.844 kB / 435.7 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.823e-05/0.2792, allocations: 4 kB / 435.7 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.2793, allocations: 6.75 kB / 435.7 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.2793, allocations: 0 / 435.7 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.2793, allocations: 4 kB / 435.7 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.2793, allocations: 6.438 kB / 435.7 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.2794, allocations: 0 / 435.7 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.758e-05/0.2794, allocations: 10.83 kB / 435.7 MB, free: 39.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2794, allocations: 0 / 435.7 MB, free: 39.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2794, allocations: 3.375 kB / 435.7 MB, free: 39.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.2794, allocations: 0 / 435.7 MB, free: 39.12 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.0003528/0.2798, allocations: 326.5 kB / 436 MB, free: 38.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2798, allocations: 12.5 kB / 436 MB, free: 38.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.2799, allocations: 8.844 kB / 436 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.194e-05/0.28, allocations: 167.1 kB / 436.2 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.28, allocations: 384 / 436.2 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.28, allocations: 384 / 436.2 MB, free: 38.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.2801, allocations: 36.59 kB / 436.2 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.2801, allocations: 3.094 kB / 436.2 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2801, allocations: 3.938 kB / 436.2 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2801, allocations: 0 / 436.2 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.591e-05/0.2802, allocations: 2.812 kB / 436.2 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.2803, allocations: 155.8 kB / 436.4 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.125e-05/0.2804, allocations: 28.08 kB / 436.4 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.2804, allocations: 14.88 kB / 436.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.2804, allocations: 0 / 436.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2804, allocations: 30.56 kB / 436.5 MB, free: 38.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.2804, allocations: 0 / 436.5 MB, free: 38.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003075/0.2807, allocations: 79.84 kB / 436.5 MB, free: 38.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.2808, allocations: 51.41 kB / 436.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.2808, allocations: 92.73 kB / 436.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.2808, allocations: 25.7 kB / 436.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.374e-05/0.2809, allocations: 84.08 kB / 436.8 MB, free: 37.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.2809, allocations: 21.92 kB / 436.8 MB, free: 37.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.2809, allocations: 12.62 kB / 436.8 MB, free: 37.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.281, allocations: 319.2 kB / 437.1 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.281, allocations: 2.812 kB / 437.1 MB, free: 37.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.281, allocations: 5.703 kB / 437.2 MB, free: 37.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.281, allocations: 17.58 kB / 437.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.2811, allocations: 0 / 437.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.745e-05/0.2811, allocations: 45.27 kB / 437.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2811, allocations: 9.719 kB / 437.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2811, allocations: 3.234 kB / 437.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.2812, allocations: 0 / 437.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.2812, allocations: 8.469 kB / 437.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2813, allocations: 4 kB / 437.2 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.2813, allocations: 0 / 437.2 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.2813, allocations: 2.938 kB / 437.2 MB, free: 37.49 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.383e-05/0.2813, allocations: 117.1 kB / 437.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.2814, allocations: 6.844 kB / 437.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.2815, allocations: 53.31 kB / 437.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2815, allocations: 0 / 437.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2815, allocations: 2.906 kB / 437.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2815, allocations: 4 kB / 437.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.429e-05/0.2816, allocations: 147.9 kB / 437.6 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2816, allocations: 0 / 437.6 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.2816, allocations: 10.08 kB / 437.6 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2816, allocations: 3.938 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2817, allocations: 4 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2817, allocations: 4 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2817, allocations: 2.938 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.405e-05/0.2817, allocations: 71.17 kB / 437.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.2818, allocations: 80.48 kB / 437.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.2818, allocations: 3.938 kB / 437.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.094e-05/0.2818, allocations: 6.906 kB / 437.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.532e-05/0.2818, allocations: 7.875 kB / 437.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.2818, allocations: 0 / 437.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.786e-05/0.2818, allocations: 78.22 kB / 437.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2819, allocations: 3.938 kB / 437.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001857/0.282, allocations: 2.875 kB / 437.8 MB, free: 36.86 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 6.579e-05/0.2821, allocations: 98.14 kB / 437.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.2822, allocations: 15.81 kB / 437.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2822, allocations: 0 / 437.9 MB, free: 36.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.457e-05/0.2822, allocations: 12.95 kB / 438 MB, free: 36.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.2824, allocations: 0 / 438 MB, free: 36.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.2826, allocations: 107 kB / 438.1 MB, free: 36.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.131e-05/0.2827, allocations: 0.673 MB / 438.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.263e-05/0.2827, allocations: 7.234 kB / 438.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.2827, allocations: 11.09 kB / 438.8 MB, free: 35.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2827, allocations: 0 / 438.8 MB, free: 35.94 MB / 350.1 MB Notification: Performance of Templates: time 0.001945/0.2847, allocations: 239.3 kB / 439 MB, free: 35.89 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)