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.001259/0.00126, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0108/0.0108, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2131/0.2131, allocations: 22.35 MB / 313.8 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003889, allocations: 8 kB / 382.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2813, allocations: 55.98 MB / 438.6 MB, free: 39.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.0006502/0.282, allocations: 245.4 kB / 438.8 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.2821, allocations: 40.91 kB / 438.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.2822, allocations: 0 / 438.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.2822, allocations: 3.375 kB / 438.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.45e-05/0.2822, allocations: 0 / 438.8 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.2824, allocations: 3.938 kB / 438.9 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.435e-05/0.2825, allocations: 6.906 kB / 438.9 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.2825, allocations: 2.875 kB / 438.9 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.2825, allocations: 0 / 438.9 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.18e-05/0.2826, allocations: 10.47 kB / 438.9 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.2826, allocations: 0 / 438.9 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.013e-06/0.2827, allocations: 6.781 kB / 438.9 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.2827, allocations: 7.172 kB / 438.9 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.2827, allocations: 25.7 kB / 438.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.534e-05/0.2828, allocations: 9.953 kB / 438.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2828, allocations: 0 / 438.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2828, allocations: 0 / 438.9 MB, free: 39.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.2828, allocations: 0 / 438.9 MB, free: 39.27 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.0003165/0.2831, allocations: 322.2 kB / 439.2 MB, free: 38.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2831, allocations: 12.94 kB / 439.2 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.2832, allocations: 8.938 kB / 439.3 MB, free: 38.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.195e-05/0.2833, allocations: 164.3 kB / 439.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2833, allocations: 3.344 kB / 439.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2833, allocations: 384 / 439.4 MB, free: 38.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.763e-05/0.2834, allocations: 36.31 kB / 439.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.2834, allocations: 192 / 439.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2834, allocations: 3.938 kB / 439.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2834, allocations: 0 / 439.5 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.2835, allocations: 6.375 kB / 439.5 MB, free: 38.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.2836, allocations: 158.3 kB / 439.6 MB, free: 38.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.448e-05/0.2836, allocations: 27.33 kB / 439.6 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.656e-05/0.2837, allocations: 4.859 kB / 439.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.2837, allocations: 3 kB / 439.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.2837, allocations: 34.5 kB / 439.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2837, allocations: 0 / 439.7 MB, free: 38.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002751/0.284, allocations: 70.17 kB / 439.8 MB, free: 38.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.284, allocations: 55.34 kB / 439.8 MB, free: 38.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.345e-05/0.2841, allocations: 99.98 kB / 439.9 MB, free: 38.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.2841, allocations: 25.7 kB / 439.9 MB, free: 38.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.503e-05/0.2841, allocations: 80.14 kB / 440 MB, free: 38.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.2841, allocations: 18.56 kB / 440 MB, free: 38.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.2842, allocations: 13.72 kB / 440 MB, free: 38.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.2842, allocations: 311.2 kB / 440.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.2842, allocations: 10.23 kB / 440.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/0.2842, allocations: 3.031 kB / 440.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.268e-05/0.2843, allocations: 17.67 kB / 440.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.2843, allocations: 0 / 440.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.517e-05/0.2843, allocations: 44.39 kB / 440.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2844, allocations: 6.781 kB / 440.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2844, allocations: 10.44 kB / 440.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2844, allocations: 0 / 440.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.757e-05/0.2845, allocations: 5.844 kB / 440.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2845, allocations: 0 / 440.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.2845, allocations: 19.92 kB / 440.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2845, allocations: 0 / 440.5 MB, free: 37.64 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 6.057e-05/0.2846, allocations: 113 kB / 440.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.2846, allocations: 3.938 kB / 440.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.08e-05/0.2847, allocations: 51.28 kB / 440.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2847, allocations: 2.906 kB / 440.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.2847, allocations: 0 / 440.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2847, allocations: 0 / 440.6 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.801e-05/0.2848, allocations: 155.7 kB / 440.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2848, allocations: 0 / 440.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.2849, allocations: 14.98 kB / 440.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2849, allocations: 3.938 kB / 440.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2849, allocations: 0 / 440.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.2849, allocations: 0 / 440.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2849, allocations: 2.688 kB / 440.8 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.574e-05/0.285, allocations: 66.81 kB / 440.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.177e-05/0.285, allocations: 87.11 kB / 441 MB, free: 37.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.285, allocations: 7.875 kB / 441 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.772e-05/0.285, allocations: 0 / 441 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.285, allocations: 2.625 kB / 441 MB, free: 37.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.285, allocations: 0 / 441 MB, free: 37.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 1.759e-05/0.2851, allocations: 79.22 kB / 441 MB, free: 37.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.2851, allocations: 0 / 441 MB, free: 37.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.2853, allocations: 3.938 kB / 441 MB, free: 37.02 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 7.643e-05/0.2854, allocations: 104.8 kB / 441.1 MB, free: 36.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.2854, allocations: 13.53 kB / 441.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2854, allocations: 0 / 441.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.503e-05/0.2855, allocations: 12.81 kB / 441.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.2856, allocations: 2.75 kB / 441.2 MB, free: 36.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.2858, allocations: 99.28 kB / 441.3 MB, free: 36.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.2859, allocations: 0.6752 MB / 441.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.957e-05/0.2859, allocations: 7 kB / 442 MB, free: 36.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.2859, allocations: 7.438 kB / 442 MB, free: 36.1 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2859, allocations: 3.938 kB / 442 MB, free: 36.09 MB / 350.1 MB Notification: Performance of Templates: time 0.001841/0.2878, allocations: 243 kB / 442.2 MB, free: 36.04 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)