Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 0.9845/0.9845, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.104e-05, allocations: 4 kB / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1351, allocations: 25.15 MB / 179.4 MB, free: 0.7891 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.561/1.696, allocations: 0.6794 GB / 0.8546 GB, free: 8.75 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/1.696, allocations: 61.41 kB / 0.8546 GB, free: 8.719 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3549/2.051, allocations: 72.69 MB / 0.9256 GB, free: 32.77 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.481e-06/2.051, allocations: 3.938 kB / 0.9256 GB, free: 32.76 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.317e-06/2.051, allocations: 0 / 0.9256 GB, free: 32.76 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006714/2.052, allocations: 470 kB / 0.9261 GB, free: 32.26 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/2.052, allocations: 12.03 kB / 0.9261 GB, free: 32.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.876e-05/2.052, allocations: 7.953 kB / 0.9261 GB, free: 32.24 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.689e-05/2.052, allocations: 167.1 kB / 0.9263 GB, free: 32.04 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/2.052, allocations: 4 kB / 0.9263 GB, free: 32.03 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/2.052, allocations: 4 kB / 0.9263 GB, free: 32.03 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/2.053, allocations: 101.6 kB / 0.9264 GB, free: 31.92 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.94e-06/2.053, allocations: 3.984 kB / 0.9264 GB, free: 31.92 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/2.053, allocations: 4 kB / 0.9264 GB, free: 31.91 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.52e-06/2.053, allocations: 0 / 0.9264 GB, free: 31.91 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/2.053, allocations: 119.8 kB / 0.9265 GB, free: 31.8 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/2.053, allocations: 368.6 kB / 0.9268 GB, free: 31.39 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/2.054, allocations: 70.67 kB / 0.9269 GB, free: 31.31 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/2.054, allocations: 28.81 kB / 0.9269 GB, free: 31.28 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004051/2.054, allocations: 137 kB / 0.9271 GB, free: 31.12 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/2.054, allocations: 34.5 kB / 0.9271 GB, free: 31.08 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 2.197e-06/2.054, allocations: 0 / 0.9271 GB, free: 31.08 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002285/2.054, allocations: 81.58 kB / 0.9272 GB, free: 31 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/2.054, allocations: 51.41 kB / 0.9272 GB, free: 30.93 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/2.055, allocations: 113.1 kB / 0.9273 GB, free: 30.81 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/2.055, allocations: 29.7 kB / 0.9274 GB, free: 30.78 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.752e-05/2.055, allocations: 170.4 kB / 0.9275 GB, free: 30.61 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/2.055, allocations: 35.53 kB / 0.9275 GB, free: 30.57 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.821e-06/2.055, allocations: 7.938 kB / 0.9276 GB, free: 30.57 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/2.055, allocations: 314.8 kB / 0.9279 GB, free: 30.25 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/2.055, allocations: 27.98 kB / 0.9279 GB, free: 30.22 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.053e-05/2.055, allocations: 65.22 kB / 0.9279 GB, free: 30.14 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.593e-05/2.055, allocations: 31.97 kB / 0.928 GB, free: 30.11 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-06/2.055, allocations: 0 / 0.928 GB, free: 30.11 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002591/2.055, allocations: 125.5 kB / 0.9281 GB, free: 29.98 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/2.055, allocations: 7.953 kB / 0.9281 GB, free: 29.97 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/2.055, allocations: 4 kB / 0.9281 GB, free: 29.97 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/2.055, allocations: 4.125 kB / 0.9281 GB, free: 29.96 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/2.056, allocations: 31.92 kB / 0.9281 GB, free: 29.93 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.635e-06/2.056, allocations: 4 kB / 0.9281 GB, free: 29.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/2.056, allocations: 11.89 kB / 0.9282 GB, free: 29.92 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/2.056, allocations: 12 kB / 0.9282 GB, free: 29.91 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.996e-05/2.056, allocations: 112.9 kB / 0.9283 GB, free: 29.79 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/2.056, allocations: 11.91 kB / 0.9283 GB, free: 29.78 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004368/2.056, allocations: 227.4 kB / 0.9285 GB, free: 29.54 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/2.056, allocations: 0 / 0.9285 GB, free: 29.54 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.119e-06/2.056, allocations: 128 / 0.9285 GB, free: 29.54 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.225e-06/2.056, allocations: 4 kB / 0.9285 GB, free: 29.54 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/2.057, allocations: 213.5 kB / 0.9287 GB, free: 29.28 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-06/2.057, allocations: 4 kB / 0.9287 GB, free: 29.27 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.76e-05/2.057, allocations: 15.98 kB / 0.9287 GB, free: 29.26 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.134e-06/2.057, allocations: 0 / 0.9287 GB, free: 29.26 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/2.057, allocations: 0 / 0.9287 GB, free: 29.26 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.695e-06/2.057, allocations: 3.953 kB / 0.9287 GB, free: 29.25 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.057, allocations: 4 kB / 0.9287 GB, free: 29.25 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/2.057, allocations: 148.8 kB / 0.9289 GB, free: 29.09 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.697e-05/2.057, allocations: 120.8 kB / 0.929 GB, free: 28.95 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/2.057, allocations: 8 kB / 0.929 GB, free: 28.94 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/2.057, allocations: 0 / 0.929 GB, free: 28.94 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.732e-05/2.057, allocations: 11.94 kB / 0.929 GB, free: 28.93 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/2.057, allocations: 4.375 kB / 0.929 GB, free: 28.93 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001432/2.057, allocations: 163.5 kB / 0.9292 GB, free: 28.77 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.48e-07/2.057, allocations: 0 / 0.9292 GB, free: 28.77 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001005/2.058, allocations: 263.7 kB / 0.9294 GB, free: 28.51 MB / 234.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001973/2.06, allocations: 0.9533 MB / 0.9304 GB, free: 27.56 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002481/2.061, allocations: 91.84 kB / 0.9304 GB, free: 27.47 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.918e-06/2.061, allocations: 0 / 0.9304 GB, free: 27.47 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.204e-05/2.061, allocations: 51.92 kB / 0.9305 GB, free: 27.42 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/2.061, allocations: 15.98 kB / 0.9305 GB, free: 27.4 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/2.062, allocations: 212.2 kB / 0.9307 GB, free: 27.17 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/2.062, allocations: 0.7121 MB / 0.9314 GB, free: 26.43 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.081e-05/2.062, allocations: 19.44 kB / 0.9314 GB, free: 26.41 MB / 234.7 MB Notification: Performance of SimCode: time 1.642e-06/2.062, allocations: 0 / 0.9314 GB, free: 26.41 MB / 234.7 MB Notification: Performance of Templates: time 0.0129/2.075, allocations: 8.384 MB / 0.9396 GB, free: 18.03 MB / 234.7 MB