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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.053/1.053, allocations: 111.2 MB / 124.2 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.43e-05, allocations: 4 kB / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1929, allocations: 25.15 MB / 179.5 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06208/0.2551, allocations: 34.51 MB / 214 MB, free: 14.61 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.2553, allocations: 67.97 kB / 214.1 MB, free: 14.55 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02414/0.2795, allocations: 5.041 MB / 219.1 MB, free: 9.5 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2795, allocations: 0 / 219.1 MB, free: 9.5 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.2795, allocations: 0 / 219.1 MB, free: 9.5 MB / 186.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.0003844/0.2799, allocations: 350.5 kB / 219.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.28, allocations: 12.03 kB / 219.5 MB, free: 9.102 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.23e-05/0.2801, allocations: 34.52 kB / 219.5 MB, free: 9.059 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.2801, allocations: 0 / 219.5 MB, free: 9.059 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.2803, allocations: 170.9 kB / 219.7 MB, free: 8.852 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2803, allocations: 4 kB / 219.7 MB, free: 8.848 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.2804, allocations: 3.984 kB / 219.7 MB, free: 8.844 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.2805, allocations: 37.64 kB / 219.7 MB, free: 8.801 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2805, allocations: 0 / 219.7 MB, free: 8.801 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2805, allocations: 3.938 kB / 219.7 MB, free: 8.797 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2805, allocations: 7.953 kB / 219.8 MB, free: 8.789 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.423e-05/0.2806, allocations: 0 / 219.8 MB, free: 8.789 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004068/0.281, allocations: 400 kB / 220.1 MB, free: 8.344 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.2811, allocations: 165.1 kB / 220.3 MB, free: 8.172 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.2812, allocations: 92.06 kB / 220.4 MB, free: 8.078 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.2812, allocations: 75.28 kB / 220.5 MB, free: 8.004 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/0.2813, allocations: 109.8 kB / 220.6 MB, free: 7.887 MB / 186.7 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.2813, allocations: 4 kB / 220.6 MB, free: 7.883 MB / 186.7 MB Notification: Performance of matching and sorting (n=0): time 7.805e-05/0.2814, allocations: 25.7 kB / 220.6 MB, free: 7.852 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.2815, allocations: 160.4 kB / 220.8 MB, free: 7.676 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2816, allocations: 109 kB / 220.9 MB, free: 7.562 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.2817, allocations: 25.7 kB / 220.9 MB, free: 7.531 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.2818, allocations: 158.5 kB / 221 MB, free: 7.375 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.2818, allocations: 0 / 221 MB, free: 7.375 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/0.2818, allocations: 0 / 221 MB, free: 7.375 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2819, allocations: 322.8 kB / 221.4 MB, free: 7.051 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.2819, allocations: 3.984 kB / 221.4 MB, free: 7.047 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.282, allocations: 4 kB / 221.4 MB, free: 7.043 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.282, allocations: 4 kB / 221.4 MB, free: 7.039 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.282, allocations: 0 / 221.4 MB, free: 7.039 MB / 186.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000119/0.2822, allocations: 37.7 kB / 221.4 MB, free: 6.996 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2822, allocations: 11.92 kB / 221.4 MB, free: 6.984 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2822, allocations: 0 / 221.4 MB, free: 6.984 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2822, allocations: 4.078 kB / 221.4 MB, free: 6.98 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.986e-05/0.2823, allocations: 8 kB / 221.4 MB, free: 6.973 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2823, allocations: 0 / 221.4 MB, free: 6.973 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.2824, allocations: 0 / 221.4 MB, free: 6.973 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2824, allocations: 0 / 221.4 MB, free: 6.973 MB / 186.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.000107/0.2825, allocations: 180.3 kB / 221.6 MB, free: 6.789 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.2826, allocations: 105.3 kB / 221.7 MB, free: 6.68 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.609e-05/0.2827, allocations: 116.6 kB / 221.8 MB, free: 6.562 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.064e-05/0.2828, allocations: 192.2 kB / 222 MB, free: 6.367 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-05/0.2828, allocations: 176.3 kB / 222.2 MB, free: 6.188 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.408e-05/0.2829, allocations: 176.3 kB / 222.4 MB, free: 6.008 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.2832, allocations: 409.2 kB / 222.8 MB, free: 5.551 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.661e-05/0.2833, allocations: 112.9 kB / 222.9 MB, free: 5.434 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.2833, allocations: 108.9 kB / 223 MB, free: 5.32 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-05/0.2834, allocations: 176.3 kB / 223.2 MB, free: 5.141 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/0.2835, allocations: 180.3 kB / 223.3 MB, free: 4.957 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.217e-05/0.2836, allocations: 184.2 kB / 223.5 MB, free: 4.77 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.772e-05/0.2837, allocations: 188.2 kB / 223.7 MB, free: 4.578 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.2838, allocations: 307.8 kB / 224 MB, free: 4.254 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.2839, allocations: 185.9 kB / 224.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.284, allocations: 184.2 kB / 224.4 MB, free: 3.859 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.2842, allocations: 101 kB / 224.5 MB, free: 3.754 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/0.2843, allocations: 180.2 kB / 224.6 MB, free: 3.57 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/0.2843, allocations: 116.9 kB / 224.7 MB, free: 3.449 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.2844, allocations: 95.27 kB / 224.8 MB, free: 3.355 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2844, allocations: 0 / 224.8 MB, free: 3.355 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004232/0.2849, allocations: 47.94 kB / 224.9 MB, free: 3.309 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 () * 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.0009086/0.2858, allocations: 0.8941 MB / 225.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 7.635e-05/0.2859, allocations: 4 kB / 225.8 MB, free: 2.391 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2859, allocations: 64 / 225.8 MB, free: 2.391 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 2.946e-06/0.2859, allocations: 4 kB / 225.8 MB, free: 2.387 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2863, allocations: 0.5247 MB / 226.3 MB, free: 1.859 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.2867, allocations: 211.5 kB / 226.5 MB, free: 1.609 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.287, allocations: 0.6809 MB / 227.2 MB, free: 0.9023 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.2871, allocations: 19.44 kB / 227.2 MB, free: 0.8867 MB / 186.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2871, allocations: 0 / 227.2 MB, free: 0.8867 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/2.941, allocations: 1.357 MB / 228.6 MB, free: 15.53 MB / 202.7 MB