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: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.924/1.924, allocations: 194.9 MB / 211.1 MB, free: 8.547 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.00034, allocations: 8 kB / 264 MB, free: 3.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2906, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.002925/0.2935, allocations: 1.817 MB / 310.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2951, allocations: 0.688 MB / 311.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.2952, allocations: 0 / 311.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.553e-05/0.2953, allocations: 7.938 kB / 311.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2954, allocations: 0 / 311.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007434/0.2961, allocations: 171.6 kB / 311.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.2962, allocations: 7.984 kB / 311.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.2963, allocations: 3.984 kB / 311.2 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.2963, allocations: 11.94 kB / 311.3 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.2964, allocations: 11.98 kB / 311.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2964, allocations: 0 / 311.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.2967, allocations: 124.5 kB / 311.4 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.2968, allocations: 0 / 311.4 MB, free: 9.902 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.2968, allocations: 25.7 kB / 311.4 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.297, allocations: 87.86 kB / 311.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.297, allocations: 7.938 kB / 311.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2971, allocations: 0 / 311.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.2971, allocations: 0 / 311.5 MB, free: 9.777 MB / 250.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.0003835/0.2975, allocations: 343.3 kB / 311.8 MB, free: 9.395 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2975, allocations: 8.031 kB / 311.9 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.2976, allocations: 30.56 kB / 311.9 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.2976, allocations: 4 kB / 311.9 MB, free: 9.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.2978, allocations: 172 kB / 312.1 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.2978, allocations: 12 kB / 312.1 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.2978, allocations: 0 / 312.1 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.406e-05/0.2979, allocations: 33.69 kB / 312.1 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2979, allocations: 0 / 312.1 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.298, allocations: 0 / 312.1 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.298, allocations: 0 / 312.1 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.298, allocations: 4 kB / 312.1 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.2984, allocations: 400 kB / 312.5 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.2985, allocations: 177.1 kB / 312.7 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.2986, allocations: 79.28 kB / 312.7 MB, free: 8.375 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.2987, allocations: 105.8 kB / 312.8 MB, free: 8.262 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.2987, allocations: 0 / 312.8 MB, free: 8.262 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 8.892e-05/0.2988, allocations: 37.61 kB / 312.9 MB, free: 8.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.2989, allocations: 160.3 kB / 313 MB, free: 8.043 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.299, allocations: 117.8 kB / 313.2 MB, free: 7.918 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.299, allocations: 29.7 kB / 313.2 MB, free: 7.883 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.2991, allocations: 92.06 kB / 313.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.2991, allocations: 0 / 313.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.2991, allocations: 0 / 313.3 MB, free: 7.789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2993, allocations: 314.8 kB / 313.6 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.2993, allocations: 4 kB / 313.6 MB, free: 7.469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.047e-05/0.2993, allocations: 15.98 kB / 313.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.2994, allocations: 0 / 313.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2994, allocations: 0 / 313.6 MB, free: 7.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001269/0.2995, allocations: 41.55 kB / 313.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2996, allocations: 8 kB / 313.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2996, allocations: 0 / 313.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2996, allocations: 0 / 313.6 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.2997, allocations: 3.938 kB / 313.7 MB, free: 7.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.2997, allocations: 7.984 kB / 313.7 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.661e-05/0.2997, allocations: 8.078 kB / 313.7 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.2998, allocations: 0 / 313.7 MB, free: 7.379 MB / 250.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 0.0001221/0.2999, allocations: 189.1 kB / 313.9 MB, free: 7.184 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/0.3, allocations: 105 kB / 314 MB, free: 7.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.983e-05/0.3001, allocations: 108.5 kB / 314.1 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-05/0.3001, allocations: 184.2 kB / 314.2 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-05/0.3002, allocations: 180.3 kB / 314.4 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.926e-05/0.3003, allocations: 184.2 kB / 314.6 MB, free: 6.406 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/0.3006, allocations: 409.2 kB / 315 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.643e-05/0.3007, allocations: 104.9 kB / 315.1 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.705e-05/0.3007, allocations: 109 kB / 315.2 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.127e-05/0.3008, allocations: 176.3 kB / 315.4 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-05/0.3009, allocations: 184.2 kB / 315.6 MB, free: 5.359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.129e-05/0.301, allocations: 176.3 kB / 315.7 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.741e-05/0.3011, allocations: 184.2 kB / 315.9 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.3012, allocations: 307.8 kB / 316.2 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.834e-05/0.3014, allocations: 189.9 kB / 316.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.883e-05/0.3015, allocations: 188.2 kB / 316.6 MB, free: 4.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.3016, allocations: 108.9 kB / 316.7 MB, free: 4.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.3017, allocations: 176.3 kB / 316.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.3018, allocations: 101 kB / 317 MB, free: 3.867 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.3019, allocations: 95.27 kB / 317.1 MB, free: 3.773 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3019, allocations: 4 kB / 317.1 MB, free: 3.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004146/0.3023, allocations: 44 kB / 317.1 MB, free: 3.727 MB / 250.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.0009353/0.3032, allocations: 0.9015 MB / 318 MB, free: 2.812 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.383e-05/0.3033, allocations: 7.938 kB / 318 MB, free: 2.805 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3034, allocations: 3.938 kB / 318 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.3034, allocations: 3.938 kB / 318 MB, free: 2.797 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3037, allocations: 0.5264 MB / 318.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007138/0.3045, allocations: 444.4 kB / 319 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3048, allocations: 0.6809 MB / 319.7 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.497e-05/0.3048, allocations: 11.92 kB / 319.7 MB, free: 1.066 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.3049, allocations: 11.44 kB / 319.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of SimCode: time 9.31e-07/0.3049, allocations: 0 / 319.7 MB, free: 1.059 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.3295, allocations: 1.798 MB / 321.5 MB, free: 15.29 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003226/0.3299, allocations: 240.7 kB / 321.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/2.62, allocations: 0 / 321.7 MB, free: 15.05 MB / 266.7 MB