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.004436/0.004436, allocations: 109.1 kB / 15.71 MB, free: 6.434 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.001092/0.001092, allocations: 190.9 kB / 16.65 MB, free: 6.363 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.445/1.445, allocations: 222.9 MB / 240.3 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2246/0.2246, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.2 kB / 437 MB, free: 33.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1268, allocations: 54.97 MB / 492 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001576/0.1284, allocations: 0.5145 MB / 492.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001926/0.1286, allocations: 38.98 kB / 492.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.1287, allocations: 0 / 492.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1287, allocations: 0 / 492.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.773e-05/0.1287, allocations: 4 kB / 492.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1289, allocations: 7.938 kB / 492.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.157e-05/0.129, allocations: 11.97 kB / 492.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.129, allocations: 0 / 492.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.172e-05/0.1291, allocations: 7.938 kB / 492.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.1291, allocations: 7.984 kB / 492.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1292, allocations: 0 / 492.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-06/0.1292, allocations: 0 / 492.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1292, allocations: 7.938 kB / 492.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.268e-05/0.1292, allocations: 3.938 kB / 492.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.953e-05/0.1293, allocations: 3.984 kB / 492.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1293, allocations: 4 kB / 492.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1293, allocations: 0 / 492.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1293, allocations: 0 / 492.6 MB, free: 0.6289 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.0003762/0.1297, allocations: 323.6 kB / 492.9 MB, free: 268 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1297, allocations: 8.031 kB / 492.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1298, allocations: 4.922 kB / 492.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.094e-05/0.1299, allocations: 160.4 kB / 493.1 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1299, allocations: 4.375 kB / 493.1 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1299, allocations: 8.281 kB / 493.1 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.698e-05/0.13, allocations: 34.2 kB / 493.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.13, allocations: 4.172 kB / 493.1 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.1301, allocations: 4.141 kB / 493.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1301, allocations: 0 / 493.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.982e-05/0.1301, allocations: 8 kB / 493.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.1303, allocations: 145.7 kB / 493.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.1303, allocations: 34.58 kB / 493.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.1304, allocations: 12.73 kB / 493.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1304, allocations: 0 / 493.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1304, allocations: 38.62 kB / 493.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.1304, allocations: 0 / 493.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003209/0.1308, allocations: 69.55 kB / 493.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.1308, allocations: 51.41 kB / 493.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.1309, allocations: 98.05 kB / 493.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1309, allocations: 25.7 kB / 493.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.1309, allocations: 80.14 kB / 493.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.131, allocations: 11.91 kB / 493.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.131, allocations: 17.7 kB / 493.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.1311, allocations: 314.8 kB / 494 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.1311, allocations: 4 kB / 494 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.19e-05/0.1311, allocations: 4 kB / 494 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.1312, allocations: 24.97 kB / 494 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1312, allocations: 4 kB / 494 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.128e-05/0.1313, allocations: 53.53 kB / 494.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1313, allocations: 4 kB / 494.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1313, allocations: 3.938 kB / 494.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1313, allocations: 0 / 494.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.125e-05/0.1314, allocations: 8 kB / 494.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1314, allocations: 0 / 494.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.1315, allocations: 0 / 494.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1315, allocations: 3.938 kB / 494.1 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.702e-05/0.1315, allocations: 126.6 kB / 494.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.1316, allocations: 0 / 494.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.1317, allocations: 57.06 kB / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1317, allocations: 3.938 kB / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1317, allocations: 0 / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1317, allocations: 0 / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.1318, allocations: 153.7 kB / 494.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1318, allocations: 0 / 494.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.1319, allocations: 8 kB / 494.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1319, allocations: 4 kB / 494.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1319, allocations: 3.938 kB / 494.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1319, allocations: 3.984 kB / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1319, allocations: 3.938 kB / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.552e-05/0.132, allocations: 69.12 kB / 494.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.132, allocations: 77.11 kB / 494.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.1321, allocations: 8.219 kB / 494.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.1321, allocations: 0 / 494.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.1321, allocations: 4 kB / 494.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.1321, allocations: 0 / 494.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.1322, allocations: 87.22 kB / 494.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1322, allocations: 0 / 494.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.1324, allocations: 4 kB / 494.7 MB, free: 14.16 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 9.983e-05/0.1325, allocations: 99.22 kB / 494.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.475e-05/0.1326, allocations: 12 kB / 494.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1326, allocations: 4.094 kB / 494.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.1326, allocations: 8 kB / 494.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1328, allocations: 7.984 kB / 494.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.133, allocations: 96.78 kB / 494.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.1333, allocations: 0.6768 MB / 495.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.896e-05/0.1333, allocations: 0 / 495.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.1333, allocations: 11.44 kB / 495.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1333, allocations: 4 kB / 495.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of Templates: time 0.002383/0.1357, allocations: 257 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)