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_sine.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_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.07/1.07, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002758, allocations: 4 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04684/0.04714, allocations: 25.17 MB / 183.5 MB, free: 5.977 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.2251, allocations: 34.6 MB / 218.1 MB, free: 6.586 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.2254, allocations: 63.97 kB / 218.2 MB, free: 6.574 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01916/0.2446, allocations: 5.061 MB / 223.2 MB, free: 4.523 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.676e-06/0.2446, allocations: 0 / 223.2 MB, free: 4.523 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.307e-06/0.2446, allocations: 0 / 223.2 MB, free: 4.523 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002769/0.2449, allocations: 362.3 kB / 223.6 MB, free: 4.141 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.245, allocations: 7.562 kB / 223.6 MB, free: 4.141 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.245, allocations: 11.7 kB / 223.6 MB, free: 4.133 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.2451, allocations: 166.3 kB / 223.8 MB, free: 3.934 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.2451, allocations: 3.719 kB / 223.8 MB, free: 3.934 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2452, allocations: 0 / 223.8 MB, free: 3.934 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.783e-05/0.2453, allocations: 37.48 kB / 223.8 MB, free: 3.895 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.023e-06/0.2453, allocations: 0 / 223.8 MB, free: 3.895 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2453, allocations: 2.688 kB / 223.8 MB, free: 3.895 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.404e-06/0.2453, allocations: 3.953 kB / 223.8 MB, free: 3.891 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.2453, allocations: 7.828 kB / 223.8 MB, free: 3.887 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.2456, allocations: 390.3 kB / 224.2 MB, free: 3.469 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.2457, allocations: 173.1 kB / 224.4 MB, free: 3.289 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.2457, allocations: 75.28 kB / 224.4 MB, free: 3.215 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.2457, allocations: 115.9 kB / 224.5 MB, free: 3.098 MB / 170.7 MB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/0.2458, allocations: 0 / 224.5 MB, free: 3.098 MB / 170.7 MB Notification: Performance of matching and sorting (n=0): time 7.048e-05/0.2458, allocations: 29.66 kB / 224.6 MB, free: 3.062 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.2459, allocations: 152.4 kB / 224.7 MB, free: 2.895 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.246, allocations: 118.4 kB / 224.8 MB, free: 2.793 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.246, allocations: 25.7 kB / 224.9 MB, free: 2.762 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.2461, allocations: 164.7 kB / 225 MB, free: 2.605 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-06/0.2461, allocations: 3.938 kB / 225 MB, free: 2.602 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-06/0.2461, allocations: 0 / 225 MB, free: 2.602 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.2461, allocations: 310.8 kB / 225.3 MB, free: 2.289 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.2462, allocations: 3.938 kB / 225.3 MB, free: 2.289 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.2462, allocations: 10.73 kB / 225.3 MB, free: 2.285 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/0.2462, allocations: 4.094 kB / 225.4 MB, free: 2.281 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-06/0.2462, allocations: 0 / 225.4 MB, free: 2.281 MB / 170.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001038/0.2464, allocations: 36.89 kB / 225.4 MB, free: 2.25 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.2464, allocations: 7.844 kB / 225.4 MB, free: 2.25 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-06/0.2464, allocations: 4 kB / 225.4 MB, free: 2.246 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2464, allocations: 0 / 225.4 MB, free: 2.246 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.303e-05/0.2465, allocations: 3.953 kB / 225.4 MB, free: 2.242 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2465, allocations: 7.828 kB / 225.4 MB, free: 2.238 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.2465, allocations: 0 / 225.4 MB, free: 2.238 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.2466, allocations: 3.938 kB / 225.4 MB, free: 2.234 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.862e-05/0.2466, allocations: 196.9 kB / 225.6 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.2467, allocations: 108.5 kB / 225.7 MB, free: 1.926 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.2468, allocations: 112.8 kB / 225.8 MB, free: 1.812 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.2468, allocations: 184.2 kB / 226 MB, free: 1.625 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.074e-05/0.2468, allocations: 180.2 kB / 226.2 MB, free: 1.441 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.2469, allocations: 180.3 kB / 226.4 MB, free: 1.258 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.2471, allocations: 408.6 kB / 226.8 MB, free: 0.8086 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/0.2471, allocations: 108.3 kB / 226.9 MB, free: 0.7031 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-05/0.2471, allocations: 108.9 kB / 227 MB, free: 0.5898 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.722e-05/0.2471, allocations: 176.3 kB / 227.1 MB, free: 420 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.2472, allocations: 188 kB / 227.3 MB, free: 228 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-05/0.2472, allocations: 176.3 kB / 227.5 MB, free: 44 kB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000102/0.2473, allocations: 176.3 kB / 227.7 MB, free: 15.86 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.2475, allocations: 314.9 kB / 228 MB, free: 15.54 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.2477, allocations: 189.3 kB / 228.2 MB, free: 15.34 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.2478, allocations: 184.2 kB / 228.3 MB, free: 15.15 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.248, allocations: 101 kB / 228.4 MB, free: 15.04 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.2481, allocations: 184 kB / 228.6 MB, free: 14.86 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.2481, allocations: 101 kB / 228.7 MB, free: 14.75 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.49e-05/0.2482, allocations: 93.83 kB / 228.8 MB, free: 14.68 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.2483, allocations: 0 / 228.8 MB, free: 14.68 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004322/0.2487, allocations: 49.98 kB / 228.9 MB, free: 14.66 MB / 186.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 (0): * Single equations (assignments): 0 * 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.0005855/0.2493, allocations: 285 kB / 229.1 MB, free: 14.45 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 7.65e-05/0.2494, allocations: 11.78 kB / 229.1 MB, free: 14.45 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.918e-06/0.2494, allocations: 0 / 229.1 MB, free: 14.45 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 4.052e-06/0.2494, allocations: 3.969 kB / 229.1 MB, free: 14.45 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.2498, allocations: 0.5178 MB / 229.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.2501, allocations: 202.6 kB / 229.9 MB, free: 13.7 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.2505, allocations: 0.6804 MB / 230.5 MB, free: 13 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.2505, allocations: 11.22 kB / 230.6 MB, free: 13 MB / 186.7 MB Notification: Performance of SimCode: time 1.475e-06/0.2505, allocations: 0 / 230.6 MB, free: 13 MB / 186.7 MB Notification: Performance of Templates: time 0.003221/0.2538, allocations: 1.162 MB / 231.7 MB, free: 12.39 MB / 186.7 MB