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.00551/0.005511, allocations: 96.19 kB / 15.87 MB, free: 6.289 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.001467/0.001467, allocations: 201.8 kB / 16.79 MB, free: 6.215 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.311/1.311, allocations: 222.9 MB / 240.5 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.185/0.185, allocations: 22.34 MB / 313 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.89 kB / 380.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2503, allocations: 54.95 MB / 435.7 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001727/0.2521, allocations: 0.5635 MB / 436.3 MB, free: 39.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001527/0.2522, allocations: 38.38 kB / 436.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.2523, allocations: 0 / 436.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.2523, allocations: 3.938 kB / 436.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.327e-05/0.2523, allocations: 0 / 436.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.2525, allocations: 9.953 kB / 436.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.656e-05/0.2526, allocations: 2.969 kB / 436.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.2526, allocations: 2.844 kB / 436.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.2526, allocations: 2.562 kB / 436.3 MB, free: 39.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.2527, allocations: 11.34 kB / 436.3 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.2527, allocations: 6.406 kB / 436.3 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.2527, allocations: 4 kB / 436.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.2528, allocations: 4 kB / 436.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.2528, allocations: 2.469 kB / 436.4 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.317e-05/0.2528, allocations: 3.375 kB / 436.4 MB, free: 39.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2528, allocations: 3.938 kB / 436.4 MB, free: 39.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.2528, allocations: 0 / 436.4 MB, free: 39.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.2528, allocations: 2.906 kB / 436.4 MB, free: 39.18 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.0003288/0.2532, allocations: 321.2 kB / 436.7 MB, free: 38.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2532, allocations: 14.59 kB / 436.7 MB, free: 38.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.2533, allocations: 8.844 kB / 436.7 MB, free: 38.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.186e-05/0.2533, allocations: 171.6 kB / 436.9 MB, free: 38.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.2534, allocations: 384 / 436.9 MB, free: 38.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.2534, allocations: 3.969 kB / 436.9 MB, free: 38.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.2535, allocations: 31.36 kB / 436.9 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2535, allocations: 192 / 436.9 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2535, allocations: 3.938 kB / 436.9 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2535, allocations: 0 / 436.9 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.2535, allocations: 6.234 kB / 436.9 MB, free: 38.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.2536, allocations: 155.3 kB / 437.1 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.2537, allocations: 27.77 kB / 437.1 MB, free: 38.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.2537, allocations: 7.422 kB / 437.1 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.2537, allocations: 0 / 437.1 MB, free: 38.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.2538, allocations: 33.31 kB / 437.1 MB, free: 38.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2538, allocations: 0 / 437.1 MB, free: 38.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002994/0.2541, allocations: 73.16 kB / 437.2 MB, free: 38.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.2541, allocations: 51.41 kB / 437.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.067e-05/0.2542, allocations: 100.1 kB / 437.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.2542, allocations: 25.7 kB / 437.4 MB, free: 38.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.527e-05/0.2542, allocations: 82.83 kB / 437.5 MB, free: 37.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2542, allocations: 11.75 kB / 437.5 MB, free: 37.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.2543, allocations: 16.5 kB / 437.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.373e-05/0.2543, allocations: 318.4 kB / 437.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.2543, allocations: 2.875 kB / 437.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.2544, allocations: 7 kB / 437.8 MB, free: 37.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.231e-05/0.2544, allocations: 20.61 kB / 437.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2544, allocations: 0 / 437.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.479e-05/0.2545, allocations: 47.94 kB / 437.9 MB, free: 37.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.2545, allocations: 11.06 kB / 437.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2545, allocations: 0 / 437.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.2545, allocations: 3.984 kB / 437.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.2546, allocations: 12.75 kB / 437.9 MB, free: 37.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2546, allocations: 7.938 kB / 437.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.2546, allocations: 3.75 kB / 437.9 MB, free: 37.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.2547, allocations: 0 / 437.9 MB, free: 37.56 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 4.661e-05/0.2547, allocations: 112.6 kB / 438 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/0.2547, allocations: 3.938 kB / 438 MB, free: 37.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2548, allocations: 57.14 kB / 438.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2548, allocations: 0 / 438.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2548, allocations: 0 / 438.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2548, allocations: 6.953 kB / 438.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.547e-05/0.2549, allocations: 160 kB / 438.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2549, allocations: 0 / 438.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.255, allocations: 9.125 kB / 438.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.255, allocations: 3.938 kB / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.255, allocations: 0 / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.255, allocations: 0 / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.255, allocations: 0 / 438.3 MB, free: 37.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.931e-05/0.2551, allocations: 79.33 kB / 438.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.2551, allocations: 77.11 kB / 438.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.2551, allocations: 7.031 kB / 438.4 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.2552, allocations: 3.938 kB / 438.4 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.2552, allocations: 0 / 438.4 MB, free: 37.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.2552, allocations: 2.844 kB / 438.4 MB, free: 37.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.91e-05/0.2552, allocations: 78.42 kB / 438.5 MB, free: 36.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2552, allocations: 0 / 438.5 MB, free: 36.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.2554, allocations: 6.844 kB / 438.5 MB, free: 36.93 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 6.538e-05/0.2555, allocations: 95.56 kB / 438.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.784e-05/0.2556, allocations: 18.78 kB / 438.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2556, allocations: 0 / 438.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/0.2556, allocations: 6.281 kB / 438.6 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.2557, allocations: 3.938 kB / 438.6 MB, free: 36.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/0.2559, allocations: 130.3 kB / 438.8 MB, free: 36.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.344e-05/0.256, allocations: 0.6817 MB / 439.4 MB, free: 35.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/0.2561, allocations: 11.44 kB / 439.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2561, allocations: 0 / 439.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of Templates: time 0.001656/0.2577, allocations: 429.6 kB / 439.9 MB, free: 35.96 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)