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.001409/0.001409, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001664/0.001664, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2267/0.2267, allocations: 22.36 MB / 312.4 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 75.88 kB / 380.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2787, allocations: 54.93 MB / 435.2 MB, free: 39.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001638/0.2804, allocations: 0.5759 MB / 435.8 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.2806, allocations: 29 kB / 435.8 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.2806, allocations: 4 kB / 435.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.2806, allocations: 6.688 kB / 435.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.242e-05/0.2806, allocations: 0 / 435.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.2808, allocations: 7.984 kB / 435.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.2809, allocations: 5.625 kB / 435.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.696e-05/0.281, allocations: 3.281 kB / 435.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.989e-05/0.281, allocations: 2.969 kB / 435.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.2811, allocations: 6.875 kB / 435.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2811, allocations: 0 / 435.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.2811, allocations: 0 / 435.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.2811, allocations: 3.422 kB / 435.9 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.2811, allocations: 10.91 kB / 435.9 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.279e-05/0.2812, allocations: 7.922 kB / 435.9 MB, free: 39.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2812, allocations: 3.375 kB / 435.9 MB, free: 39.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2812, allocations: 0 / 435.9 MB, free: 39.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2812, allocations: 2.875 kB / 435.9 MB, free: 39.31 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.0003656/0.2816, allocations: 322.6 kB / 436.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2816, allocations: 8.938 kB / 436.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.2817, allocations: 4.844 kB / 436.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.319e-05/0.2818, allocations: 172.3 kB / 436.4 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.2818, allocations: 3.344 kB / 436.4 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.2818, allocations: 384 / 436.4 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.325e-05/0.2819, allocations: 32.67 kB / 436.4 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2819, allocations: 192 / 436.4 MB, free: 38.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.2819, allocations: 3.938 kB / 436.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2819, allocations: 0 / 436.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.519e-05/0.282, allocations: 2.906 kB / 436.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.2821, allocations: 152.3 kB / 436.6 MB, free: 38.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.896e-05/0.2822, allocations: 36.41 kB / 436.6 MB, free: 38.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.2822, allocations: 7.328 kB / 436.6 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.2822, allocations: 0 / 436.6 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.2822, allocations: 30.56 kB / 436.7 MB, free: 38.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2822, allocations: 0 / 436.7 MB, free: 38.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003237/0.2826, allocations: 72.56 kB / 436.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2826, allocations: 55.59 kB / 436.8 MB, free: 38.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.721e-05/0.2827, allocations: 96.64 kB / 436.9 MB, free: 38.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.2827, allocations: 25.7 kB / 436.9 MB, free: 38.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.2827, allocations: 84.08 kB / 437 MB, free: 38.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.2827, allocations: 22.59 kB / 437 MB, free: 38.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.2828, allocations: 16.56 kB / 437 MB, free: 38.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.2828, allocations: 310.8 kB / 437.3 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.504e-05/0.2828, allocations: 3.281 kB / 437.3 MB, free: 37.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.2829, allocations: 17.19 kB / 437.4 MB, free: 37.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.2829, allocations: 14.95 kB / 437.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.2829, allocations: 0 / 437.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.027e-05/0.283, allocations: 52.78 kB / 437.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.283, allocations: 9.844 kB / 437.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.283, allocations: 0 / 437.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.283, allocations: 0 / 437.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.2831, allocations: 8.969 kB / 437.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.2831, allocations: 3.688 kB / 437.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.2831, allocations: 0 / 437.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.2831, allocations: 4 kB / 437.4 MB, free: 37.69 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 5.678e-05/0.2832, allocations: 109.8 kB / 437.5 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.2832, allocations: 7.875 kB / 437.6 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.2833, allocations: 57 kB / 437.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2833, allocations: 0 / 437.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2833, allocations: 4 kB / 437.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2833, allocations: 0 / 437.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.544e-05/0.2834, allocations: 154.7 kB / 437.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2834, allocations: 4 kB / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.2835, allocations: 5.469 kB / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2835, allocations: 7.172 kB / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.2835, allocations: 2.312 kB / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2835, allocations: 0 / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2835, allocations: 0 / 437.8 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.517e-05/0.2836, allocations: 69.17 kB / 437.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.2836, allocations: 81.05 kB / 437.9 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2836, allocations: 9.781 kB / 437.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.2836, allocations: 0 / 437.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.2837, allocations: 6.531 kB / 437.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-06/0.2837, allocations: 0 / 437.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.805e-05/0.2837, allocations: 75.28 kB / 438 MB, free: 37.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2837, allocations: 3.938 kB / 438 MB, free: 37.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001998/0.2839, allocations: 6.75 kB / 438 MB, free: 37.06 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.48e-05/0.284, allocations: 93.28 kB / 438.1 MB, free: 36.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.839e-05/0.284, allocations: 20.53 kB / 438.1 MB, free: 36.97 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2841, allocations: 0 / 438.1 MB, free: 36.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.2841, allocations: 10.06 kB / 438.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.2842, allocations: 9.109 kB / 438.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001892/0.2844, allocations: 107.3 kB / 438.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.881e-05/0.2845, allocations: 0.675 MB / 438.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.224e-05/0.2846, allocations: 6.844 kB / 438.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.2846, allocations: 7.438 kB / 439 MB, free: 36.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2846, allocations: 0 / 439 MB, free: 36.14 MB / 350.1 MB Notification: Performance of Templates: time 0.001983/0.2866, allocations: 253.9 kB / 439.2 MB, free: 36.09 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)