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.001357/0.001358, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001478/0.001478, allocations: 191 kB / 17.29 MB, free: 5.516 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 / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09063/0.09063, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 66.33 kB / 382.2 MB, free: 41.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1235, allocations: 54.97 MB / 437.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.002251/0.1259, allocations: 0.4989 MB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002098/0.1261, allocations: 35.88 kB / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.1262, allocations: 0 / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.1262, allocations: 0 / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.564e-05/0.1263, allocations: 4 kB / 437.7 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1265, allocations: 11.92 kB / 437.7 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.201e-05/0.1266, allocations: 4 kB / 437.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.1267, allocations: 3.984 kB / 437.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.1267, allocations: 11.94 kB / 437.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.1268, allocations: 0 / 437.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.1268, allocations: 0 / 437.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.1268, allocations: 4 kB / 437.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.1269, allocations: 3.984 kB / 437.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.1269, allocations: 3.938 kB / 437.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.384e-05/0.127, allocations: 3.984 kB / 437.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.127, allocations: 11.94 kB / 437.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.127, allocations: 0 / 437.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.127, allocations: 0 / 437.8 MB, free: 11.63 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.0004959/0.1275, allocations: 323.5 kB / 438.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1275, allocations: 8.031 kB / 438.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1276, allocations: 0.9375 kB / 438.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1277, allocations: 164.4 kB / 438.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1278, allocations: 4.312 kB / 438.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.1278, allocations: 4.375 kB / 438.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1279, allocations: 38.25 kB / 438.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1279, allocations: 192 / 438.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1279, allocations: 3.938 kB / 438.3 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1279, allocations: 0 / 438.3 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.938e-05/0.128, allocations: 4 kB / 438.3 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1282, allocations: 153.7 kB / 438.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.643e-05/0.1282, allocations: 26.52 kB / 438.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.806e-05/0.1283, allocations: 20.91 kB / 438.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1283, allocations: 3.938 kB / 438.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1283, allocations: 30.56 kB / 438.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.1283, allocations: 0 / 438.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000328/0.1287, allocations: 65.56 kB / 438.6 MB, free: 10.63 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.1287, allocations: 55.41 kB / 438.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.874e-05/0.1288, allocations: 98.03 kB / 438.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.1288, allocations: 25.7 kB / 438.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.1288, allocations: 84.14 kB / 438.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1289, allocations: 15.75 kB / 438.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.1289, allocations: 13.72 kB / 438.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.129, allocations: 318.8 kB / 439.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.129, allocations: 0 / 439.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.1291, allocations: 4 kB / 439.2 MB, free: 9.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.06e-05/0.1291, allocations: 20.98 kB / 439.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1291, allocations: 0 / 439.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.911e-05/0.1292, allocations: 49.62 kB / 439.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1292, allocations: 7.938 kB / 439.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.1292, allocations: 0 / 439.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1293, allocations: 0 / 439.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.1293, allocations: 11.98 kB / 439.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1294, allocations: 3.984 kB / 439.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.1294, allocations: 0 / 439.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1294, allocations: 4 kB / 439.3 MB, free: 9.875 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.862e-05/0.1295, allocations: 118.6 kB / 439.4 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.1295, allocations: 3.938 kB / 439.4 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.1296, allocations: 65.23 kB / 439.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1296, allocations: 0 / 439.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1297, allocations: 48 / 439.5 MB, free: 9.672 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1297, allocations: 3.984 kB / 439.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1298, allocations: 157.7 kB / 439.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1298, allocations: 0 / 439.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.147e-05/0.1298, allocations: 8 kB / 439.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1299, allocations: 7.938 kB / 439.7 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1299, allocations: 4 kB / 439.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1299, allocations: 0 / 439.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1299, allocations: 0 / 439.7 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.593e-05/0.13, allocations: 69.06 kB / 439.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.13, allocations: 85.02 kB / 439.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.13, allocations: 3.938 kB / 439.8 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.1301, allocations: 4 kB / 439.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.1301, allocations: 11.92 kB / 439.9 MB, free: 9.238 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1301, allocations: 4 kB / 439.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.39e-05/0.1301, allocations: 75.28 kB / 439.9 MB, free: 9.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1301, allocations: 0 / 439.9 MB, free: 9.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.1303, allocations: 4 kB / 439.9 MB, free: 9.156 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 9.049e-05/0.1304, allocations: 91.25 kB / 440 MB, free: 9.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.748e-05/0.1305, allocations: 15.98 kB / 440 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.1306, allocations: 8.094 kB / 440 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.1306, allocations: 8 kB / 440.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.1307, allocations: 5.312 kB / 440.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.1309, allocations: 93 kB / 440.2 MB, free: 8.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.1312, allocations: 0.6729 MB / 440.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.462e-05/0.1312, allocations: 7.984 kB / 440.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.1312, allocations: 7.438 kB / 440.8 MB, free: 8.195 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1312, allocations: 4 kB / 440.8 MB, free: 8.191 MB / 318.1 MB Notification: Performance of Templates: time 0.00222/0.1335, allocations: 241.2 kB / 441.1 MB, free: 7.957 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 -s gbode -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)