Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.646/1.646, allocations: 171.2 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 8 kB / 233.8 MB, free: 3.062 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08294, allocations: 38.76 MB / 272.5 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.654/1.737, allocations: 0.5851 GB / 0.8512 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/1.738, allocations: 74.84 kB / 0.8513 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3879/2.126, allocations: 41.74 MB / 0.892 GB, free: 114.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/2.126, allocations: 0 / 0.892 GB, free: 114.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/2.126, allocations: 4 kB / 0.892 GB, free: 114.3 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.0006783/2.126, allocations: 462.8 kB / 0.8925 GB, free: 113.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/2.127, allocations: 12.02 kB / 0.8925 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/2.128, allocations: 87.88 kB / 0.8926 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/2.128, allocations: 218.9 kB / 0.8928 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/2.128, allocations: 0 / 0.8928 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/2.129, allocations: 15.95 kB / 0.8928 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/2.129, allocations: 87.27 kB / 0.8929 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/2.129, allocations: 3.938 kB / 0.8929 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/2.129, allocations: 4 kB / 0.8929 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/2.129, allocations: 4 kB / 0.8929 GB, free: 113.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/2.129, allocations: 39.95 kB / 0.8929 GB, free: 113.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/2.129, allocations: 210.8 kB / 0.8931 GB, free: 113.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/2.13, allocations: 121.1 kB / 0.8933 GB, free: 112.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008193/2.131, allocations: 1.391 MB / 0.8946 GB, free: 111.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/2.131, allocations: 30.56 kB / 0.8946 GB, free: 111.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/2.131, allocations: 4 kB / 0.8946 GB, free: 111.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007034/2.132, allocations: 133.7 kB / 0.8948 GB, free: 111.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/2.132, allocations: 81.11 kB / 0.8949 GB, free: 111 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/2.132, allocations: 153.8 kB / 0.895 GB, free: 110.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/2.132, allocations: 25.7 kB / 0.895 GB, free: 110.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/2.132, allocations: 158.5 kB / 0.8952 GB, free: 110.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/2.132, allocations: 23.66 kB / 0.8952 GB, free: 110.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/2.132, allocations: 0 / 0.8952 GB, free: 110.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/2.132, allocations: 326.7 kB / 0.8955 GB, free: 110.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/2.133, allocations: 23.98 kB / 0.8955 GB, free: 110.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/2.133, allocations: 51.72 kB / 0.8956 GB, free: 110.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/2.133, allocations: 35.97 kB / 0.8956 GB, free: 110.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/2.133, allocations: 0 / 0.8956 GB, free: 110.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004738/2.133, allocations: 117.5 kB / 0.8957 GB, free: 110 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/2.133, allocations: 4 kB / 0.8957 GB, free: 110 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/2.133, allocations: 4 kB / 0.8957 GB, free: 110 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/2.133, allocations: 3.938 kB / 0.8957 GB, free: 110 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/2.134, allocations: 27.97 kB / 0.8958 GB, free: 110 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/2.134, allocations: 160 / 0.8958 GB, free: 110 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/2.134, allocations: 7.984 kB / 0.8958 GB, free: 110 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/2.134, allocations: 11.98 kB / 0.8958 GB, free: 110 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 () * Number of clocked 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 8.084e-05/2.134, allocations: 121.8 kB / 0.8959 GB, free: 109.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/2.134, allocations: 11.91 kB / 0.8959 GB, free: 109.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007347/2.135, allocations: 229.2 kB / 0.8961 GB, free: 109.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/2.135, allocations: 0 / 0.8961 GB, free: 109.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.135, allocations: 4 kB / 0.8961 GB, free: 109.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/2.135, allocations: 3.984 kB / 0.8961 GB, free: 109.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/2.135, allocations: 226.9 kB / 0.8964 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/2.135, allocations: 0 / 0.8964 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/2.136, allocations: 19.97 kB / 0.8964 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/2.136, allocations: 4.062 kB / 0.8964 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/2.136, allocations: 11.98 kB / 0.8964 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/2.136, allocations: 0 / 0.8964 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.136, allocations: 4 kB / 0.8964 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/2.136, allocations: 181.7 kB / 0.8966 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/2.136, allocations: 89.41 kB / 0.8967 GB, free: 109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/2.136, allocations: 4 kB / 0.8967 GB, free: 109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/2.137, allocations: 7.984 kB / 0.8967 GB, free: 109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/2.137, allocations: 7.984 kB / 0.8967 GB, free: 108.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/2.137, allocations: 4 kB / 0.8967 GB, free: 108.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002379/2.137, allocations: 131.3 kB / 0.8968 GB, free: 108.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.137, allocations: 0 / 0.8968 GB, free: 108.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009527/2.138, allocations: 227.7 kB / 0.897 GB, free: 108.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.001693/2.14, allocations: 0.8484 MB / 0.8978 GB, free: 107.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004004/2.14, allocations: 75.88 kB / 0.8979 GB, free: 107.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/2.14, allocations: 0 / 0.8979 GB, free: 107.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/2.14, allocations: 35.97 kB / 0.898 GB, free: 107.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/2.141, allocations: 12.27 kB / 0.898 GB, free: 107.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/2.141, allocations: 391.7 kB / 0.8983 GB, free: 107.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/2.141, allocations: 0.6965 MB / 0.899 GB, free: 106.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/2.142, allocations: 39.39 kB / 0.8991 GB, free: 106.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/2.142, allocations: 4 kB / 0.8991 GB, free: 106.4 MB / 362.7 MB Notification: Performance of Templates: time 0.01383/2.156, allocations: 7.548 MB / 0.9064 GB, free: 98.87 MB / 362.7 MB