Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 2.643/2.643, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1017, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4101/0.5119, allocations: 72.26 MB / 381.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5123, allocations: 76 kB / 381.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02471/0.537, allocations: 5.248 MB / 386.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5371, allocations: 0 / 386.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.5371, allocations: 1.281 kB / 386.6 MB, free: 14.8 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.0004287/0.5375, allocations: 357.3 kB / 387 MB, free: 14.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.5376, allocations: 9.312 kB / 387 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.5376, allocations: 1.344 kB / 387 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5378, allocations: 178.9 kB / 387.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.5378, allocations: 2.812 kB / 387.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5378, allocations: 0 / 387.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.842e-05/0.5379, allocations: 34.34 kB / 387.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.5379, allocations: 0 / 387.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.538, allocations: 1.312 kB / 387.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.538, allocations: 0 / 387.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.538, allocations: 4.594 kB / 387.2 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.5384, allocations: 407.2 kB / 387.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.5385, allocations: 170.2 kB / 387.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.5385, allocations: 75.28 kB / 387.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.5385, allocations: 108.6 kB / 387.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.654e-06/0.5385, allocations: 0 / 387.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 8.051e-05/0.5386, allocations: 40.2 kB / 388 MB, free: 13.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.5387, allocations: 157.3 kB / 388.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.5388, allocations: 115.5 kB / 388.3 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.5388, allocations: 25.7 kB / 388.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.5389, allocations: 86.38 kB / 388.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.5389, allocations: 1.312 kB / 388.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.5389, allocations: 0 / 388.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.539, allocations: 316.1 kB / 388.7 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.539, allocations: 6.688 kB / 388.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.5391, allocations: 6.219 kB / 388.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.598e-05/0.5391, allocations: 2.781 kB / 388.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5391, allocations: 0 / 388.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001272/0.5393, allocations: 47.2 kB / 388.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5393, allocations: 4.938 kB / 388.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.5393, allocations: 1.5 kB / 388.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5393, allocations: 1.312 kB / 388.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.5394, allocations: 1.406 kB / 388.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5394, allocations: 5.281 kB / 388.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.5395, allocations: 0 / 388.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.5395, allocations: 2.344 kB / 388.7 MB, free: 12.62 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 8.923e-05/0.5396, allocations: 193.1 kB / 388.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.5397, allocations: 104 kB / 389 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.5397, allocations: 110.9 kB / 389.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-05/0.5398, allocations: 198.9 kB / 389.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.68e-05/0.5398, allocations: 177.5 kB / 389.5 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-05/0.5399, allocations: 183.1 kB / 389.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.54, allocations: 412.6 kB / 390.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.127e-05/0.5401, allocations: 104.9 kB / 390.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.5401, allocations: 103.7 kB / 390.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.409e-05/0.5402, allocations: 181.6 kB / 390.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.5402, allocations: 182.9 kB / 390.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.223e-05/0.5402, allocations: 180.3 kB / 390.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.334e-05/0.5403, allocations: 182.8 kB / 391 MB, free: 10.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.257e-05/0.5404, allocations: 312.4 kB / 391.3 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.554e-05/0.5405, allocations: 191 kB / 391.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.5405, allocations: 177.5 kB / 391.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5406, allocations: 107.7 kB / 391.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.5407, allocations: 177.6 kB / 392 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.5407, allocations: 106.3 kB / 392.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.65e-05/0.5408, allocations: 98.45 kB / 392.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5408, allocations: 0 / 392.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004923/0.5413, allocations: 51.48 kB / 392.2 MB, free: 9.062 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.0006473/0.542, allocations: 287.2 kB / 392.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.488e-05/0.5421, allocations: 5.469 kB / 392.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5421, allocations: 0 / 392.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.5421, allocations: 0 / 392.5 MB, free: 8.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.5424, allocations: 0.5284 MB / 393 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.5426, allocations: 178.5 kB / 393.2 MB, free: 8.148 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.5428, allocations: 0.6783 MB / 393.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.729e-05/0.5428, allocations: 6.578 kB / 393.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.5428, allocations: 10.03 kB / 393.9 MB, free: 7.449 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5429, allocations: 4 kB / 393.9 MB, free: 7.445 MB / 314.7 MB Notification: Performance of Templates: time 0.005511/0.5484, allocations: 1.05 MB / 394.9 MB, free: 7.324 MB / 314.7 MB