Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 44.51 MB / 309 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4268/0.53, allocations: 72.26 MB / 381.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5303, allocations: 74.81 kB / 381.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.5552, allocations: 5.232 MB / 386.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5553, allocations: 0 / 386.5 MB, free: 14.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.5553, allocations: 4.844 kB / 386.5 MB, free: 14.33 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.0004075/0.5557, allocations: 359.4 kB / 386.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5558, allocations: 9.812 kB / 386.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.5558, allocations: 1.312 kB / 386.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.556, allocations: 179.1 kB / 387.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.556, allocations: 0 / 387.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.556, allocations: 5.156 kB / 387.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.5561, allocations: 35.92 kB / 387.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.5561, allocations: 0 / 387.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.5562, allocations: 1.562 kB / 387.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5562, allocations: 0 / 387.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.929e-05/0.5562, allocations: 6.219 kB / 387.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.5566, allocations: 401.4 kB / 387.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.75e-05/0.5566, allocations: 166.5 kB / 387.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.5567, allocations: 79.22 kB / 387.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.5567, allocations: 107.2 kB / 387.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.794e-06/0.5567, allocations: 0 / 387.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 8.154e-05/0.5568, allocations: 42.52 kB / 387.9 MB, free: 12.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.5569, allocations: 152.4 kB / 388.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.557, allocations: 114.3 kB / 388.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.557, allocations: 25.7 kB / 388.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.5571, allocations: 152.6 kB / 388.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.5571, allocations: 0 / 388.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.5571, allocations: 0 / 388.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.5572, allocations: 326.7 kB / 388.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.5572, allocations: 5.062 kB / 388.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.5572, allocations: 7.594 kB / 388.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.378e-05/0.5573, allocations: 4.203 kB / 388.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5573, allocations: 1.312 kB / 388.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001258/0.5574, allocations: 35.05 kB / 388.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5574, allocations: 4.938 kB / 388.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5574, allocations: 1.125 kB / 388.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5575, allocations: 2.25 kB / 388.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.862e-05/0.5575, allocations: 2.188 kB / 388.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.5575, allocations: 4 kB / 388.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.5576, allocations: 0.9375 kB / 388.7 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.5576, allocations: 1.375 kB / 388.7 MB, free: 12.08 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.471e-05/0.5577, allocations: 192.8 kB / 388.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.5578, allocations: 112 kB / 389 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.5579, allocations: 108.6 kB / 389.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/0.5579, allocations: 189.7 kB / 389.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-05/0.5579, allocations: 179.6 kB / 389.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.558, allocations: 181.5 kB / 389.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.5582, allocations: 415.9 kB / 390.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-05/0.5582, allocations: 101 kB / 390.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.5582, allocations: 106 kB / 390.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-05/0.5583, allocations: 188 kB / 390.5 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.5584, allocations: 181.4 kB / 390.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.7e-05/0.5584, allocations: 184.6 kB / 390.8 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.482e-05/0.5585, allocations: 176.3 kB / 391 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.5586, allocations: 315.1 kB / 391.3 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.5586, allocations: 182.2 kB / 391.5 MB, free: 9.199 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.5587, allocations: 182.7 kB / 391.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.5588, allocations: 103.4 kB / 391.8 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.5589, allocations: 183.5 kB / 391.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.5589, allocations: 102.5 kB / 392 MB, free: 8.621 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.367e-05/0.559, allocations: 101.3 kB / 392.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.559, allocations: 0 / 392.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004946/0.5595, allocations: 53.03 kB / 392.2 MB, free: 8.523 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.0006503/0.5602, allocations: 271.3 kB / 392.4 MB, free: 8.336 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.5603, allocations: 11.86 kB / 392.5 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5603, allocations: 0 / 392.5 MB, free: 8.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.5603, allocations: 3.938 kB / 392.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.5606, allocations: 0.5254 MB / 393 MB, free: 7.801 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.5608, allocations: 199.5 kB / 393.2 MB, free: 7.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.561, allocations: 0.6791 MB / 393.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.561, allocations: 10.03 kB / 393.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.561, allocations: 0 / 393.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of Templates: time 0.004196/0.5652, allocations: 1.194 MB / 395.1 MB, free: 6.727 MB / 314.7 MB