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/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_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/1, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.862e-05, allocations: 4 kB / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04461/0.04467, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.2183, allocations: 33.85 MB / 207.1 MB, free: 7.012 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.2185, allocations: 59.92 kB / 207.2 MB, free: 7.012 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01957/0.2381, allocations: 5.011 MB / 212.2 MB, free: 6.465 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.708e-06/0.2381, allocations: 0 / 212.2 MB, free: 6.465 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.139e-06/0.2381, allocations: 0 / 212.2 MB, free: 6.465 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.0002354/0.2384, allocations: 349 kB / 212.5 MB, free: 6.105 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2384, allocations: 10.31 kB / 212.6 MB, free: 6.105 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.2385, allocations: 5.516 kB / 212.6 MB, free: 6.102 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.954e-05/0.2386, allocations: 169.9 kB / 212.7 MB, free: 5.898 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2386, allocations: 0 / 212.7 MB, free: 5.898 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.2386, allocations: 2.578 kB / 212.7 MB, free: 5.898 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.407e-05/0.2387, allocations: 8.312 kB / 212.7 MB, free: 5.898 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.181e-05/0.2387, allocations: 36.52 kB / 212.8 MB, free: 5.863 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-06/0.2388, allocations: 0 / 212.8 MB, free: 5.863 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2388, allocations: 5.359 kB / 212.8 MB, free: 5.859 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-06/0.2388, allocations: 0 / 212.8 MB, free: 5.859 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.239, allocations: 381 kB / 213.1 MB, free: 5.469 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.374e-05/0.2391, allocations: 173.1 kB / 213.3 MB, free: 5.289 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.639e-05/0.2391, allocations: 80.14 kB / 213.4 MB, free: 5.207 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.2391, allocations: 77.19 kB / 213.5 MB, free: 5.133 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2392, allocations: 108.5 kB / 213.6 MB, free: 5.02 MB / 170.7 MB Notification: Performance of pre-optimization done (n=0): time 1.727e-06/0.2392, allocations: 0 / 213.6 MB, free: 5.02 MB / 170.7 MB Notification: Performance of matching and sorting (n=0): time 6.94e-05/0.2393, allocations: 31.41 kB / 213.6 MB, free: 4.984 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.2393, allocations: 82.67 kB / 213.7 MB, free: 4.891 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.824e-05/0.2394, allocations: 106.8 kB / 213.8 MB, free: 4.797 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.2394, allocations: 25.7 kB / 213.8 MB, free: 4.766 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2395, allocations: 156 kB / 214 MB, free: 4.617 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-06/0.2395, allocations: 0 / 214 MB, free: 4.617 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.2395, allocations: 3.938 kB / 214 MB, free: 4.613 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.2395, allocations: 314.8 kB / 214.3 MB, free: 4.297 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.2396, allocations: 2.844 kB / 214.3 MB, free: 4.297 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.2396, allocations: 9.156 kB / 214.3 MB, free: 4.297 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.64e-05/0.2397, allocations: 12.48 kB / 214.3 MB, free: 4.293 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-06/0.2397, allocations: 0 / 214.3 MB, free: 4.293 MB / 170.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001339/0.2398, allocations: 39.69 kB / 214.3 MB, free: 4.262 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2399, allocations: 5.688 kB / 214.4 MB, free: 4.262 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.634e-06/0.2399, allocations: 2.578 kB / 214.4 MB, free: 4.262 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2399, allocations: 1.375 kB / 214.4 MB, free: 4.262 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.858e-05/0.2399, allocations: 1.375 kB / 214.4 MB, free: 4.262 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.504e-06/0.24, allocations: 3.953 kB / 214.4 MB, free: 4.258 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.24, allocations: 1.375 kB / 214.4 MB, free: 4.258 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.24, allocations: 5.438 kB / 214.4 MB, free: 4.254 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 () * 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 7.012e-05/0.2401, allocations: 177.7 kB / 214.5 MB, free: 4.074 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.2402, allocations: 116.8 kB / 214.7 MB, free: 3.961 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.2403, allocations: 110.8 kB / 214.8 MB, free: 3.848 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.2403, allocations: 184.2 kB / 214.9 MB, free: 3.664 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.951e-05/0.2403, allocations: 181.7 kB / 215.1 MB, free: 3.48 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.757e-05/0.2404, allocations: 184.2 kB / 215.3 MB, free: 3.293 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.2405, allocations: 387 kB / 215.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001203/0.2407, allocations: 108.9 kB / 215.8 MB, free: 18.77 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.2407, allocations: 102.8 kB / 215.9 MB, free: 18.66 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.103e-05/0.2408, allocations: 178.7 kB / 216.1 MB, free: 18.48 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.099e-05/0.2409, allocations: 185.9 kB / 216.2 MB, free: 18.3 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.152e-05/0.241, allocations: 179.7 kB / 216.4 MB, free: 18.12 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.815e-05/0.2411, allocations: 180.9 kB / 216.6 MB, free: 17.94 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.2413, allocations: 302.7 kB / 216.9 MB, free: 17.62 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.2414, allocations: 186.5 kB / 217.1 MB, free: 17.42 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.2416, allocations: 186 kB / 217.3 MB, free: 17.23 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2417, allocations: 106.5 kB / 217.4 MB, free: 17.12 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.2418, allocations: 179.2 kB / 217.5 MB, free: 16.95 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.2419, allocations: 104.9 kB / 217.6 MB, free: 16.84 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.426e-05/0.242, allocations: 90.91 kB / 217.7 MB, free: 16.76 MB / 186.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.242, allocations: 0 / 217.7 MB, free: 16.76 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004378/0.2424, allocations: 56.59 kB / 217.8 MB, free: 16.75 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 () * 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.0005266/0.243, allocations: 281.3 kB / 218.1 MB, free: 16.54 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.2431, allocations: 12.67 kB / 218.1 MB, free: 16.54 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.602e-06/0.2431, allocations: 0 / 218.1 MB, free: 16.54 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 3.207e-06/0.2431, allocations: 0 / 218.1 MB, free: 16.54 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.2435, allocations: 0.5242 MB / 218.6 MB, free: 16.01 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.2437, allocations: 162.2 kB / 218.7 MB, free: 15.83 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.2441, allocations: 0.679 MB / 219.4 MB, free: 15.14 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.2441, allocations: 11.95 kB / 219.4 MB, free: 15.13 MB / 186.7 MB Notification: Performance of SimCode: time 1.384e-06/0.2441, allocations: 0 / 219.4 MB, free: 15.13 MB / 186.7 MB Notification: Performance of Templates: time 0.003053/0.2472, allocations: 1.18 MB / 220.6 MB, free: 14.99 MB / 186.7 MB