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.137/1.137, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002584/0.0002583, allocations: 4 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05522/0.05553, allocations: 25.17 MB / 183.6 MB, free: 5.891 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/0.2914, allocations: 34.6 MB / 218.2 MB, free: 6.164 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.2916, allocations: 61.31 kB / 218.3 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02233/0.314, allocations: 5.058 MB / 223.3 MB, free: 4.109 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.314, allocations: 0 / 223.3 MB, free: 4.109 MB / 170.7 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.314, allocations: 0 / 223.3 MB, free: 4.109 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.0003438/0.3144, allocations: 358.3 kB / 223.7 MB, free: 3.73 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3145, allocations: 15.53 kB / 223.7 MB, free: 3.727 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.535e-05/0.3145, allocations: 38.5 kB / 223.7 MB, free: 3.68 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.3145, allocations: 7.406 kB / 223.7 MB, free: 3.676 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3147, allocations: 166.8 kB / 223.9 MB, free: 3.477 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3147, allocations: 0 / 223.9 MB, free: 3.477 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.3147, allocations: 0 / 223.9 MB, free: 3.477 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.553e-05/0.3148, allocations: 33.53 kB / 223.9 MB, free: 3.441 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3148, allocations: 3.688 kB / 223.9 MB, free: 3.441 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3148, allocations: 0 / 223.9 MB, free: 3.441 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3149, allocations: 7.953 kB / 223.9 MB, free: 3.434 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.59e-05/0.3149, allocations: 7.281 kB / 223.9 MB, free: 3.434 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.3152, allocations: 394.5 kB / 224.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.3153, allocations: 169.1 kB / 224.5 MB, free: 2.836 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.3153, allocations: 75.28 kB / 224.6 MB, free: 2.762 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3153, allocations: 109.8 kB / 224.7 MB, free: 2.645 MB / 170.7 MB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/0.3154, allocations: 0 / 224.7 MB, free: 2.645 MB / 170.7 MB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.3154, allocations: 37.05 kB / 224.7 MB, free: 2.609 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.3155, allocations: 160.2 kB / 224.9 MB, free: 2.438 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.3156, allocations: 111.9 kB / 225 MB, free: 2.336 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.3156, allocations: 25.7 kB / 225 MB, free: 2.305 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.3157, allocations: 158.2 kB / 225.2 MB, free: 2.156 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.3157, allocations: 4 kB / 225.2 MB, free: 2.152 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.3157, allocations: 3.938 kB / 225.2 MB, free: 2.148 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.3158, allocations: 310.8 kB / 225.5 MB, free: 1.836 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.3158, allocations: 3.984 kB / 225.5 MB, free: 1.832 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.598e-05/0.3158, allocations: 7.531 kB / 225.5 MB, free: 1.832 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.279e-05/0.3159, allocations: 3.688 kB / 225.5 MB, free: 1.832 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3159, allocations: 0 / 225.5 MB, free: 1.832 MB / 170.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001143/0.316, allocations: 37.38 kB / 225.5 MB, free: 1.797 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.316, allocations: 7.938 kB / 225.5 MB, free: 1.793 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.316, allocations: 0 / 225.5 MB, free: 1.793 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3161, allocations: 7.891 kB / 225.5 MB, free: 1.785 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.3161, allocations: 7.531 kB / 225.5 MB, free: 1.781 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3161, allocations: 3.938 kB / 225.5 MB, free: 1.777 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.3162, allocations: 0 / 225.5 MB, free: 1.777 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3162, allocations: 3.875 kB / 225.5 MB, free: 1.777 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 9.698e-05/0.3163, allocations: 184.3 kB / 225.7 MB, free: 1.59 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.3164, allocations: 108.7 kB / 225.8 MB, free: 1.48 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.3164, allocations: 112.9 kB / 225.9 MB, free: 1.363 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.358e-05/0.3165, allocations: 191.2 kB / 226.1 MB, free: 1.176 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.371e-05/0.3165, allocations: 180.2 kB / 226.3 MB, free: 0.9922 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.3166, allocations: 180.2 kB / 226.5 MB, free: 0.8086 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3168, allocations: 408.4 kB / 226.9 MB, free: 368 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/0.3168, allocations: 105 kB / 227 MB, free: 256 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.3168, allocations: 108.7 kB / 227.1 MB, free: 144 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.353e-05/0.3169, allocations: 179 kB / 227.3 MB, free: 15.96 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-05/0.317, allocations: 180.2 kB / 227.4 MB, free: 15.78 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.871e-05/0.3171, allocations: 176.3 kB / 227.6 MB, free: 15.6 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.194e-05/0.3172, allocations: 191.8 kB / 227.8 MB, free: 15.41 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.3174, allocations: 307 kB / 228.1 MB, free: 15.09 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3175, allocations: 186 kB / 228.3 MB, free: 14.88 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/0.3176, allocations: 183.2 kB / 228.5 MB, free: 14.7 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3178, allocations: 104.9 kB / 228.6 MB, free: 14.59 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.771e-05/0.3179, allocations: 180.3 kB / 228.7 MB, free: 14.41 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-05/0.3179, allocations: 104.5 kB / 228.8 MB, free: 14.3 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.89e-05/0.318, allocations: 99.48 kB / 228.9 MB, free: 14.22 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.318, allocations: 3.875 kB / 228.9 MB, free: 14.22 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004401/0.3185, allocations: 50.73 kB / 229 MB, free: 14.2 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.001017/0.3195, allocations: 0.9121 MB / 229.9 MB, free: 13.35 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 9.577e-05/0.3196, allocations: 7.984 kB / 229.9 MB, free: 13.34 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.3197, allocations: 3.812 kB / 229.9 MB, free: 13.34 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 5.921e-06/0.3197, allocations: 3.938 kB / 229.9 MB, free: 13.34 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3201, allocations: 0.5215 MB / 230.4 MB, free: 12.81 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000817/0.3209, allocations: 485.5 kB / 230.9 MB, free: 12.36 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3213, allocations: 0.6776 MB / 231.6 MB, free: 11.66 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.3213, allocations: 15 kB / 231.6 MB, free: 11.65 MB / 186.7 MB Notification: Performance of SimCode: time 3.236e-06/0.3214, allocations: 0 / 231.6 MB, free: 11.65 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.438/2.759, allocations: 1.387 MB / 233 MB, free: 10.93 MB / 186.7 MB