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_sh_TX.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_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadModel(Modelica): time 1.005/1.005, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002775, allocations: 12 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04589/0.0462, allocations: 25.16 MB / 183.5 MB, free: 5.988 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.734/1.78, allocations: 0.6794 GB / 0.8586 GB, free: 59.55 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/1.78, allocations: 60.95 kB / 0.8587 GB, free: 59.53 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4231/2.204, allocations: 72.87 MB / 0.9299 GB, free: 49.7 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.142e-06/2.204, allocations: 0 / 0.9299 GB, free: 49.7 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.63e-06/2.204, allocations: 3.5 kB / 0.9299 GB, free: 49.7 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007495/2.204, allocations: 475.9 kB / 0.9303 GB, free: 49.29 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/2.204, allocations: 12.8 kB / 0.9303 GB, free: 49.29 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/2.205, allocations: 6.906 kB / 0.9303 GB, free: 49.29 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/2.205, allocations: 174.9 kB / 0.9305 GB, free: 49.09 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/2.205, allocations: 2.969 kB / 0.9305 GB, free: 49.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/2.205, allocations: 10.95 kB / 0.9305 GB, free: 49.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/2.205, allocations: 106.4 kB / 0.9306 GB, free: 49.05 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.824e-06/2.205, allocations: 0 / 0.9306 GB, free: 49.05 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/2.205, allocations: 3.75 kB / 0.9306 GB, free: 49.05 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-06/2.205, allocations: 1.25 kB / 0.9306 GB, free: 49.05 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/2.205, allocations: 125.4 kB / 0.9307 GB, free: 49.05 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/2.206, allocations: 367.9 kB / 0.9311 GB, free: 48.79 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/2.206, allocations: 82.53 kB / 0.9312 GB, free: 48.76 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004264/2.207, allocations: 138.9 kB / 0.9313 GB, free: 48.67 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/2.207, allocations: 32.62 kB / 0.9313 GB, free: 48.63 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 3.157e-06/2.207, allocations: 1.281 kB / 0.9313 GB, free: 48.63 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004468/2.207, allocations: 109.5 kB / 0.9314 GB, free: 48.59 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/2.207, allocations: 52.66 kB / 0.9315 GB, free: 48.53 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/2.207, allocations: 115.6 kB / 0.9316 GB, free: 48.43 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/2.207, allocations: 29.3 kB / 0.9316 GB, free: 48.4 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/2.207, allocations: 172.1 kB / 0.9318 GB, free: 48.25 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/2.208, allocations: 31.88 kB / 0.9318 GB, free: 48.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.402e-06/2.208, allocations: 5.406 kB / 0.9318 GB, free: 48.23 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.447e-05/2.208, allocations: 318.9 kB / 0.9321 GB, free: 47.91 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/2.208, allocations: 29.66 kB / 0.9322 GB, free: 47.91 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/2.208, allocations: 73.16 kB / 0.9322 GB, free: 47.87 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/2.208, allocations: 39.81 kB / 0.9323 GB, free: 47.87 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.574e-06/2.208, allocations: 1.156 kB / 0.9323 GB, free: 47.87 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003902/2.208, allocations: 131.8 kB / 0.9324 GB, free: 47.84 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/2.208, allocations: 5.469 kB / 0.9324 GB, free: 47.84 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.17e-06/2.208, allocations: 1.156 kB / 0.9324 GB, free: 47.84 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/2.209, allocations: 3.344 kB / 0.9324 GB, free: 47.84 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/2.209, allocations: 33.06 kB / 0.9324 GB, free: 47.84 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.703e-06/2.209, allocations: 4.219 kB / 0.9324 GB, free: 47.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/2.209, allocations: 14 kB / 0.9325 GB, free: 47.83 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/2.209, allocations: 13.61 kB / 0.9325 GB, free: 47.83 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (14): * Single equations (assignments): 14 * 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.952e-05/2.209, allocations: 122.8 kB / 0.9326 GB, free: 47.71 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/2.209, allocations: 13.94 kB / 0.9326 GB, free: 47.71 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/2.21, allocations: 238 kB / 0.9328 GB, free: 47.65 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/2.21, allocations: 3.875 kB / 0.9328 GB, free: 47.65 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/2.21, allocations: 0 / 0.9328 GB, free: 47.65 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-06/2.21, allocations: 0 / 0.9328 GB, free: 47.65 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/2.21, allocations: 215.5 kB / 0.933 GB, free: 47.45 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-06/2.21, allocations: 3.188 kB / 0.933 GB, free: 47.45 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/2.21, allocations: 17.19 kB / 0.9331 GB, free: 47.45 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.87e-06/2.21, allocations: 0 / 0.9331 GB, free: 47.45 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/2.21, allocations: 1.688 kB / 0.9331 GB, free: 47.45 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.289e-06/2.21, allocations: 0 / 0.9331 GB, free: 47.45 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.646e-06/2.21, allocations: 3.797 kB / 0.9331 GB, free: 47.45 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/2.21, allocations: 162 kB / 0.9332 GB, free: 47.38 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.088e-05/2.21, allocations: 117.4 kB / 0.9333 GB, free: 47.27 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/2.21, allocations: 3.531 kB / 0.9333 GB, free: 47.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/2.211, allocations: 3.469 kB / 0.9333 GB, free: 47.27 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/2.211, allocations: 11.53 kB / 0.9333 GB, free: 47.27 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/2.211, allocations: 6.781 kB / 0.9334 GB, free: 47.27 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001419/2.211, allocations: 155.4 kB / 0.9335 GB, free: 47.2 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.568e-06/2.211, allocations: 0 / 0.9335 GB, free: 47.2 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001111/2.212, allocations: 280.6 kB / 0.9338 GB, free: 47.16 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001967/2.214, allocations: 0.9425 MB / 0.9347 GB, free: 46.99 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003811/2.214, allocations: 101.4 kB / 0.9348 GB, free: 46.98 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.977e-06/2.214, allocations: 0 / 0.9348 GB, free: 46.98 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/2.215, allocations: 51.3 kB / 0.9348 GB, free: 46.98 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/2.215, allocations: 20.02 kB / 0.9349 GB, free: 46.98 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/2.215, allocations: 354.9 kB / 0.9352 GB, free: 46.77 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/2.216, allocations: 0.7127 MB / 0.9359 GB, free: 46.07 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/2.216, allocations: 23.66 kB / 0.9359 GB, free: 46.07 MB / 234.7 MB Notification: Performance of SimCode: time 1.483e-06/2.216, allocations: 0 / 0.9359 GB, free: 46.07 MB / 234.7 MB Notification: Performance of Templates: time 0.01389/2.23, allocations: 8.413 MB / 0.9441 GB, free: 45.3 MB / 234.7 MB