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.001447/0.001448, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.00143/0.00143, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0926/0.0926, allocations: 22.33 MB / 313.4 MB, free: 8.969 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.94 kB / 381.4 MB, free: 41.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.0931, allocations: 54.96 MB / 436.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001764/0.0949, allocations: 0.5058 MB / 436.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001553/0.09508, allocations: 31.88 kB / 436.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.09511, allocations: 0 / 436.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.09513, allocations: 3.938 kB / 436.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.022e-05/0.09518, allocations: 0 / 436.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.09533, allocations: 7.984 kB / 437 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 3.838e-05/0.09538, allocations: 8 kB / 437 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.09543, allocations: 3.984 kB / 437 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.977e-05/0.09546, allocations: 7.938 kB / 437 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.09551, allocations: 4 kB / 437 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.09553, allocations: 0 / 437 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.09554, allocations: 4 kB / 437 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.09556, allocations: 0 / 437 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.09559, allocations: 15.8 kB / 437 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 3.91e-05/0.09563, allocations: 3.984 kB / 437 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.505e-05/0.09565, allocations: 4 kB / 437 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09567, allocations: 4 kB / 437 MB, free: 12.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.09568, allocations: 0 / 437 MB, free: 12.45 MB / 318.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.0003866/0.09608, allocations: 327.5 kB / 437.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.09612, allocations: 8.031 kB / 437.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.09615, allocations: 0.9375 kB / 437.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.09629, allocations: 168.4 kB / 437.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.09631, allocations: 384 / 437.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.09633, allocations: 384 / 437.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.575e-05/0.09641, allocations: 34.27 kB / 437.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.09643, allocations: 192 / 437.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.09644, allocations: 7.922 kB / 437.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.09645, allocations: 0 / 437.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.016e-05/0.09648, allocations: 15.92 kB / 437.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.09664, allocations: 145.7 kB / 437.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.0967, allocations: 22.58 kB / 437.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.09672, allocations: 16.84 kB / 437.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.09674, allocations: 4 kB / 437.7 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.09677, allocations: 38.56 kB / 437.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.09677, allocations: 0 / 437.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002871/0.09706, allocations: 65.84 kB / 437.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.09711, allocations: 55.41 kB / 437.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.431e-05/0.09718, allocations: 93.84 kB / 438 MB, free: 11.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.0972, allocations: 26.02 kB / 438 MB, free: 11.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.09723, allocations: 84.14 kB / 438.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.09726, allocations: 19.75 kB / 438.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.09729, allocations: 9.719 kB / 438.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.09743, allocations: 318.8 kB / 438.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.09745, allocations: 4 kB / 438.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.09747, allocations: 4 kB / 438.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/0.09751, allocations: 24.8 kB / 438.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.09752, allocations: 0 / 438.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.174e-05/0.09759, allocations: 49.69 kB / 438.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.09761, allocations: 7.938 kB / 438.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.09762, allocations: 0 / 438.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.09764, allocations: 0 / 438.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.09772, allocations: 11.98 kB / 438.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.09773, allocations: 0 / 438.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.09776, allocations: 0 / 438.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.09777, allocations: 4 kB / 438.5 MB, free: 10.69 MB / 318.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 6.187e-05/0.09784, allocations: 114.5 kB / 438.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.09786, allocations: 11.94 kB / 438.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.09797, allocations: 57.11 kB / 438.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.09798, allocations: 0 / 438.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.09799, allocations: 0 / 438.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.09799, allocations: 0 / 438.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.877e-05/0.0981, allocations: 153.7 kB / 438.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.0981, allocations: 0 / 438.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.09816, allocations: 8 kB / 438.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.09817, allocations: 3.938 kB / 438.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.09818, allocations: 4 kB / 438.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.09819, allocations: 0 / 438.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.09819, allocations: 3.938 kB / 438.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.198e-05/0.09828, allocations: 77.28 kB / 439 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.09832, allocations: 85.02 kB / 439.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.09834, allocations: 7.922 kB / 439.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.09837, allocations: 0 / 439.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.09838, allocations: 0 / 439.1 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.09839, allocations: 8 kB / 439.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.939e-05/0.09843, allocations: 79.28 kB / 439.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09843, allocations: 0 / 439.1 MB, free: 9.984 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.09862, allocations: 4 kB / 439.1 MB, free: 9.98 MB / 318.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.821e-05/0.0987, allocations: 91.25 kB / 439.2 MB, free: 9.883 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.09879, allocations: 19.92 kB / 439.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.0988, allocations: 0 / 439.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.615e-05/0.09882, allocations: 8 kB / 439.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.09896, allocations: 8.094 kB / 439.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/0.09915, allocations: 110.8 kB / 439.4 MB, free: 9.707 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.09937, allocations: 0.6768 MB / 440.1 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.0994, allocations: 11.44 kB / 440.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of SimCode: time 4e-07/0.09941, allocations: 0 / 440.1 MB, free: 8.992 MB / 318.1 MB Notification: Performance of Templates: time 0.001441/0.1009, allocations: 444 kB / 440.5 MB, free: 8.559 MB / 318.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)