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_sine.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_sine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_zero",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.78/1.78, allocations: 171.1 MB / 187.3 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005112, allocations: 12 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1055, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.358/0.4635, allocations: 66.89 MB / 339.4 MB, free: 7.094 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4638, allocations: 82.56 kB / 339.5 MB, free: 7.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02583/0.4897, allocations: 5.251 MB / 344.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4897, allocations: 0 / 344.8 MB, free: 2.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4898, allocations: 0 / 344.8 MB, free: 2.574 MB / 266.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.0004543/0.4902, allocations: 358.8 kB / 345.1 MB, free: 2.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4903, allocations: 12.03 kB / 345.1 MB, free: 2.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.4903, allocations: 3.906 kB / 345.1 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.4905, allocations: 171 kB / 345.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4906, allocations: 0 / 345.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.4906, allocations: 3.953 kB / 345.3 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.4907, allocations: 33.7 kB / 345.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.4907, allocations: 0 / 345.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4907, allocations: 0 / 345.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4907, allocations: 0 / 345.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.4908, allocations: 7.062 kB / 345.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.4912, allocations: 402.6 kB / 345.7 MB, free: 1.469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4913, allocations: 169.1 kB / 345.9 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.4914, allocations: 75.28 kB / 346 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.783e-05/0.4915, allocations: 108.8 kB / 346.1 MB, free: 1.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.4915, allocations: 4 kB / 346.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.16e-05/0.4916, allocations: 33.62 kB / 346.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.711e-05/0.4917, allocations: 152.4 kB / 346.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.4918, allocations: 124 kB / 346.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4918, allocations: 25.7 kB / 346.4 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.492, allocations: 154.5 kB / 346.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.492, allocations: 0 / 346.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.492, allocations: 0 / 346.6 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4921, allocations: 310.8 kB / 346.9 MB, free: 284 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.4922, allocations: 7.938 kB / 346.9 MB, free: 280 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.4922, allocations: 11.92 kB / 346.9 MB, free: 268 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.491e-05/0.4922, allocations: 4.094 kB / 346.9 MB, free: 264 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4923, allocations: 0 / 346.9 MB, free: 264 kB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001231/0.4924, allocations: 49.41 kB / 346.9 MB, free: 212 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4924, allocations: 4 kB / 346.9 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4924, allocations: 0 / 346.9 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4925, allocations: 4 kB / 346.9 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.4925, allocations: 3.984 kB / 346.9 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4925, allocations: 320 / 346.9 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.4926, allocations: 4 kB / 347 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.4926, allocations: 4 kB / 347 MB, free: 192 kB / 266.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 0.000142/0.4928, allocations: 185.2 kB / 347.1 MB, free: 16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.604e-05/0.4929, allocations: 109.4 kB / 347.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.955e-05/0.4929, allocations: 116.2 kB / 347.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.189e-05/0.493, allocations: 180.3 kB / 347.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.993e-05/0.4931, allocations: 184.2 kB / 347.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/0.4932, allocations: 180.3 kB / 347.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.4935, allocations: 404.8 kB / 348.3 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.475e-05/0.4936, allocations: 108.9 kB / 348.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.4937, allocations: 101 kB / 348.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.272e-05/0.4938, allocations: 188.2 kB / 348.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.722e-05/0.4939, allocations: 179.6 kB / 348.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.187e-05/0.494, allocations: 184.2 kB / 349 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.298e-05/0.494, allocations: 180.2 kB / 349.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.4942, allocations: 319.4 kB / 349.5 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.4943, allocations: 178.1 kB / 349.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.4945, allocations: 188.2 kB / 349.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4946, allocations: 108.9 kB / 350 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.4947, allocations: 179.6 kB / 350.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.4948, allocations: 108.9 kB / 350.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.4949, allocations: 90.64 kB / 350.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4949, allocations: 0 / 350.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004357/0.4953, allocations: 59.17 kB / 350.4 MB, free: 12.53 MB / 282.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.0007144/0.4961, allocations: 270.5 kB / 350.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.228e-05/0.4962, allocations: 12.2 kB / 350.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4962, allocations: 3.938 kB / 350.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.4962, allocations: 0 / 350.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.4966, allocations: 0.5262 MB / 351.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.4968, allocations: 203.9 kB / 351.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.4972, allocations: 0.677 MB / 352.1 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.4972, allocations: 11.44 kB / 352.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4972, allocations: 0 / 352.1 MB, free: 10.78 MB / 282.7 MB Notification: Performance of Templates: time 0.003862/0.5011, allocations: 1.17 MB / 353.3 MB, free: 9.609 MB / 282.7 MB