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.009036/0.009036, allocations: 103.2 kB / 15.73 MB, free: 6.012 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.002156/0.002156, allocations: 197.6 kB / 16.68 MB, free: 5.93 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2548/0.2548, allocations: 22.35 MB / 312.9 MB, free: 12.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 63.25 kB / 437 MB, free: 33.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 54.97 MB / 492 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001326/0.1157, allocations: 0.5202 MB / 492.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.1159, allocations: 38.98 kB / 492.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1159, allocations: 0 / 492.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.1159, allocations: 0 / 492.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.33e-05/0.116, allocations: 0 / 492.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.1161, allocations: 11.92 kB / 492.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.1162, allocations: 8 kB / 492.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.1162, allocations: 3.984 kB / 492.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.726e-05/0.1163, allocations: 0 / 492.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.1163, allocations: 11.94 kB / 492.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1163, allocations: 0 / 492.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-06/0.1164, allocations: 0 / 492.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.1164, allocations: 3.984 kB / 492.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.092e-05/0.1164, allocations: 4 kB / 492.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.678e-05/0.1165, allocations: 7.922 kB / 492.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1165, allocations: 0 / 492.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1165, allocations: 0 / 492.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1165, allocations: 4 kB / 492.6 MB, free: 0.6172 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.000289/0.1168, allocations: 319.6 kB / 492.9 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1168, allocations: 12.03 kB / 493 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.1168, allocations: 0.9375 kB / 493 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.554e-05/0.1169, allocations: 164.3 kB / 493.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1169, allocations: 384 / 493.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.117, allocations: 12.27 kB / 493.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1171, allocations: 34.27 kB / 493.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1171, allocations: 4.125 kB / 493.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.1171, allocations: 3.938 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1171, allocations: 0 / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.1171, allocations: 4 kB / 493.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.1173, allocations: 149.7 kB / 493.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.246e-05/0.1173, allocations: 30.55 kB / 493.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.1174, allocations: 8.844 kB / 493.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1174, allocations: 4 kB / 493.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.1174, allocations: 38.62 kB / 493.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1174, allocations: 0 / 493.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002911/0.1177, allocations: 65.56 kB / 493.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.1177, allocations: 51.41 kB / 493.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.54e-05/0.1178, allocations: 97.84 kB / 493.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1178, allocations: 26.02 kB / 493.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.1179, allocations: 84.14 kB / 493.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1179, allocations: 7.906 kB / 493.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.1179, allocations: 17.72 kB / 493.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.118, allocations: 314.8 kB / 494 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.1181, allocations: 8 kB / 494.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.1181, allocations: 4 kB / 494.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.1181, allocations: 20.8 kB / 494.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1181, allocations: 0 / 494.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.239e-05/0.1182, allocations: 53.53 kB / 494.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1182, allocations: 11.94 kB / 494.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1182, allocations: 0 / 494.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1183, allocations: 0 / 494.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.971e-05/0.1183, allocations: 12.17 kB / 494.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1184, allocations: 0 / 494.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.1184, allocations: 0 / 494.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.1184, allocations: 0 / 494.2 MB, free: 14.86 MB / 366.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 7.427e-05/0.1185, allocations: 114.6 kB / 494.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.1185, allocations: 15.92 kB / 494.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.1186, allocations: 61.05 kB / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1186, allocations: 0 / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1186, allocations: 0 / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1186, allocations: 0 / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.659e-05/0.1187, allocations: 153.7 kB / 494.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1188, allocations: 0 / 494.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.1188, allocations: 12 kB / 494.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1188, allocations: 3.938 kB / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.1188, allocations: 0 / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1188, allocations: 4 kB / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1188, allocations: 3.938 kB / 494.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.147e-05/0.1189, allocations: 69.12 kB / 494.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.119, allocations: 77.11 kB / 494.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.119, allocations: 11.88 kB / 494.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.145e-05/0.119, allocations: 3.984 kB / 494.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.119, allocations: 0 / 494.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.119, allocations: 0 / 494.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.016e-05/0.1191, allocations: 87.28 kB / 494.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1191, allocations: 0 / 494.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.1193, allocations: 0 / 494.8 MB, free: 14.15 MB / 366.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 8.391e-05/0.1194, allocations: 95.25 kB / 494.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.1195, allocations: 15.98 kB / 494.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1195, allocations: 0 / 494.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.1195, allocations: 11.94 kB / 494.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.1196, allocations: 12.03 kB / 494.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.1198, allocations: 96.83 kB / 495 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.1201, allocations: 0.6729 MB / 495.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.262e-05/0.1201, allocations: 3.984 kB / 495.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.218e-05/0.1201, allocations: 11.44 kB / 495.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1201, allocations: 0 / 495.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.001924/0.1221, allocations: 253.2 kB / 495.9 MB, free: 12.93 MB / 366.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)