Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.571/1.571, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.000362, allocations: 16 kB / 233.3 MB, free: 3.02 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07067/0.07106, allocations: 38.75 MB / 272 MB, free: 12.18 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/0.3987, allocations: 66.91 MB / 338.9 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.399, allocations: 76.64 kB / 339 MB, free: 7.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02315/0.4222, allocations: 5.232 MB / 344.2 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.547e-06/0.4222, allocations: 0 / 344.2 MB, free: 2.559 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.4222, allocations: 0 / 344.2 MB, free: 2.559 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.0004431/0.4227, allocations: 362 kB / 344.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4227, allocations: 12.03 kB / 344.6 MB, free: 2.148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.4228, allocations: 3.906 kB / 344.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.423, allocations: 171 kB / 344.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.423, allocations: 4 kB / 344.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.423, allocations: 11.88 kB / 344.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.644e-05/0.4231, allocations: 32.14 kB / 344.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.4232, allocations: 0 / 344.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4232, allocations: 0 / 344.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-06/0.4232, allocations: 0 / 344.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.686e-05/0.4232, allocations: 4 kB / 344.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.4237, allocations: 409.2 kB / 345.2 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.4238, allocations: 169.1 kB / 345.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.677e-05/0.4238, allocations: 75.28 kB / 345.4 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.325e-05/0.4239, allocations: 105.8 kB / 345.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.964e-06/0.4239, allocations: 4 kB / 345.6 MB, free: 1.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 8.872e-05/0.424, allocations: 33.69 kB / 345.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.39e-05/0.4241, allocations: 155.1 kB / 345.7 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.4243, allocations: 106.8 kB / 345.8 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.4243, allocations: 29.64 kB / 345.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.4244, allocations: 161.8 kB / 346 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-06/0.4244, allocations: 0 / 346 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.4245, allocations: 0 / 346 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4246, allocations: 310.8 kB / 346.3 MB, free: 260 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.4246, allocations: 4 kB / 346.3 MB, free: 256 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.4247, allocations: 4 kB / 346.3 MB, free: 252 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.4247, allocations: 11.55 kB / 346.3 MB, free: 244 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-06/0.4247, allocations: 3.938 kB / 346.4 MB, free: 240 kB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000124/0.4249, allocations: 37.66 kB / 346.4 MB, free: 196 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4249, allocations: 4 kB / 346.4 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-06/0.4249, allocations: 0 / 346.4 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4249, allocations: 0 / 346.4 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.736e-05/0.425, allocations: 4 kB / 346.4 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.886e-06/0.425, allocations: 4.125 kB / 346.4 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.4251, allocations: 0 / 346.4 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4251, allocations: 7.922 kB / 346.4 MB, free: 176 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.0001619/0.4253, allocations: 191.4 kB / 346.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/0.4254, allocations: 105.4 kB / 346.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.4255, allocations: 111.5 kB / 346.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.28e-05/0.4256, allocations: 188.2 kB / 347 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.246e-05/0.4257, allocations: 180.3 kB / 347.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.176e-05/0.4258, allocations: 184.2 kB / 347.3 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.4261, allocations: 408.7 kB / 347.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.568e-05/0.4262, allocations: 101 kB / 347.8 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.4262, allocations: 107.8 kB / 348 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.667e-05/0.4263, allocations: 188.2 kB / 348.1 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-05/0.4265, allocations: 184.2 kB / 348.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.078e-05/0.4266, allocations: 176.3 kB / 348.5 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-05/0.4267, allocations: 176.3 kB / 348.7 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.4269, allocations: 317.5 kB / 349 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.427, allocations: 186 kB / 349.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4271, allocations: 180.2 kB / 349.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.4273, allocations: 105 kB / 349.4 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.799e-05/0.4274, allocations: 184.2 kB / 349.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/0.4275, allocations: 108.5 kB / 349.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.898e-05/0.4276, allocations: 94.39 kB / 349.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.4276, allocations: 0 / 349.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004571/0.428, allocations: 55.62 kB / 349.9 MB, free: 12.52 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.0006252/0.4287, allocations: 284.5 kB / 350.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.057e-05/0.4288, allocations: 12.39 kB / 350.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.41e-06/0.4288, allocations: 0 / 350.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-06/0.4288, allocations: 2.75 kB / 350.2 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.4292, allocations: 0.5186 MB / 350.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.4295, allocations: 198.9 kB / 350.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.4299, allocations: 0.677 MB / 351.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.43, allocations: 11.44 kB / 351.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of SimCode: time 3.661e-06/0.43, allocations: 0 / 351.6 MB, free: 10.77 MB / 282.7 MB Notification: Performance of Templates: time 0.003549/0.4335, allocations: 1.187 MB / 352.7 MB, free: 9.586 MB / 282.7 MB