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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07559/0.07559, allocations: 17.68 MB / 33.63 MB, free: 1.742 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 177.8 kB / 38.91 MB, free: 8 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 249.5 MB, free: 2.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008278/0.0008277, allocations: 100.8 kB / 302.2 MB, free: 4.426 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004086/0.0004088, allocations: 12.22 kB / 364.9 MB, free: 5.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2925, allocations: 51.98 MB / 416.9 MB, free: 24.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.4025, allocations: 76.04 MB / 492.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4028, allocations: 63.97 kB / 493 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0009689/0.4037, allocations: 474.8 kB / 493.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4038, allocations: 0 / 493.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.4038, allocations: 0 / 493.4 MB, free: 11.99 MB / 362.7 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.000312/0.4041, allocations: 335.5 kB / 493.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4042, allocations: 8.031 kB / 493.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.4042, allocations: 0.9375 kB / 493.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.4043, allocations: 164.4 kB / 493.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4043, allocations: 384 / 493.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.4044, allocations: 4.281 kB / 493.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4045, allocations: 34.25 kB / 494 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4045, allocations: 192 / 494 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.4045, allocations: 7.938 kB / 494 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4045, allocations: 7.938 kB / 494 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.62e-05/0.4046, allocations: 4 kB / 494 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.4047, allocations: 149.7 kB / 494.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.4048, allocations: 26.08 kB / 494.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.4048, allocations: 4.859 kB / 494.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.4049, allocations: 4.062 kB / 494.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.4049, allocations: 38.56 kB / 494.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4049, allocations: 0 / 494.2 MB, free: 11.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003169/0.4053, allocations: 69.55 kB / 494.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4053, allocations: 51.41 kB / 494.3 MB, free: 10.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/0.4054, allocations: 97.8 kB / 494.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.4054, allocations: 29.69 kB / 494.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.4055, allocations: 80.14 kB / 494.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.4055, allocations: 16.16 kB / 494.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.4055, allocations: 4 kB / 494.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4057, allocations: 310.8 kB / 494.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.4057, allocations: 7.938 kB / 494.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.4057, allocations: 7.984 kB / 494.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.4057, allocations: 17 kB / 494.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-07/0.4058, allocations: 0 / 494.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.287e-05/0.4058, allocations: 53.58 kB / 494.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4059, allocations: 7.938 kB / 495 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4059, allocations: 0 / 495 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.4059, allocations: 4 kB / 495 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.406, allocations: 12 kB / 495 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.406, allocations: 7.875 kB / 495 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.406, allocations: 0 / 495 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.406, allocations: 4 kB / 495 MB, free: 10.24 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.851e-05/0.4061, allocations: 113.8 kB / 495.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.4061, allocations: 3.938 kB / 495.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.4063, allocations: 53.19 kB / 495.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4063, allocations: 4 kB / 495.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4063, allocations: 0 / 495.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4063, allocations: 0 / 495.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.4064, allocations: 153.7 kB / 495.3 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4064, allocations: 0 / 495.3 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.882e-05/0.4065, allocations: 8 kB / 495.3 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.4065, allocations: 7.922 kB / 495.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.4065, allocations: 0 / 495.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4065, allocations: 3.938 kB / 495.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4065, allocations: 0 / 495.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.4066, allocations: 73.12 kB / 495.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.4067, allocations: 81.11 kB / 495.5 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4067, allocations: 3.938 kB / 495.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.907e-05/0.4067, allocations: 0 / 495.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.4067, allocations: 0 / 495.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.4067, allocations: 0 / 495.5 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.379e-05/0.4068, allocations: 79.28 kB / 495.6 MB, free: 9.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4068, allocations: 4.094 kB / 495.6 MB, free: 9.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.407, allocations: 8 kB / 495.6 MB, free: 9.551 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.845e-05/0.4071, allocations: 95.23 kB / 495.7 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.4072, allocations: 19.94 kB / 495.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4072, allocations: 3.938 kB / 495.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.501e-05/0.4072, allocations: 7.984 kB / 495.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.4073, allocations: 0 / 495.7 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.4076, allocations: 98.61 kB / 495.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.4078, allocations: 0.677 MB / 496.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.21e-05/0.4079, allocations: 0 / 496.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.4079, allocations: 15.44 kB / 496.5 MB, free: 8.574 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4079, allocations: 0 / 496.5 MB, free: 8.574 MB / 362.7 MB Notification: Performance of Templates: time 0.001846/0.4097, allocations: 236.8 kB / 496.7 MB, free: 8.344 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1)