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.0009844/0.0009844, allocations: 98.88 kB / 16.02 MB, free: 76 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.001076/0.001076, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2135/0.2135, allocations: 22.34 MB / 314.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8.281 kB / 383.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.274, allocations: 55.98 MB / 439.2 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0005309/0.2746, allocations: 237.5 kB / 439.5 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.2747, allocations: 42.62 kB / 439.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.2747, allocations: 0 / 439.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.2748, allocations: 0 / 439.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.485e-05/0.2748, allocations: 3.938 kB / 439.5 MB, free: 39.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.2749, allocations: 6.703 kB / 439.5 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.275, allocations: 6.875 kB / 439.5 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.275, allocations: 6.188 kB / 439.5 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.875e-05/0.2751, allocations: 2.5 kB / 439.5 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.2751, allocations: 7.938 kB / 439.5 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2751, allocations: 2.562 kB / 439.5 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-06/0.2752, allocations: 0 / 439.5 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.2752, allocations: 4 kB / 439.5 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.484e-05/0.2752, allocations: 28.98 kB / 439.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.694e-05/0.2752, allocations: 6.656 kB / 439.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2752, allocations: 0 / 439.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2752, allocations: 0 / 439.6 MB, free: 39.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.2753, allocations: 0 / 439.6 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.0002618/0.2755, allocations: 322.6 kB / 439.9 MB, free: 38.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.2756, allocations: 12.53 kB / 439.9 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.2756, allocations: 0.9375 kB / 439.9 MB, free: 38.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.574e-05/0.2757, allocations: 178.1 kB / 440.1 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2757, allocations: 384 / 440.1 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.2757, allocations: 384 / 440.1 MB, free: 38.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.185e-05/0.2758, allocations: 35.11 kB / 440.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-06/0.2758, allocations: 192 / 440.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.2758, allocations: 3.938 kB / 440.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2758, allocations: 0 / 440.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.2758, allocations: 6.562 kB / 440.1 MB, free: 38.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.985e-05/0.2759, allocations: 159.7 kB / 440.3 MB, free: 38.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.908e-05/0.276, allocations: 24.11 kB / 440.3 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.276, allocations: 10.03 kB / 440.3 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.276, allocations: 0 / 440.3 MB, free: 38.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.226e-05/0.276, allocations: 33.34 kB / 440.3 MB, free: 38.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.276, allocations: 0 / 440.3 MB, free: 38.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.00026/0.2763, allocations: 69.19 kB / 440.4 MB, free: 38.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.888e-05/0.2763, allocations: 55.44 kB / 440.5 MB, free: 38.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.562e-05/0.2764, allocations: 99.98 kB / 440.6 MB, free: 38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.2764, allocations: 25.7 kB / 440.6 MB, free: 37.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/0.2764, allocations: 80.14 kB / 440.7 MB, free: 37.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.2765, allocations: 14.88 kB / 440.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.2765, allocations: 9.719 kB / 440.7 MB, free: 37.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.2765, allocations: 318.3 kB / 441 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.2766, allocations: 6.938 kB / 441 MB, free: 37.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-06/0.2766, allocations: 7.969 kB / 441 MB, free: 37.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.2766, allocations: 19.14 kB / 441 MB, free: 37.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.2766, allocations: 3.938 kB / 441 MB, free: 37.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.777e-05/0.2767, allocations: 45.34 kB / 441.1 MB, free: 37.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2767, allocations: 9.375 kB / 441.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2767, allocations: 0 / 441.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2767, allocations: 3.938 kB / 441.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.055e-05/0.2768, allocations: 5.375 kB / 441.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2768, allocations: 2.375 kB / 441.1 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.2768, allocations: 8 kB / 441.1 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.2768, allocations: 6.906 kB / 441.1 MB, free: 37.47 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.432e-05/0.2769, allocations: 113.7 kB / 441.2 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.2769, allocations: 3.938 kB / 441.2 MB, free: 37.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.479e-05/0.277, allocations: 51.41 kB / 441.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.277, allocations: 6.312 kB / 441.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.277, allocations: 0 / 441.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.277, allocations: 0 / 441.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.89e-05/0.2771, allocations: 162.9 kB / 441.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2771, allocations: 0 / 441.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.2771, allocations: 8.75 kB / 441.5 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2772, allocations: 3.938 kB / 441.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.2772, allocations: 0 / 441.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.2772, allocations: 3 kB / 441.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2772, allocations: 3.938 kB / 441.5 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.928e-05/0.2772, allocations: 67.92 kB / 441.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.2773, allocations: 77.11 kB / 441.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.2773, allocations: 10.81 kB / 441.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.742e-05/0.2773, allocations: 0 / 441.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.2773, allocations: 3.328 kB / 441.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.2773, allocations: 3.188 kB / 441.6 MB, free: 36.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.603e-05/0.2773, allocations: 75.28 kB / 441.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2774, allocations: 0 / 441.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001717/0.2775, allocations: 3.656 kB / 441.7 MB, free: 36.84 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 5.937e-05/0.2776, allocations: 94.38 kB / 441.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.811e-05/0.2777, allocations: 22.95 kB / 441.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2777, allocations: 0 / 441.8 MB, free: 36.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-05/0.2777, allocations: 9.375 kB / 441.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.2778, allocations: 0 / 441.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.278, allocations: 135.5 kB / 442 MB, free: 36.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.186e-05/0.2781, allocations: 0.6752 MB / 442.6 MB, free: 35.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.2781, allocations: 7.438 kB / 442.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2781, allocations: 4 kB / 442.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of Templates: time 0.001399/0.2796, allocations: 427.7 kB / 443.1 MB, free: 35.88 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)