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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.084/1.084, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.255e-05, allocations: 4 kB / 148.2 MB, free: 6.129 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05877/0.05885, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/0.2948, allocations: 33.84 MB / 207.2 MB, free: 4.633 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.2952, allocations: 64.34 kB / 207.3 MB, free: 4.629 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02422/0.3194, allocations: 5.01 MB / 212.3 MB, free: 4.086 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3195, allocations: 1.312 kB / 212.3 MB, free: 4.086 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.3195, allocations: 0 / 212.3 MB, free: 4.086 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.000337/0.3198, allocations: 351.6 kB / 212.6 MB, free: 3.723 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3199, allocations: 8.875 kB / 212.7 MB, free: 3.723 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.32, allocations: 6.516 kB / 212.7 MB, free: 3.719 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3201, allocations: 182.8 kB / 212.8 MB, free: 3.512 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3201, allocations: 3.938 kB / 212.8 MB, free: 3.508 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3201, allocations: 1.25 kB / 212.8 MB, free: 3.508 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.957e-05/0.3202, allocations: 2.688 kB / 212.8 MB, free: 3.508 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.468e-05/0.3203, allocations: 32.31 kB / 212.9 MB, free: 3.477 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3203, allocations: 0 / 212.9 MB, free: 3.477 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3203, allocations: 5.297 kB / 212.9 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3203, allocations: 0 / 212.9 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.3207, allocations: 384.7 kB / 213.3 MB, free: 3.078 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.648e-05/0.3207, allocations: 169.6 kB / 213.4 MB, free: 2.906 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.3208, allocations: 80.14 kB / 213.5 MB, free: 2.824 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3208, allocations: 75.28 kB / 213.6 MB, free: 2.75 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3208, allocations: 111.2 kB / 213.7 MB, free: 2.633 MB / 170.7 MB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.3209, allocations: 0 / 213.7 MB, free: 2.633 MB / 170.7 MB Notification: Performance of matching and sorting (n=0): time 8.042e-05/0.3209, allocations: 36.25 kB / 213.7 MB, free: 2.594 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.321, allocations: 78.8 kB / 213.8 MB, free: 2.5 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3211, allocations: 106.2 kB / 213.9 MB, free: 2.41 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3211, allocations: 25.7 kB / 213.9 MB, free: 2.379 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3212, allocations: 155.4 kB / 214.1 MB, free: 2.23 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.3212, allocations: 0 / 214.1 MB, free: 2.23 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.3212, allocations: 0 / 214.1 MB, free: 2.23 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.832e-05/0.3213, allocations: 316.2 kB / 214.4 MB, free: 1.914 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.3213, allocations: 1.281 kB / 214.4 MB, free: 1.914 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.3213, allocations: 9.656 kB / 214.4 MB, free: 1.914 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.3214, allocations: 9.031 kB / 214.4 MB, free: 1.914 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3215, allocations: 0 / 214.4 MB, free: 1.914 MB / 170.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001479/0.3216, allocations: 40.72 kB / 214.4 MB, free: 1.883 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3216, allocations: 5.188 kB / 214.4 MB, free: 1.883 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3217, allocations: 0 / 214.4 MB, free: 1.883 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3217, allocations: 1.344 kB / 214.5 MB, free: 1.883 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.3217, allocations: 14.36 kB / 214.5 MB, free: 1.871 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3218, allocations: 3.953 kB / 214.5 MB, free: 1.867 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.3218, allocations: 9.719 kB / 214.5 MB, free: 1.859 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3219, allocations: 2.5 kB / 214.5 MB, free: 1.859 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 () * 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 7.491e-05/0.3219, allocations: 177.5 kB / 214.7 MB, free: 1.68 MB / 170.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.844e-05/0.322, allocations: 136.8 kB / 214.8 MB, free: 1.543 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.3221, allocations: 110.2 kB / 214.9 MB, free: 1.43 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.3221, allocations: 118.3 kB / 215 MB, free: 1.312 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/0.3222, allocations: 180.2 kB / 215.2 MB, free: 1.129 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.538e-05/0.3222, allocations: 181.5 kB / 215.4 MB, free: 0.9453 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/0.3223, allocations: 179.1 kB / 215.5 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.3226, allocations: 385.4 kB / 215.9 MB, free: 16.36 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.084e-05/0.3226, allocations: 109.9 kB / 216 MB, free: 16.24 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.3227, allocations: 107.1 kB / 216.1 MB, free: 16.13 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-05/0.3228, allocations: 177.6 kB / 216.3 MB, free: 15.95 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.538e-05/0.3229, allocations: 184.9 kB / 216.5 MB, free: 15.77 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.267e-05/0.323, allocations: 178 kB / 216.7 MB, free: 15.59 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-05/0.3231, allocations: 177.6 kB / 216.8 MB, free: 15.41 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.3233, allocations: 317.1 kB / 217.1 MB, free: 15.09 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.3234, allocations: 182.6 kB / 217.3 MB, free: 14.89 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-05/0.3235, allocations: 181.5 kB / 217.5 MB, free: 14.7 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3236, allocations: 103.4 kB / 217.6 MB, free: 14.6 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.3237, allocations: 185.5 kB / 217.8 MB, free: 14.41 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.3238, allocations: 106.2 kB / 217.9 MB, free: 14.3 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.751e-05/0.3239, allocations: 96.88 kB / 218 MB, free: 14.22 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3239, allocations: 1.375 kB / 218 MB, free: 14.22 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005041/0.3244, allocations: 51.48 kB / 218 MB, free: 14.21 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.001017/0.3255, allocations: 0.8996 MB / 218.9 MB, free: 13.37 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 9.46e-05/0.3256, allocations: 11.69 kB / 218.9 MB, free: 13.36 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3256, allocations: 0 / 218.9 MB, free: 13.36 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.3256, allocations: 4 kB / 218.9 MB, free: 13.36 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.326, allocations: 0.5174 MB / 219.5 MB, free: 12.84 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004925/0.3265, allocations: 215.9 kB / 219.7 MB, free: 12.61 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3268, allocations: 0.6853 MB / 220.4 MB, free: 11.91 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.3269, allocations: 15.41 kB / 220.4 MB, free: 11.9 MB / 186.7 MB Notification: Performance of SimCode: time 9.11e-07/0.3269, allocations: 0 / 220.4 MB, free: 11.9 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.527/2.854, allocations: 1.385 MB / 221.8 MB, free: 11.58 MB / 186.7 MB