Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 171.1 MB / 186.7 MB, free: 1.055 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.00037, allocations: 11.98 kB / 233.2 MB, free: 2.965 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08496, allocations: 38.78 MB / 272 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.00294/0.08795, allocations: 1.812 MB / 273.8 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.08951, allocations: 0.6718 MB / 274.5 MB, free: 9.598 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.124e-05/0.0896, allocations: 0 / 274.5 MB, free: 9.598 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.997e-05/0.08969, allocations: 11.92 kB / 274.5 MB, free: 9.586 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.08984, allocations: 0 / 274.5 MB, free: 9.586 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.09064, allocations: 159.7 kB / 274.7 MB, free: 9.43 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.09073, allocations: 19.92 kB / 274.7 MB, free: 9.41 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.09078, allocations: 3.984 kB / 274.7 MB, free: 9.406 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.09084, allocations: 4 kB / 274.7 MB, free: 9.402 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.09094, allocations: 23.91 kB / 274.7 MB, free: 9.379 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.09096, allocations: 0 / 274.7 MB, free: 9.379 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.09126, allocations: 111.8 kB / 274.8 MB, free: 9.27 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.09131, allocations: 11.92 kB / 274.8 MB, free: 9.258 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.09135, allocations: 25.7 kB / 274.9 MB, free: 9.227 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.09159, allocations: 83.86 kB / 275 MB, free: 9.145 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.09161, allocations: 0 / 275 MB, free: 9.145 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.09163, allocations: 4 kB / 275 MB, free: 9.141 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.09164, allocations: 0 / 275 MB, free: 9.141 MB / 234.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.000371/0.09202, allocations: 343.3 kB / 275.3 MB, free: 8.758 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.09208, allocations: 8.031 kB / 275.3 MB, free: 8.75 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.09213, allocations: 34.56 kB / 275.3 MB, free: 8.707 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.09217, allocations: 7.844 kB / 275.3 MB, free: 8.699 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.09233, allocations: 171.3 kB / 275.5 MB, free: 8.492 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.09236, allocations: 0 / 275.5 MB, free: 8.492 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.09238, allocations: 0 / 275.5 MB, free: 8.492 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.09249, allocations: 37.7 kB / 275.5 MB, free: 8.449 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.09251, allocations: 3.938 kB / 275.6 MB, free: 8.445 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.09253, allocations: 0 / 275.6 MB, free: 8.445 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.09254, allocations: 0 / 275.6 MB, free: 8.445 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.09261, allocations: 4 kB / 275.6 MB, free: 8.441 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/0.09302, allocations: 400 kB / 275.9 MB, free: 8 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.09312, allocations: 169.1 kB / 276.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.09316, allocations: 75.28 kB / 276.2 MB, free: 7.75 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.592e-05/0.09322, allocations: 109.8 kB / 276.3 MB, free: 7.633 MB / 234.7 MB Notification: Performance of pre-optimization done (n=0): time 3.577e-06/0.09323, allocations: 0 / 276.3 MB, free: 7.633 MB / 234.7 MB Notification: Performance of matching and sorting (n=0): time 9.419e-05/0.09334, allocations: 45.61 kB / 276.3 MB, free: 7.582 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.09342, allocations: 152.4 kB / 276.5 MB, free: 7.414 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.09357, allocations: 121.8 kB / 276.6 MB, free: 7.285 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.0936, allocations: 29.7 kB / 276.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.09369, allocations: 158.5 kB / 276.8 MB, free: 7.094 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.09371, allocations: 0 / 276.8 MB, free: 7.094 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.09372, allocations: 0 / 276.8 MB, free: 7.094 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.09384, allocations: 314.8 kB / 277.1 MB, free: 6.777 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.09386, allocations: 4 kB / 277.1 MB, free: 6.773 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.09391, allocations: 7.984 kB / 277.1 MB, free: 6.766 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.09394, allocations: 8.031 kB / 277.1 MB, free: 6.758 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.09396, allocations: 4 kB / 277.1 MB, free: 6.754 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001316/0.0941, allocations: 33.7 kB / 277.2 MB, free: 6.715 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.09413, allocations: 5.406 kB / 277.2 MB, free: 6.711 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.09414, allocations: 0 / 277.2 MB, free: 6.711 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.09417, allocations: 4 kB / 277.2 MB, free: 6.707 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.887e-05/0.09425, allocations: 3.984 kB / 277.2 MB, free: 6.703 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.09427, allocations: 0 / 277.2 MB, free: 6.703 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.096e-05/0.09434, allocations: 0 / 277.2 MB, free: 6.703 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.09437, allocations: 4 kB / 277.2 MB, free: 6.699 MB / 234.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.0001205/0.0945, allocations: 193.1 kB / 277.4 MB, free: 6.5 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.09458, allocations: 108.9 kB / 277.5 MB, free: 6.387 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.09465, allocations: 108.5 kB / 277.6 MB, free: 6.277 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.09473, allocations: 176.3 kB / 277.7 MB, free: 6.098 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.737e-05/0.09481, allocations: 184.2 kB / 277.9 MB, free: 5.91 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.756e-05/0.09488, allocations: 184.3 kB / 278.1 MB, free: 5.723 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.09516, allocations: 417.1 kB / 278.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-05/0.09522, allocations: 105 kB / 278.6 MB, free: 5.148 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.09527, allocations: 108.9 kB / 278.7 MB, free: 5.035 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.95e-05/0.09535, allocations: 184.2 kB / 278.9 MB, free: 4.848 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.09543, allocations: 176.3 kB / 279.1 MB, free: 4.668 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.617e-05/0.09551, allocations: 184.2 kB / 279.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.638e-05/0.09558, allocations: 176.3 kB / 279.4 MB, free: 4.301 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.09576, allocations: 311.7 kB / 279.7 MB, free: 3.973 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.09587, allocations: 190 kB / 279.9 MB, free: 3.762 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.09598, allocations: 188.2 kB / 280.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.09613, allocations: 112.9 kB / 280.2 MB, free: 3.453 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.09622, allocations: 180.2 kB / 280.4 MB, free: 3.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.09627, allocations: 101 kB / 280.5 MB, free: 3.164 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.093e-05/0.09637, allocations: 91.27 kB / 280.6 MB, free: 3.074 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.09638, allocations: 0 / 280.6 MB, free: 3.074 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.09681, allocations: 48 kB / 280.6 MB, free: 3.027 MB / 234.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.0009835/0.0978, allocations: 0.8973 MB / 281.5 MB, free: 2.109 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.682e-05/0.09793, allocations: 4 kB / 281.5 MB, free: 2.105 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.09794, allocations: 0 / 281.5 MB, free: 2.105 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.025e-05/0.09796, allocations: 7.984 kB / 281.5 MB, free: 2.098 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.09831, allocations: 0.5295 MB / 282.1 MB, free: 1.566 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007705/0.0991, allocations: 465.9 kB / 282.5 MB, free: 1.055 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.09937, allocations: 0.6809 MB / 283.2 MB, free: 356 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.09944, allocations: 11.44 kB / 283.2 MB, free: 344 kB / 234.7 MB Notification: Performance of SimCode: time 1.192e-06/0.09945, allocations: 4 kB / 283.2 MB, free: 340 kB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.706/2.805, allocations: 1.376 MB / 284.6 MB, free: 14.95 MB / 250.7 MB