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.001152/0.001152, allocations: 107.8 kB / 15.99 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.001229/0.001229, allocations: 194.8 kB / 16.91 MB, free: 6.18 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.227/1.227, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08694/0.08694, allocations: 22.32 MB / 313.1 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.27 kB / 380.9 MB, free: 41.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07675/0.078, allocations: 54.96 MB / 435.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001755/0.07979, allocations: 0.5639 MB / 436.4 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.07997, allocations: 39.86 kB / 436.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.08, allocations: 0 / 436.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.08003, allocations: 0 / 436.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.038e-05/0.08006, allocations: 4 kB / 436.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.08022, allocations: 0 / 436.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.498e-05/0.08027, allocations: 8 kB / 436.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.08032, allocations: 7.922 kB / 436.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.08034, allocations: 7.938 kB / 436.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.0804, allocations: 0 / 436.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.08041, allocations: 4 kB / 436.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.08043, allocations: 3.938 kB / 436.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.08045, allocations: 7.984 kB / 436.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.546e-05/0.08048, allocations: 7.922 kB / 436.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 3.641e-05/0.08052, allocations: 0 / 436.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.08053, allocations: 4 kB / 436.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.08054, allocations: 0 / 436.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.08055, allocations: 0 / 436.5 MB, free: 12.69 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.0003804/0.08093, allocations: 327.5 kB / 436.8 MB, free: 12.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.08097, allocations: 8.031 kB / 436.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.08101, allocations: 0.9375 kB / 436.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.08112, allocations: 168.4 kB / 437 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.08114, allocations: 384 / 437 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.08116, allocations: 384 / 437 MB, free: 12.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.14e-05/0.08125, allocations: 38.25 kB / 437.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.08126, allocations: 192 / 437.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.08128, allocations: 3.938 kB / 437.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.08128, allocations: 0 / 437.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.08132, allocations: 11.92 kB / 437.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.0815, allocations: 153.7 kB / 437.2 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.08155, allocations: 22.58 kB / 437.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.08158, allocations: 16.91 kB / 437.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.0816, allocations: 0 / 437.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.08163, allocations: 34.56 kB / 437.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.08163, allocations: 0 / 437.3 MB, free: 11.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000288/0.08192, allocations: 65.84 kB / 437.4 MB, free: 11.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.08198, allocations: 59.59 kB / 437.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.001e-05/0.08204, allocations: 93.84 kB / 437.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.08206, allocations: 25.7 kB / 437.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.0821, allocations: 84.14 kB / 437.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.08213, allocations: 15.75 kB / 437.6 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.08216, allocations: 13.72 kB / 437.6 MB, free: 11.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.08227, allocations: 318.8 kB / 438 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.08229, allocations: 4.125 kB / 438 MB, free: 11.04 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.213e-05/0.08231, allocations: 11.88 kB / 438 MB, free: 11.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.663e-05/0.08235, allocations: 16.86 kB / 438 MB, free: 11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.08235, allocations: 0 / 438 MB, free: 11 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.761e-05/0.08243, allocations: 45.69 kB / 438 MB, free: 10.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.08245, allocations: 10.44 kB / 438 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.08246, allocations: 0 / 438 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.08247, allocations: 0 / 438 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.08256, allocations: 11.98 kB / 438.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.08257, allocations: 0 / 438.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.0826, allocations: 7.938 kB / 438.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.08261, allocations: 4 kB / 438.1 MB, free: 10.92 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 7.173e-05/0.08268, allocations: 117.7 kB / 438.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.0827, allocations: 3.938 kB / 438.2 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.08281, allocations: 53.19 kB / 438.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.08282, allocations: 3.984 kB / 438.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.08283, allocations: 0 / 438.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.08284, allocations: 0 / 438.2 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.671e-05/0.08294, allocations: 153.7 kB / 438.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.08295, allocations: 0 / 438.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.083, allocations: 12 kB / 438.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.08301, allocations: 3.938 kB / 438.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.08302, allocations: 0 / 438.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.08303, allocations: 0 / 438.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.08303, allocations: 0 / 438.4 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.08313, allocations: 73.06 kB / 438.5 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.08317, allocations: 85.3 kB / 438.6 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.08319, allocations: 7.938 kB / 438.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.133e-05/0.08321, allocations: 4 kB / 438.6 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.08323, allocations: 7.969 kB / 438.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.08324, allocations: 4 kB / 438.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.812e-05/0.08327, allocations: 75.28 kB / 438.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08328, allocations: 0 / 438.7 MB, free: 10.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.08346, allocations: 4 kB / 438.7 MB, free: 10.22 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.367e-05/0.08355, allocations: 99.28 kB / 438.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.08363, allocations: 19.92 kB / 438.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.08364, allocations: 0 / 438.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.558e-05/0.08366, allocations: 15.94 kB / 438.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.0838, allocations: 0 / 438.8 MB, free: 10.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.084, allocations: 122.8 kB / 438.9 MB, free: 9.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.08423, allocations: 0.6729 MB / 439.6 MB, free: 9.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.08426, allocations: 15.42 kB / 439.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08426, allocations: 4 kB / 439.6 MB, free: 9.207 MB / 318.1 MB Notification: Performance of Templates: time 0.001661/0.08593, allocations: 439.7 kB / 440 MB, free: 8.777 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 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)