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.639/1.639, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.422e-05/2.445e-05, allocations: 4 kB / 228.8 MB, free: 15.35 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 38.78 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0994/0.3069, allocations: 66.83 MB / 334.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.3072, allocations: 67.97 kB / 334.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02322/0.3304, allocations: 5.203 MB / 339.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.718e-06/0.3304, allocations: 0 / 339.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3305, allocations: 4 kB / 339.7 MB, free: 1.234 MB / 282.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.0003598/0.3308, allocations: 354.3 kB / 340 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3309, allocations: 16.02 kB / 340 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.3309, allocations: 0 / 340 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.3311, allocations: 167 kB / 340.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3311, allocations: 0 / 340.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.3312, allocations: 4 kB / 340.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.3313, allocations: 33.66 kB / 340.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.266e-06/0.3313, allocations: 0 / 340.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3313, allocations: 0 / 340.2 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-06/0.3313, allocations: 3.938 kB / 340.2 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.068e-05/0.3314, allocations: 11.98 kB / 340.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.3317, allocations: 396 kB / 340.6 MB, free: 128 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.3319, allocations: 177.1 kB / 340.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.3319, allocations: 88.12 kB / 340.9 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.332, allocations: 75.28 kB / 341 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.3321, allocations: 105.8 kB / 341.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.844e-06/0.3321, allocations: 0 / 341.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.475e-05/0.3322, allocations: 37.55 kB / 341.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.3323, allocations: 156.4 kB / 341.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.3324, allocations: 112.9 kB / 341.4 MB, free: 15.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3324, allocations: 25.7 kB / 341.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.3325, allocations: 150.6 kB / 341.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-06/0.3326, allocations: 0 / 341.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-06/0.3326, allocations: 0 / 341.6 MB, free: 15.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3327, allocations: 318.8 kB / 341.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.3328, allocations: 4.469 kB / 341.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.315e-05/0.3328, allocations: 4 kB / 341.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.3328, allocations: 4 kB / 341.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-06/0.3328, allocations: 0 / 341.9 MB, free: 14.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001198/0.333, allocations: 45.58 kB / 341.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.333, allocations: 9.094 kB / 341.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.333, allocations: 0 / 341.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.333, allocations: 0 / 341.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.606e-05/0.3331, allocations: 4 kB / 341.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.478e-06/0.3331, allocations: 8.125 kB / 341.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.3332, allocations: 0 / 341.9 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3332, allocations: 0 / 341.9 MB, free: 14.75 MB / 298.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 0.0001179/0.3333, allocations: 184.2 kB / 342.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.3334, allocations: 108.8 kB / 342.2 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.041e-05/0.3335, allocations: 124.5 kB / 342.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.114e-05/0.3336, allocations: 176.3 kB / 342.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.654e-05/0.3337, allocations: 184.2 kB / 342.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.761e-05/0.3338, allocations: 180.2 kB / 342.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.3341, allocations: 405.2 kB / 343.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.091e-05/0.3342, allocations: 104.9 kB / 343.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.3342, allocations: 105 kB / 343.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-05/0.3343, allocations: 184.2 kB / 343.7 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.3345, allocations: 184.2 kB / 343.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.368e-05/0.3346, allocations: 180.3 kB / 344 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.244e-05/0.3347, allocations: 184.2 kB / 344.2 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3348, allocations: 305.3 kB / 344.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.335, allocations: 190 kB / 344.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3351, allocations: 180.3 kB / 344.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.3352, allocations: 108.9 kB / 345 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.3353, allocations: 180.3 kB / 345.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.3354, allocations: 108.9 kB / 345.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.3355, allocations: 103.6 kB / 345.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.3355, allocations: 0 / 345.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004423/0.336, allocations: 55.92 kB / 345.4 MB, free: 11.07 MB / 298.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.0005618/0.3365, allocations: 278.6 kB / 345.7 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.3366, allocations: 4 kB / 345.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.803e-06/0.3366, allocations: 0 / 345.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.951e-06/0.3367, allocations: 3.938 kB / 345.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.337, allocations: 0.5186 MB / 346.2 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.3373, allocations: 161.9 kB / 346.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.3376, allocations: 0.677 MB / 347 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.3377, allocations: 11.44 kB / 347 MB, free: 9.375 MB / 298.7 MB Notification: Performance of SimCode: time 1.567e-06/0.3377, allocations: 0 / 347 MB, free: 9.375 MB / 298.7 MB Notification: Performance of Templates: time 0.003319/0.341, allocations: 1.17 MB / 348.2 MB, free: 8.203 MB / 298.7 MB