Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.245/1.245, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002649/0.000265, allocations: 8 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0551/0.05539, allocations: 25.17 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.173/2.229, allocations: 0.6794 GB / 0.8592 GB, free: 52.01 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/2.229, allocations: 65.59 kB / 0.8592 GB, free: 51.98 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6158/2.845, allocations: 72.88 MB / 0.9304 GB, free: 49.39 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.697e-06/2.845, allocations: 0 / 0.9304 GB, free: 49.39 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.849e-06/2.845, allocations: 0 / 0.9304 GB, free: 49.39 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.001402/2.846, allocations: 473.8 kB / 0.9308 GB, free: 48.96 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/2.847, allocations: 15.45 kB / 0.9309 GB, free: 48.96 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/2.847, allocations: 3.688 kB / 0.9309 GB, free: 48.96 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/2.847, allocations: 175.3 kB / 0.931 GB, free: 48.75 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/2.847, allocations: 7.062 kB / 0.931 GB, free: 48.75 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/2.847, allocations: 3.719 kB / 0.931 GB, free: 48.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/2.847, allocations: 110.1 kB / 0.9311 GB, free: 48.72 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/2.848, allocations: 3.938 kB / 0.9311 GB, free: 48.72 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/2.848, allocations: 3.469 kB / 0.9311 GB, free: 48.72 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/2.848, allocations: 0 / 0.9311 GB, free: 48.72 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/2.848, allocations: 128.2 kB / 0.9313 GB, free: 48.72 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/2.849, allocations: 369.1 kB / 0.9316 GB, free: 48.44 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/2.85, allocations: 84.22 kB / 0.9317 GB, free: 48.42 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008873/2.851, allocations: 139.3 kB / 0.9318 GB, free: 48.32 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/2.851, allocations: 39.59 kB / 0.9319 GB, free: 48.29 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 3.657e-06/2.851, allocations: 0 / 0.9319 GB, free: 48.29 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008927/2.852, allocations: 104 kB / 0.932 GB, free: 48.25 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/2.852, allocations: 59.33 kB / 0.932 GB, free: 48.19 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/2.852, allocations: 128.2 kB / 0.9321 GB, free: 48.08 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/2.853, allocations: 29.64 kB / 0.9322 GB, free: 48.05 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/2.853, allocations: 164.2 kB / 0.9323 GB, free: 47.89 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/2.853, allocations: 34.14 kB / 0.9324 GB, free: 47.87 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/2.853, allocations: 3.969 kB / 0.9324 GB, free: 47.87 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/2.853, allocations: 318.5 kB / 0.9327 GB, free: 47.56 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/2.853, allocations: 24 kB / 0.9327 GB, free: 47.56 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/2.853, allocations: 76.97 kB / 0.9328 GB, free: 47.51 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/2.854, allocations: 37.56 kB / 0.9328 GB, free: 47.51 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/2.854, allocations: 0 / 0.9328 GB, free: 47.51 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007755/2.855, allocations: 136.1 kB / 0.9329 GB, free: 47.48 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/2.855, allocations: 6.344 kB / 0.9329 GB, free: 47.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/2.855, allocations: 2.594 kB / 0.9329 GB, free: 47.48 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/2.855, allocations: 3.938 kB / 0.9329 GB, free: 47.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/2.855, allocations: 28.38 kB / 0.933 GB, free: 47.48 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/2.855, allocations: 7.938 kB / 0.933 GB, free: 47.48 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/2.855, allocations: 19.33 kB / 0.933 GB, free: 47.46 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/2.855, allocations: 8.656 kB / 0.933 GB, free: 47.46 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 () * Number of clocked 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 0.0001456/2.856, allocations: 121.5 kB / 0.9331 GB, free: 47.35 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/2.856, allocations: 10.53 kB / 0.9331 GB, free: 47.35 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/2.857, allocations: 233.3 kB / 0.9334 GB, free: 47.27 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/2.857, allocations: 3.688 kB / 0.9334 GB, free: 47.27 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/2.857, allocations: 0 / 0.9334 GB, free: 47.27 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/2.857, allocations: 0 / 0.9334 GB, free: 47.27 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/2.857, allocations: 217.6 kB / 0.9336 GB, free: 47.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/2.857, allocations: 5.594 kB / 0.9336 GB, free: 47.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/2.857, allocations: 16.09 kB / 0.9336 GB, free: 47.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/2.857, allocations: 2.844 kB / 0.9336 GB, free: 47.07 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/2.857, allocations: 3.438 kB / 0.9336 GB, free: 47.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/2.857, allocations: 0 / 0.9336 GB, free: 47.07 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/2.858, allocations: 7.609 kB / 0.9336 GB, free: 47.07 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/2.858, allocations: 155.4 kB / 0.9338 GB, free: 47 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/2.858, allocations: 117.8 kB / 0.9339 GB, free: 46.89 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/2.858, allocations: 0 / 0.9339 GB, free: 46.89 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/2.859, allocations: 10.78 kB / 0.9339 GB, free: 46.89 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/2.859, allocations: 5.5 kB / 0.9339 GB, free: 46.89 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/2.859, allocations: 7.172 kB / 0.9339 GB, free: 46.89 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002816/2.859, allocations: 160.9 kB / 0.934 GB, free: 46.81 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.41e-07/2.859, allocations: 0 / 0.934 GB, free: 46.81 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00227/2.861, allocations: 268.6 kB / 0.9343 GB, free: 46.76 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 () * Number of clocked 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.004137/2.866, allocations: 0.9478 MB / 0.9352 GB, free: 46.56 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007642/2.866, allocations: 101 kB / 0.9353 GB, free: 46.56 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/2.866, allocations: 0 / 0.9353 GB, free: 46.56 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/2.867, allocations: 50.94 kB / 0.9354 GB, free: 46.56 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005321/2.867, allocations: 28.25 kB / 0.9354 GB, free: 46.55 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/2.868, allocations: 355.1 kB / 0.9357 GB, free: 46.34 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/2.869, allocations: 0.7094 MB / 0.9364 GB, free: 45.64 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/2.869, allocations: 24.38 kB / 0.9364 GB, free: 45.64 MB / 234.7 MB Notification: Performance of SimCode: time 1.463e-06/2.869, allocations: 3.469 kB / 0.9365 GB, free: 45.64 MB / 234.7 MB Notification: Performance of Templates: time 0.02742/2.896, allocations: 8.404 MB / 0.9447 GB, free: 44.68 MB / 234.7 MB