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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.01/1.01, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.575e-05, allocations: 4 kB / 148.1 MB, free: 6.238 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04895/0.04898, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.528/1.577, allocations: 0.6787 GB / 0.8479 GB, free: 17.5 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/1.577, allocations: 59.97 kB / 0.848 GB, free: 17.45 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3477/1.925, allocations: 71.65 MB / 0.918 GB, free: 43.61 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.006e-06/1.925, allocations: 0 / 0.918 GB, free: 43.61 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.46e-06/1.925, allocations: 0 / 0.918 GB, free: 43.61 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.0006528/1.926, allocations: 465 kB / 0.9184 GB, free: 43.11 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/1.926, allocations: 12.02 kB / 0.9184 GB, free: 43.1 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/1.926, allocations: 11.86 kB / 0.9184 GB, free: 43.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/1.926, allocations: 167.1 kB / 0.9186 GB, free: 42.88 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/1.926, allocations: 4 kB / 0.9186 GB, free: 42.88 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/1.926, allocations: 4 kB / 0.9186 GB, free: 42.88 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002205/1.926, allocations: 104 kB / 0.9187 GB, free: 42.77 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/1.926, allocations: 97.58 kB / 0.9188 GB, free: 42.67 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.173e-06/1.926, allocations: 0 / 0.9188 GB, free: 42.67 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/1.927, allocations: 7.984 kB / 0.9188 GB, free: 42.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.916e-06/1.927, allocations: 7.875 kB / 0.9188 GB, free: 42.66 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/1.928, allocations: 0.5773 MB / 0.9194 GB, free: 42 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/1.928, allocations: 58.55 kB / 0.9194 GB, free: 41.94 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/1.928, allocations: 17.11 kB / 0.9194 GB, free: 41.92 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/1.928, allocations: 141 kB / 0.9196 GB, free: 41.76 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/1.928, allocations: 38.45 kB / 0.9196 GB, free: 41.71 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.198e-06/1.928, allocations: 4 kB / 0.9196 GB, free: 41.71 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007676/1.929, allocations: 113.6 kB / 0.9197 GB, free: 41.59 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.612e-05/1.929, allocations: 51.41 kB / 0.9198 GB, free: 41.53 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/1.929, allocations: 120.9 kB / 0.9199 GB, free: 41.41 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.646e-06/1.929, allocations: 25.7 kB / 0.9199 GB, free: 41.38 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.808e-05/1.929, allocations: 174.4 kB / 0.9201 GB, free: 41.2 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/1.929, allocations: 23.66 kB / 0.9201 GB, free: 41.18 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/1.929, allocations: 0 / 0.9201 GB, free: 41.18 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/1.929, allocations: 322.8 kB / 0.9204 GB, free: 40.85 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/1.93, allocations: 20 kB / 0.9204 GB, free: 40.83 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.872e-05/1.93, allocations: 57.14 kB / 0.9205 GB, free: 40.76 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007265/1.93, allocations: 103.9 kB / 0.9206 GB, free: 40.66 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.285e-06/1.93, allocations: 4 kB / 0.9206 GB, free: 40.65 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008541/1.931, allocations: 177.5 kB / 0.9207 GB, free: 40.47 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.931, allocations: 10.34 kB / 0.9208 GB, free: 40.46 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.239e-06/1.931, allocations: 3.984 kB / 0.9208 GB, free: 40.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/1.931, allocations: 7.953 kB / 0.9208 GB, free: 40.45 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.931, allocations: 31.92 kB / 0.9208 GB, free: 40.42 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.931, allocations: 4 kB / 0.9208 GB, free: 40.42 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.932, allocations: 19.77 kB / 0.9208 GB, free: 40.4 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/1.932, allocations: 16.12 kB / 0.9208 GB, free: 40.38 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.652e-05/1.932, allocations: 104.9 kB / 0.9209 GB, free: 40.27 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/1.932, allocations: 7.906 kB / 0.9209 GB, free: 40.27 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/1.933, allocations: 202.5 kB / 0.9211 GB, free: 40.06 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.765e-06/1.933, allocations: 11.94 kB / 0.9211 GB, free: 40.05 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.702e-06/1.933, allocations: 0 / 0.9211 GB, free: 40.05 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.302e-06/1.933, allocations: 0 / 0.9211 GB, free: 40.05 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/1.933, allocations: 170.1 kB / 0.9213 GB, free: 39.85 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-06/1.933, allocations: 0 / 0.9213 GB, free: 39.85 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/1.933, allocations: 11.98 kB / 0.9213 GB, free: 39.84 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.077e-06/1.933, allocations: 8 kB / 0.9213 GB, free: 39.83 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/1.933, allocations: 0 / 0.9213 GB, free: 39.83 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.217e-06/1.933, allocations: 0 / 0.9213 GB, free: 39.83 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.399e-06/1.933, allocations: 0 / 0.9213 GB, free: 39.83 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000749/1.934, allocations: 279.2 kB / 0.9216 GB, free: 39.54 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/1.934, allocations: 93 kB / 0.9217 GB, free: 39.43 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/1.934, allocations: 8.047 kB / 0.9217 GB, free: 39.42 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/1.934, allocations: 4 kB / 0.9217 GB, free: 39.42 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/1.934, allocations: 11.98 kB / 0.9217 GB, free: 39.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/1.934, allocations: 8 kB / 0.9217 GB, free: 39.4 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.398e-05/1.934, allocations: 103.2 kB / 0.9218 GB, free: 39.3 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.99e-07/1.934, allocations: 0 / 0.9218 GB, free: 39.3 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009604/1.935, allocations: 247.8 kB / 0.922 GB, free: 39.05 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.001896/1.937, allocations: 1.056 MB / 0.9231 GB, free: 37.99 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00023/1.937, allocations: 79.91 kB / 0.9232 GB, free: 37.91 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.252e-06/1.937, allocations: 0 / 0.9232 GB, free: 37.91 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/1.937, allocations: 56.11 kB / 0.9232 GB, free: 37.86 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/1.938, allocations: 15.98 kB / 0.9232 GB, free: 37.84 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/1.938, allocations: 169.9 kB / 0.9234 GB, free: 37.65 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/1.938, allocations: 0.6963 MB / 0.9241 GB, free: 36.93 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.664e-05/1.938, allocations: 27.44 kB / 0.9241 GB, free: 36.9 MB / 234.7 MB Notification: Performance of SimCode: time 1.424e-06/1.938, allocations: 0 / 0.9241 GB, free: 36.9 MB / 234.7 MB Notification: Performance of Templates: time 0.01243/1.951, allocations: 8.231 MB / 0.9321 GB, free: 28.66 MB / 234.7 MB