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.001613/0.001613, allocations: 108.8 kB / 16.41 MB, free: 6.473 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.001852/0.001852, allocations: 187 kB / 17.34 MB, free: 5.754 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.089/0.089, allocations: 22.32 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 55.91 kB / 437.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1243, allocations: 54.96 MB / 492.7 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001946/0.1262, allocations: 0.5033 MB / 493.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001922/0.1265, allocations: 43.98 kB / 493.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.838e-05/0.1265, allocations: 0 / 493.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.1265, allocations: 4 kB / 493.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.596e-05/0.1266, allocations: 0 / 493.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.1268, allocations: 11.94 kB / 493.2 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.669e-05/0.1268, allocations: 15.86 kB / 493.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.1269, allocations: 0 / 493.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.1269, allocations: 4 kB / 493.2 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.127, allocations: 7.969 kB / 493.2 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.127, allocations: 0 / 493.2 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.127, allocations: 4 kB / 493.2 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.127, allocations: 0 / 493.2 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1271, allocations: 11.94 kB / 493.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 4.997e-05/0.1271, allocations: 0 / 493.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1271, allocations: 0 / 493.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1271, allocations: 4 kB / 493.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1271, allocations: 3.984 kB / 493.3 MB, free: 4.188 MB / 366.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.0004307/0.1276, allocations: 319.6 kB / 493.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.1276, allocations: 8.031 kB / 493.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.1277, allocations: 0.9375 kB / 493.6 MB, free: 3.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.1278, allocations: 172.3 kB / 493.8 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1278, allocations: 4.375 kB / 493.8 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.1279, allocations: 384 / 493.8 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.735e-05/0.128, allocations: 38.19 kB / 493.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.128, allocations: 192 / 493.8 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.128, allocations: 7.875 kB / 493.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.128, allocations: 0 / 493.8 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.128, allocations: 4 kB / 493.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.1282, allocations: 153.7 kB / 494 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.1283, allocations: 30.56 kB / 494 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.1283, allocations: 8.922 kB / 494 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1283, allocations: 0 / 494 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1284, allocations: 34.5 kB / 494 MB, free: 3.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1284, allocations: 0 / 494 MB, free: 3.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003491/0.1287, allocations: 69.55 kB / 494.1 MB, free: 3.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1288, allocations: 55.59 kB / 494.1 MB, free: 3.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.1288, allocations: 101.8 kB / 494.2 MB, free: 3.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1289, allocations: 25.7 kB / 494.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.1289, allocations: 80.14 kB / 494.4 MB, free: 2.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1289, allocations: 15.8 kB / 494.4 MB, free: 2.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.129, allocations: 13.72 kB / 494.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1291, allocations: 314.8 kB / 494.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.1291, allocations: 0 / 494.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.1291, allocations: 8.125 kB / 494.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.794e-05/0.1292, allocations: 24.84 kB / 494.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1292, allocations: 4 kB / 494.7 MB, free: 2.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.307e-05/0.1293, allocations: 45.69 kB / 494.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1293, allocations: 11.88 kB / 494.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1293, allocations: 0 / 494.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1293, allocations: 3.938 kB / 494.8 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.1294, allocations: 8 kB / 494.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1294, allocations: 0 / 494.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.1294, allocations: 0 / 494.8 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1295, allocations: 8 kB / 494.8 MB, free: 2.422 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.172e-05/0.1295, allocations: 114.6 kB / 494.9 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.1296, allocations: 3.938 kB / 494.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1297, allocations: 53.19 kB / 495 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1297, allocations: 0 / 495 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1297, allocations: 0 / 495 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1297, allocations: 0 / 495 MB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1298, allocations: 157.7 kB / 495.1 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1298, allocations: 3.938 kB / 495.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.1299, allocations: 15.94 kB / 495.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1299, allocations: 3.938 kB / 495.1 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.1299, allocations: 3.984 kB / 495.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1299, allocations: 0 / 495.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1299, allocations: 0 / 495.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.612e-05/0.13, allocations: 69.12 kB / 495.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.1301, allocations: 81.11 kB / 495.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.1301, allocations: 4.219 kB / 495.3 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.1301, allocations: 4 kB / 495.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.1301, allocations: 0 / 495.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1301, allocations: 4 kB / 495.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.1302, allocations: 75.28 kB / 495.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1302, allocations: 0 / 495.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.1304, allocations: 8 kB / 495.4 MB, free: 1.727 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.14e-05/0.1305, allocations: 103.2 kB / 495.5 MB, free: 1.617 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.077e-05/0.1306, allocations: 16.09 kB / 495.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1306, allocations: 0 / 495.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/0.1306, allocations: 11.98 kB / 495.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1308, allocations: 0 / 495.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.131, allocations: 118.5 kB / 495.6 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1313, allocations: 0.6768 MB / 496.3 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.1313, allocations: 11.44 kB / 496.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of SimCode: time 2.365e-06/0.1313, allocations: 0 / 496.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of Templates: time 0.001847/0.1332, allocations: 447.9 kB / 496.8 MB, free: 296 kB / 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)