Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 0.9951/0.9951, allocations: 111.1 MB / 127.3 MB, free: 6.148 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002571/0.0002572, allocations: 4 kB / 158.9 MB, free: 15.24 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05389/0.05417, allocations: 25.18 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2126/0.2668, allocations: 34.59 MB / 218.6 MB, free: 6.488 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.2671, allocations: 55.64 kB / 218.7 MB, free: 6.484 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02311/0.2902, allocations: 5.065 MB / 223.8 MB, free: 4.43 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2903, allocations: 0 / 223.8 MB, free: 4.43 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.2903, allocations: 0 / 223.8 MB, free: 4.43 MB / 170.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.0003667/0.2907, allocations: 365.9 kB / 224.1 MB, free: 4.043 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2907, allocations: 7.688 kB / 224.1 MB, free: 4.043 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.2908, allocations: 11.7 kB / 224.1 MB, free: 4.035 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.2909, allocations: 167 kB / 224.3 MB, free: 3.836 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.291, allocations: 0 / 224.3 MB, free: 3.836 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.291, allocations: 3.844 kB / 224.3 MB, free: 3.836 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.2911, allocations: 33.66 kB / 224.3 MB, free: 3.801 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2911, allocations: 0 / 224.3 MB, free: 3.801 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2911, allocations: 0 / 224.3 MB, free: 3.801 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2911, allocations: 3.953 kB / 224.3 MB, free: 3.797 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.881e-05/0.2912, allocations: 10.38 kB / 224.3 MB, free: 3.793 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.2915, allocations: 398 kB / 224.7 MB, free: 3.367 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.2916, allocations: 165.1 kB / 224.9 MB, free: 3.195 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.2916, allocations: 75.28 kB / 225 MB, free: 3.121 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.2916, allocations: 109.8 kB / 225.1 MB, free: 3.004 MB / 170.7 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.2916, allocations: 0 / 225.1 MB, free: 3.004 MB / 170.7 MB Notification: Performance of matching and sorting (n=0): time 8.276e-05/0.2917, allocations: 48.38 kB / 225.1 MB, free: 2.961 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.2918, allocations: 152.4 kB / 225.3 MB, free: 2.793 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2919, allocations: 120.8 kB / 225.4 MB, free: 2.688 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.2919, allocations: 29.64 kB / 225.4 MB, free: 2.652 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.292, allocations: 158.1 kB / 225.6 MB, free: 2.5 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.292, allocations: 0 / 225.6 MB, free: 2.5 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.292, allocations: 0 / 225.6 MB, free: 2.5 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.2921, allocations: 310.8 kB / 225.9 MB, free: 2.188 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.2921, allocations: 7.906 kB / 225.9 MB, free: 2.184 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.2921, allocations: 3.844 kB / 225.9 MB, free: 2.184 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.2922, allocations: 3.625 kB / 225.9 MB, free: 2.184 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2922, allocations: 0 / 225.9 MB, free: 2.184 MB / 170.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.2923, allocations: 41.31 kB / 225.9 MB, free: 2.145 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2924, allocations: 7.312 kB / 225.9 MB, free: 2.145 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2924, allocations: 0 / 225.9 MB, free: 2.145 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2924, allocations: 3.953 kB / 225.9 MB, free: 2.141 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.2925, allocations: 4.094 kB / 225.9 MB, free: 2.141 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2925, allocations: 4 kB / 226 MB, free: 2.137 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.2925, allocations: 0 / 226 MB, free: 2.137 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.2926, allocations: 3.984 kB / 226 MB, free: 2.133 MB / 170.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.487e-05/0.2927, allocations: 196.5 kB / 226.1 MB, free: 1.938 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.2927, allocations: 101 kB / 226.2 MB, free: 1.832 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.2928, allocations: 112.6 kB / 226.4 MB, free: 1.715 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.578e-05/0.2928, allocations: 184.3 kB / 226.5 MB, free: 1.527 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-05/0.2929, allocations: 188.1 kB / 226.7 MB, free: 1.336 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/0.2929, allocations: 183.6 kB / 226.9 MB, free: 1.156 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.2931, allocations: 404.8 kB / 227.3 MB, free: 0.7109 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/0.2931, allocations: 104.9 kB / 227.4 MB, free: 0.6016 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.2932, allocations: 101 kB / 227.5 MB, free: 0.4961 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.378e-05/0.2932, allocations: 184.2 kB / 227.7 MB, free: 316 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.2933, allocations: 184.1 kB / 227.9 MB, free: 128 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.742e-05/0.2934, allocations: 176.6 kB / 228 MB, free: 15.95 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.204e-05/0.2935, allocations: 184 kB / 228.2 MB, free: 15.76 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.2937, allocations: 315.4 kB / 228.5 MB, free: 15.43 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.2938, allocations: 185.6 kB / 228.7 MB, free: 15.23 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2939, allocations: 176.3 kB / 228.9 MB, free: 15.05 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2941, allocations: 108.9 kB / 229 MB, free: 14.94 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.2942, allocations: 184.1 kB / 229.2 MB, free: 14.76 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.2942, allocations: 104.9 kB / 229.3 MB, free: 14.65 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.2944, allocations: 106.2 kB / 229.4 MB, free: 14.56 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2944, allocations: 0 / 229.4 MB, free: 14.56 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004332/0.2948, allocations: 46.59 kB / 229.4 MB, free: 14.55 MB / 186.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.0006542/0.2955, allocations: 278.7 kB / 229.7 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.2956, allocations: 7.984 kB / 229.7 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2956, allocations: 3.812 kB / 229.7 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.2956, allocations: 0 / 229.7 MB, free: 14.34 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.296, allocations: 0.5296 MB / 230.2 MB, free: 13.8 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.2963, allocations: 195.4 kB / 230.4 MB, free: 13.59 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.2967, allocations: 0.6808 MB / 231.1 MB, free: 12.89 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.2967, allocations: 11.28 kB / 231.1 MB, free: 12.88 MB / 186.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2967, allocations: 0 / 231.1 MB, free: 12.88 MB / 186.7 MB Notification: Performance of Templates: time 0.00387/0.3006, allocations: 1.16 MB / 232.3 MB, free: 12.29 MB / 186.7 MB