Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.000371, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08066/0.08106, allocations: 44.51 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4111, allocations: 72.26 MB / 380.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.4113, allocations: 71.53 kB / 380.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0214/0.4327, allocations: 5.237 MB / 386 MB, free: 18.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.841e-06/0.4328, allocations: 0 / 386 MB, free: 18.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.801e-06/0.4328, allocations: 0 / 386 MB, free: 18.14 MB / 314.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.0002903/0.4331, allocations: 359.7 kB / 386.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4332, allocations: 8.469 kB / 386.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.4332, allocations: 2.656 kB / 386.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.3e-05/0.4333, allocations: 177 kB / 386.5 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.4333, allocations: 4 kB / 386.5 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-06/0.4334, allocations: 5.062 kB / 386.6 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.581e-05/0.4334, allocations: 35.89 kB / 386.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.917e-06/0.4335, allocations: 0 / 386.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4335, allocations: 1.125 kB / 386.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.689e-06/0.4335, allocations: 4 kB / 386.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.441e-05/0.4335, allocations: 6.328 kB / 386.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.4338, allocations: 399.6 kB / 387 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.441e-05/0.4339, allocations: 173.6 kB / 387.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.4339, allocations: 75.28 kB / 387.2 MB, free: 16.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.4339, allocations: 106.8 kB / 387.3 MB, free: 16.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.848e-06/0.4339, allocations: 3.938 kB / 387.3 MB, free: 16.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 7.229e-05/0.434, allocations: 39.58 kB / 387.4 MB, free: 16.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.4341, allocations: 156.3 kB / 387.5 MB, free: 16.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.4342, allocations: 107.4 kB / 387.6 MB, free: 16.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.834e-06/0.4342, allocations: 25.7 kB / 387.7 MB, free: 16.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.551e-05/0.4343, allocations: 155 kB / 387.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-06/0.4343, allocations: 1.406 kB / 387.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-06/0.4343, allocations: 0 / 387.8 MB, free: 16.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.807e-05/0.4343, allocations: 317.4 kB / 388.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.4344, allocations: 6.594 kB / 388.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.4344, allocations: 2.594 kB / 388.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.4344, allocations: 8.531 kB / 388.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-06/0.4345, allocations: 0 / 388.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.4346, allocations: 33.05 kB / 388.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4346, allocations: 5.594 kB / 388.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.035e-06/0.4346, allocations: 2.906 kB / 388.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4346, allocations: 1.281 kB / 388.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.4347, allocations: 1.312 kB / 388.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.648e-06/0.4347, allocations: 9.281 kB / 388.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.4348, allocations: 0 / 388.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.4348, allocations: 1.25 kB / 388.2 MB, free: 15.89 MB / 314.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.91e-05/0.4349, allocations: 191.4 kB / 388.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.4349, allocations: 110.6 kB / 388.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.435, allocations: 109.8 kB / 388.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.891e-05/0.435, allocations: 185.5 kB / 388.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-05/0.4351, allocations: 186.4 kB / 389 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.808e-05/0.4351, allocations: 185.4 kB / 389.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.4353, allocations: 409.4 kB / 389.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.4353, allocations: 102.2 kB / 389.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.4353, allocations: 108.8 kB / 389.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-05/0.4354, allocations: 181.7 kB / 389.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.4354, allocations: 180.2 kB / 390.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.651e-05/0.4354, allocations: 181.1 kB / 390.3 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-05/0.4355, allocations: 183.9 kB / 390.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.476e-05/0.4356, allocations: 308.5 kB / 390.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.4356, allocations: 186.5 kB / 390.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.4357, allocations: 177.6 kB / 391.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4358, allocations: 108.7 kB / 391.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.4358, allocations: 177.7 kB / 391.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.4359, allocations: 101 kB / 391.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.333e-05/0.4359, allocations: 100 kB / 391.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.4359, allocations: 0 / 391.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.4364, allocations: 56.42 kB / 391.6 MB, free: 12.34 MB / 314.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.0005284/0.4369, allocations: 296.2 kB / 391.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.246e-05/0.437, allocations: 5.422 kB / 391.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.838e-06/0.437, allocations: 0 / 391.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.88e-06/0.4371, allocations: 0 / 391.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.4373, allocations: 0.524 MB / 392.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.4375, allocations: 204.4 kB / 392.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4376, allocations: 0.6792 MB / 393.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.4376, allocations: 14.81 kB / 393.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of SimCode: time 1.425e-06/0.4377, allocations: 0 / 393.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of Templates: time 0.003032/0.4407, allocations: 1.174 MB / 394.5 MB, free: 10.55 MB / 314.7 MB