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.0008941/0.0008941, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007817/0.0007817, allocations: 188.9 kB / 16.92 MB, free: 6.75 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.26/1.26, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1814/0.1814, allocations: 22.34 MB / 314.4 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 16 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2156, allocations: 55.98 MB / 439.2 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0004543/0.2161, allocations: 239.5 kB / 439.5 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.2162, allocations: 31.34 kB / 439.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.2163, allocations: 0 / 439.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.437e-06/0.2163, allocations: 0 / 439.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.187e-05/0.2163, allocations: 0 / 439.5 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.2164, allocations: 7.844 kB / 439.5 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.639e-05/0.2165, allocations: 14.92 kB / 439.5 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.2165, allocations: 0 / 439.5 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.412e-05/0.2166, allocations: 2.719 kB / 439.5 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.2166, allocations: 13.69 kB / 439.5 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2166, allocations: 0 / 439.5 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.79e-06/0.2166, allocations: 0 / 439.5 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.2167, allocations: 6.594 kB / 439.6 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.2167, allocations: 25.7 kB / 439.6 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 2.781e-05/0.2167, allocations: 6.094 kB / 439.6 MB, free: 38.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2167, allocations: 3.938 kB / 439.6 MB, free: 38.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2167, allocations: 0 / 439.6 MB, free: 38.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.2167, allocations: 4 kB / 439.6 MB, free: 38.93 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.000236/0.217, allocations: 320.6 kB / 439.9 MB, free: 38.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.217, allocations: 15.03 kB / 439.9 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.093e-05/0.217, allocations: 0.9375 kB / 439.9 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.815e-05/0.2171, allocations: 166.9 kB / 440.1 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2171, allocations: 4.375 kB / 440.1 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.2171, allocations: 384 / 440.1 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.825e-05/0.2172, allocations: 38.41 kB / 440.1 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2172, allocations: 192 / 440.1 MB, free: 38.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.2172, allocations: 7.875 kB / 440.1 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2173, allocations: 0 / 440.1 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.212e-05/0.2173, allocations: 3.094 kB / 440.1 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.951e-05/0.2174, allocations: 151.6 kB / 440.3 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.848e-05/0.2174, allocations: 27.05 kB / 440.3 MB, free: 38.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.2174, allocations: 10 kB / 440.3 MB, free: 38.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2175, allocations: 7.938 kB / 440.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.103e-05/0.2175, allocations: 30.56 kB / 440.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.2175, allocations: 0 / 440.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002477/0.2177, allocations: 71.38 kB / 440.4 MB, free: 38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.591e-05/0.2178, allocations: 51.41 kB / 440.5 MB, free: 37.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.852e-05/0.2178, allocations: 100.1 kB / 440.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.189e-06/0.2178, allocations: 26.02 kB / 440.6 MB, free: 37.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-06/0.2178, allocations: 84.14 kB / 440.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.2179, allocations: 14.75 kB / 440.7 MB, free: 37.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.2179, allocations: 9.719 kB / 440.7 MB, free: 37.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.106e-05/0.2179, allocations: 318.8 kB / 441 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.2179, allocations: 6.172 kB / 441 MB, free: 37.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-06/0.218, allocations: 2.875 kB / 441 MB, free: 37.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.218, allocations: 16.89 kB / 441 MB, free: 37.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.218, allocations: 0 / 441 MB, free: 37.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.474e-05/0.2181, allocations: 43.7 kB / 441.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.2181, allocations: 13.25 kB / 441.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.2181, allocations: 0 / 441.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.2181, allocations: 2.781 kB / 441.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.065e-05/0.2182, allocations: 12.5 kB / 441.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.2182, allocations: 3.938 kB / 441.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.2182, allocations: 2.531 kB / 441.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.2182, allocations: 0 / 441.1 MB, free: 37.31 MB / 350.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 3.577e-05/0.2183, allocations: 116.3 kB / 441.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.2183, allocations: 7.172 kB / 441.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.681e-05/0.2184, allocations: 54.91 kB / 441.3 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2184, allocations: 4.031 kB / 441.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2184, allocations: 0 / 441.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2184, allocations: 2.344 kB / 441.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.962e-05/0.2184, allocations: 152.1 kB / 441.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2184, allocations: 0 / 441.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.2185, allocations: 11.61 kB / 441.5 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2185, allocations: 3.938 kB / 441.5 MB, free: 36.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.2185, allocations: 4 kB / 441.5 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2185, allocations: 7.938 kB / 441.5 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2185, allocations: 0 / 441.5 MB, free: 36.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.848e-05/0.2186, allocations: 66.75 kB / 441.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.2186, allocations: 77.11 kB / 441.6 MB, free: 36.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.2186, allocations: 11.27 kB / 441.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.826e-05/0.2186, allocations: 0 / 441.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.019e-05/0.2187, allocations: 2.75 kB / 441.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.2187, allocations: 0 / 441.6 MB, free: 36.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.439e-05/0.2187, allocations: 86.19 kB / 441.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2187, allocations: 0 / 441.7 MB, free: 36.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001765/0.2189, allocations: 2.812 kB / 441.7 MB, free: 36.68 MB / 350.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 4.997e-05/0.2189, allocations: 90.03 kB / 441.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.219, allocations: 22.14 kB / 441.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.219, allocations: 0 / 441.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.335e-05/0.219, allocations: 9.812 kB / 441.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.2192, allocations: 12.41 kB / 441.8 MB, free: 36.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001459/0.2193, allocations: 129.4 kB / 442 MB, free: 36.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.674e-05/0.2194, allocations: 0.6754 MB / 442.6 MB, free: 35.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.2194, allocations: 10.41 kB / 442.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2194, allocations: 0 / 442.7 MB, free: 35.73 MB / 350.1 MB Notification: Performance of Templates: time 0.001215/0.2206, allocations: 436.5 kB / 443.1 MB, free: 35.7 MB / 350.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)