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.001222/0.001222, allocations: 103 kB / 16.36 MB, free: 6.336 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.001351/0.001351, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1046/0.1046, allocations: 22.33 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 65.67 kB / 382.2 MB, free: 41.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 54.97 MB / 437.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001828/0.1348, allocations: 0.5028 MB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.135, allocations: 39.81 kB / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.1351, allocations: 0 / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.1351, allocations: 0 / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.941e-05/0.1351, allocations: 0 / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.1353, allocations: 7.984 kB / 437.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.163e-05/0.1354, allocations: 15.94 kB / 437.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.1354, allocations: 3.984 kB / 437.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.1355, allocations: 7.938 kB / 437.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.1355, allocations: 0 / 437.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1355, allocations: 0 / 437.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.968e-06/0.1356, allocations: 4 kB / 437.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1356, allocations: 0 / 437.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.1356, allocations: 7.922 kB / 437.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.096e-05/0.1357, allocations: 7.984 kB / 437.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1357, allocations: 4 kB / 437.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1357, allocations: 0 / 437.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1357, allocations: 4 kB / 437.8 MB, free: 11.64 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.0003861/0.1361, allocations: 319.5 kB / 438.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1361, allocations: 8.031 kB / 438.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1362, allocations: 0.9375 kB / 438.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1363, allocations: 168.4 kB / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1363, allocations: 384 / 438.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1363, allocations: 4.375 kB / 438.3 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.097e-05/0.1364, allocations: 30.27 kB / 438.3 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.1364, allocations: 4.188 kB / 438.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1364, allocations: 7.875 kB / 438.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1364, allocations: 0 / 438.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/0.1365, allocations: 7.984 kB / 438.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1366, allocations: 149.7 kB / 438.5 MB, free: 10.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.825e-05/0.1367, allocations: 26.56 kB / 438.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.1367, allocations: 12.92 kB / 438.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1367, allocations: 7.938 kB / 438.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1368, allocations: 34.56 kB / 438.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.1368, allocations: 0 / 438.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002958/0.1371, allocations: 65.56 kB / 438.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.1371, allocations: 59.39 kB / 438.7 MB, free: 10.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.1372, allocations: 89.86 kB / 438.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.1372, allocations: 33.95 kB / 438.8 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.1372, allocations: 84.14 kB / 438.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.1373, allocations: 15.75 kB / 438.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1373, allocations: 17.72 kB / 438.9 MB, free: 10.31 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.1374, allocations: 318.8 kB / 439.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.1374, allocations: 0 / 439.2 MB, free: 9.988 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.1374, allocations: 4 kB / 439.2 MB, free: 9.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.1375, allocations: 16.86 kB / 439.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1375, allocations: 0 / 439.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.635e-05/0.1376, allocations: 53.81 kB / 439.3 MB, free: 9.906 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1376, allocations: 7.938 kB / 439.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1376, allocations: 0 / 439.3 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1376, allocations: 3.984 kB / 439.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.019e-05/0.1377, allocations: 8 kB / 439.3 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1377, allocations: 3.938 kB / 439.3 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.1377, allocations: 4 kB / 439.3 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1378, 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.581e-05/0.1378, allocations: 110.6 kB / 439.4 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.1378, allocations: 7.938 kB / 439.5 MB, free: 9.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.138, allocations: 57.17 kB / 439.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.138, allocations: 0 / 439.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.138, allocations: 0 / 439.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.138, allocations: 0 / 439.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.461e-05/0.1381, allocations: 153.7 kB / 439.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1381, allocations: 0 / 439.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-05/0.1381, allocations: 8 kB / 439.7 MB, free: 9.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.1382, allocations: 3.938 kB / 439.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1382, allocations: 0 / 439.7 MB, free: 9.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1382, allocations: 7.938 kB / 439.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1382, allocations: 0 / 439.7 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.91e-05/0.1383, allocations: 73.06 kB / 439.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.1383, allocations: 85.02 kB / 439.8 MB, free: 9.273 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1383, allocations: 7.922 kB / 439.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.958e-05/0.1384, allocations: 0 / 439.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1384, allocations: 0 / 439.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1384, allocations: 4 kB / 439.8 MB, free: 9.262 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.057e-05/0.1384, allocations: 79.28 kB / 439.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1384, allocations: 0 / 439.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000174/0.1386, allocations: 4 kB / 439.9 MB, free: 9.18 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 8.743e-05/0.1387, allocations: 95.25 kB / 440 MB, free: 9.078 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.813e-05/0.1388, allocations: 15.92 kB / 440 MB, free: 9.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1388, allocations: 0 / 440 MB, free: 9.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.1388, allocations: 15.94 kB / 440.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.139, allocations: 4.094 kB / 440.1 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.1392, allocations: 89.06 kB / 440.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1395, allocations: 0.6768 MB / 440.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.581e-05/0.1395, allocations: 4 kB / 440.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.1395, allocations: 7.438 kB / 440.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1395, allocations: 0 / 440.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of Templates: time 0.002069/0.1416, allocations: 253.4 kB / 441.1 MB, free: 7.969 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 cvode -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)