Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine") Notification: Performance of loadModel(Modelica): time 1.167/1.167, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005463/0.0005468, allocations: 4 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0655/0.06609, allocations: 25.18 MB / 183.4 MB, free: 6.004 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sine): time 0.003985/0.07013, allocations: 1.762 MB / 185.2 MB, free: 4.238 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.07207, allocations: 0.5784 MB / 185.8 MB, free: 3.656 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.07217, allocations: 0 / 185.8 MB, free: 3.656 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 9.727e-05/0.07231, allocations: 11.88 kB / 185.8 MB, free: 3.645 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.07248, allocations: 7.984 kB / 185.8 MB, free: 3.637 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.07351, allocations: 151.7 kB / 185.9 MB, free: 3.488 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.07361, allocations: 11.98 kB / 185.9 MB, free: 3.477 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.07369, allocations: 11.98 kB / 185.9 MB, free: 3.465 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.855e-05/0.07375, allocations: 7.938 kB / 186 MB, free: 3.457 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.07386, allocations: 11.92 kB / 186 MB, free: 3.445 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.0739, allocations: 4 kB / 186 MB, free: 3.441 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.07431, allocations: 111.9 kB / 186.1 MB, free: 3.332 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.07434, allocations: 0 / 186.1 MB, free: 3.332 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.0744, allocations: 25.7 kB / 186.1 MB, free: 3.301 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.0747, allocations: 79.8 kB / 186.2 MB, free: 3.223 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.6e-06/0.07473, allocations: 7.938 kB / 186.2 MB, free: 3.215 MB / 154.7 MB Notification: Performance of FrontEnd: time 5.581e-06/0.07475, allocations: 0 / 186.2 MB, free: 3.215 MB / 154.7 MB Notification: Performance of Transformations before backend: time 5.207e-06/0.07477, allocations: 7.938 kB / 186.2 MB, free: 3.207 MB / 154.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.0005312/0.07531, allocations: 351.5 kB / 186.5 MB, free: 2.816 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.07538, allocations: 8.031 kB / 186.6 MB, free: 2.809 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.07545, allocations: 4 kB / 186.6 MB, free: 2.805 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.07568, allocations: 163.1 kB / 186.7 MB, free: 2.605 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.07572, allocations: 0 / 186.7 MB, free: 2.605 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.07575, allocations: 0 / 186.7 MB, free: 2.605 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.0759, allocations: 37.7 kB / 186.8 MB, free: 2.562 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.07593, allocations: 8 kB / 186.8 MB, free: 2.555 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.07596, allocations: 3.984 kB / 186.8 MB, free: 2.551 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.07599, allocations: 3.953 kB / 186.8 MB, free: 2.547 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.971e-05/0.07604, allocations: 7.984 kB / 186.8 MB, free: 2.539 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.07662, allocations: 391.9 kB / 187.2 MB, free: 2.105 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.07679, allocations: 169.1 kB / 187.3 MB, free: 1.93 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.07686, allocations: 79.28 kB / 187.4 MB, free: 1.852 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.858e-05/0.07697, allocations: 109.8 kB / 187.5 MB, free: 1.734 MB / 154.7 MB Notification: Performance of pre-optimization done (n=0): time 2.784e-06/0.07699, allocations: 0 / 187.5 MB, free: 1.734 MB / 154.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001413/0.07714, allocations: 45.5 kB / 187.6 MB, free: 1.684 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.07728, allocations: 152.4 kB / 187.7 MB, free: 1.516 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.0775, allocations: 117.8 kB / 187.8 MB, free: 1.391 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.07754, allocations: 25.7 kB / 187.8 MB, free: 1.359 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.07769, allocations: 162.6 kB / 188 MB, free: 1.199 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-06/0.07772, allocations: 0 / 188 MB, free: 1.199 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-06/0.07773, allocations: 0 / 188 MB, free: 1.199 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.07796, allocations: 310.8 kB / 188.3 MB, free: 0.8867 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.078, allocations: 0 / 188.3 MB, free: 0.8867 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.07807, allocations: 11.98 kB / 188.3 MB, free: 0.875 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.07812, allocations: 4 kB / 188.3 MB, free: 0.8711 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.07815, allocations: 0 / 188.3 MB, free: 0.8711 MB / 154.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001936/0.07836, allocations: 45.67 kB / 188.4 MB, free: 0.8203 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.0784, allocations: 7.984 kB / 188.4 MB, free: 0.8125 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.793e-06/0.07842, allocations: 0 / 188.4 MB, free: 0.8125 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.07846, allocations: 3.953 kB / 188.4 MB, free: 0.8086 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.07854, allocations: 4 kB / 188.4 MB, free: 0.8047 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.279e-06/0.07856, allocations: 0 / 188.4 MB, free: 0.8047 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.07865, allocations: 0 / 188.4 MB, free: 0.8047 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.07869, allocations: 0 / 188.4 MB, free: 0.8047 MB / 154.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.0001898/0.0789, allocations: 197.1 kB / 188.6 MB, free: 0.6016 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.07906, allocations: 104.9 kB / 188.7 MB, free: 0.4922 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.07917, allocations: 120.5 kB / 188.8 MB, free: 376 kB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/0.07931, allocations: 184.2 kB / 189 MB, free: 184 kB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001455/0.07947, allocations: 180.3 kB / 189.1 MB, free: 16 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001207/0.07961, allocations: 184.2 kB / 189.3 MB, free: 15.81 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.08011, allocations: 413.2 kB / 189.7 MB, free: 15.35 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-05/0.08021, allocations: 104.9 kB / 189.8 MB, free: 15.24 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.949e-05/0.0803, allocations: 101 kB / 189.9 MB, free: 15.13 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001133/0.08043, allocations: 176.3 kB / 190.1 MB, free: 14.95 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.08056, allocations: 180.2 kB / 190.3 MB, free: 14.77 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001122/0.0807, allocations: 180.3 kB / 190.5 MB, free: 14.59 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001218/0.08084, allocations: 192.1 kB / 190.6 MB, free: 14.39 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.08111, allocations: 303.8 kB / 190.9 MB, free: 14.07 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.08129, allocations: 186.1 kB / 191.1 MB, free: 13.86 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.08145, allocations: 180.3 kB / 191.3 MB, free: 13.68 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.08171, allocations: 108.9 kB / 191.4 MB, free: 13.57 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.08186, allocations: 180.3 kB / 191.6 MB, free: 13.38 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.08196, allocations: 112.9 kB / 191.7 MB, free: 13.27 MB / 170.7 MB Notification: Performance of sorting global known variables: time 9.206e-05/0.08206, allocations: 91.27 kB / 191.8 MB, free: 13.18 MB / 170.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.08208, allocations: 0 / 191.8 MB, free: 13.18 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000405/0.08249, allocations: 47.98 kB / 191.8 MB, free: 13.13 MB / 170.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.0005463/0.08305, allocations: 262.3 kB / 192.1 MB, free: 12.88 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 8.697e-05/0.08316, allocations: 8 kB / 192.1 MB, free: 12.87 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 6.546e-06/0.08318, allocations: 8 kB / 192.1 MB, free: 12.86 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-06/0.0832, allocations: 4 kB / 192.1 MB, free: 12.86 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.0836, allocations: 0.5185 MB / 192.6 MB, free: 12.33 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.08388, allocations: 195.7 kB / 192.8 MB, free: 12.11 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.08425, allocations: 0.6848 MB / 193.5 MB, free: 11.39 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.0843, allocations: 7.438 kB / 193.5 MB, free: 11.39 MB / 170.7 MB Notification: Performance of SimCode: time 1.386e-06/0.08431, allocations: 0 / 193.5 MB, free: 11.39 MB / 170.7 MB Notification: Performance of Templates: time 0.0034/0.08772, allocations: 1.154 MB / 194.7 MB, free: 10.23 MB / 170.7 MB