Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001051/0.00105, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.499/1.499, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001902/0.001902, allocations: 108.1 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.609e-05, allocations: 4 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.08961, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.685/1.775, allocations: 0.7307 GB / 1.031 GB, free: 116 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.776, allocations: 70.95 kB / 1.031 GB, free: 80 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.349/2.125, allocations: 77.49 MB / 1.107 GB, free: 77.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/2.125, allocations: 4 kB / 1.107 GB, free: 77.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/2.125, allocations: 0 / 1.107 GB, free: 77.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007287/2.125, allocations: 458.7 kB / 1.107 GB, free: 77.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/2.125, allocations: 8.031 kB / 1.107 GB, free: 77.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/2.126, allocations: 39.86 kB / 1.107 GB, free: 76.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/2.126, allocations: 198.9 kB / 1.107 GB, free: 76.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/2.126, allocations: 0 / 1.107 GB, free: 76.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/2.126, allocations: 4 kB / 1.108 GB, free: 76.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/2.126, allocations: 79.38 kB / 1.108 GB, free: 76.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/2.126, allocations: 0 / 1.108 GB, free: 76.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/2.126, allocations: 0 / 1.108 GB, free: 76.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/2.126, allocations: 0 / 1.108 GB, free: 76.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.132e-05/2.126, allocations: 47.89 kB / 1.108 GB, free: 76.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/2.126, allocations: 194.5 kB / 1.108 GB, free: 76.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/2.127, allocations: 117.2 kB / 1.108 GB, free: 76.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/2.127, allocations: 33.86 kB / 1.108 GB, free: 76.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/2.127, allocations: 141 kB / 1.108 GB, free: 76.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/2.127, allocations: 30.56 kB / 1.108 GB, free: 76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/2.127, allocations: 0 / 1.108 GB, free: 76 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002173/2.127, allocations: 97.52 kB / 1.108 GB, free: 75.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/2.127, allocations: 81.05 kB / 1.108 GB, free: 75.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.538e-05/2.127, allocations: 133 kB / 1.108 GB, free: 75.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/2.127, allocations: 25.7 kB / 1.108 GB, free: 75.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/2.127, allocations: 88.14 kB / 1.109 GB, free: 75.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/2.128, allocations: 19.72 kB / 1.109 GB, free: 75.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/2.128, allocations: 0 / 1.109 GB, free: 75.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/2.128, allocations: 322.8 kB / 1.109 GB, free: 75.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.603e-05/2.128, allocations: 15.98 kB / 1.109 GB, free: 75.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/2.128, allocations: 59.33 kB / 1.109 GB, free: 75.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/2.128, allocations: 31.97 kB / 1.109 GB, free: 75.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/2.128, allocations: 0 / 1.109 GB, free: 75.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001676/2.128, allocations: 105.5 kB / 1.109 GB, free: 74.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/2.128, allocations: 8 kB / 1.109 GB, free: 74.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/2.128, allocations: 160 / 1.109 GB, free: 74.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/2.128, allocations: 0 / 1.109 GB, free: 74.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/2.128, allocations: 19.98 kB / 1.109 GB, free: 74.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/2.128, allocations: 7.922 kB / 1.109 GB, free: 74.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/2.128, allocations: 15.91 kB / 1.109 GB, free: 74.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/2.128, allocations: 8 kB / 1.109 GB, free: 74.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.926e-05/2.128, allocations: 109 kB / 1.109 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/2.128, allocations: 3.953 kB / 1.109 GB, free: 74.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/2.128, allocations: 129.9 kB / 1.109 GB, free: 74.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/2.128, allocations: 4 kB / 1.109 GB, free: 74.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/2.128, allocations: 0 / 1.109 GB, free: 74.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/2.128, allocations: 0 / 1.109 GB, free: 74.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/2.129, allocations: 181.6 kB / 1.11 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/2.129, allocations: 4 kB / 1.11 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/2.129, allocations: 15.98 kB / 1.11 GB, free: 74.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/2.129, allocations: 3.953 kB / 1.11 GB, free: 74.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/2.129, allocations: 4 kB / 1.11 GB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/2.129, allocations: 0 / 1.11 GB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/2.129, allocations: 0 / 1.11 GB, free: 74.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/2.129, allocations: 175.5 kB / 1.11 GB, free: 74.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-05/2.129, allocations: 108.9 kB / 1.11 GB, free: 74.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/2.129, allocations: 4 kB / 1.11 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.598e-05/2.129, allocations: 4 kB / 1.11 GB, free: 74.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/2.129, allocations: 7.984 kB / 1.11 GB, free: 74.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/2.129, allocations: 4 kB / 1.11 GB, free: 74.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.345e-05/2.129, allocations: 107.3 kB / 1.11 GB, free: 73.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/2.129, allocations: 0 / 1.11 GB, free: 73.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001097/2.13, allocations: 267.6 kB / 1.11 GB, free: 73.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 0.001673/2.132, allocations: 0.9525 MB / 1.111 GB, free: 72.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/2.132, allocations: 63.91 kB / 1.111 GB, free: 72.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/2.132, allocations: 0 / 1.111 GB, free: 72.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.498e-05/2.132, allocations: 27.94 kB / 1.111 GB, free: 72.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/2.132, allocations: 23.95 kB / 1.111 GB, free: 72.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/2.133, allocations: 238.4 kB / 1.111 GB, free: 72.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/2.133, allocations: 0.6934 MB / 1.112 GB, free: 71.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.079e-05/2.133, allocations: 19.92 kB / 1.112 GB, free: 71.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/2.133, allocations: 15.44 kB / 1.112 GB, free: 71.6 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/2.133, allocations: 0 / 1.112 GB, free: 71.6 MB / 362.7 MB Notification: Performance of Templates: time 0.01707/2.15, allocations: 14.78 MB / 1.127 GB, free: 56.8 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)