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_sh_TX.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.178/1.178, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.232e-05, allocations: 0 / 148.2 MB, free: 6.133 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05597/0.05603, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.17/2.226, allocations: 0.6787 GB / 0.848 GB, free: 65.05 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/2.227, allocations: 57.61 kB / 0.8481 GB, free: 65.05 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2606/2.487, allocations: 71.64 MB / 0.918 GB, free: 21.06 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.563e-06/2.487, allocations: 0 / 0.918 GB, free: 21.06 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/2.487, allocations: 4 kB / 0.9181 GB, free: 21.05 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.0009003/2.488, allocations: 470 kB / 0.9185 GB, free: 20.55 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/2.488, allocations: 8.031 kB / 0.9185 GB, free: 20.54 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/2.488, allocations: 7.938 kB / 0.9185 GB, free: 20.54 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/2.488, allocations: 167 kB / 0.9187 GB, free: 20.33 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/2.488, allocations: 0 / 0.9187 GB, free: 20.33 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/2.489, allocations: 11.94 kB / 0.9187 GB, free: 20.32 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002723/2.489, allocations: 107.9 kB / 0.9188 GB, free: 20.21 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/2.489, allocations: 97.64 kB / 0.9189 GB, free: 20.11 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/2.489, allocations: 4 kB / 0.9189 GB, free: 20.11 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/2.489, allocations: 0 / 0.9189 GB, free: 20.11 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/2.489, allocations: 4 kB / 0.9189 GB, free: 20.11 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/2.491, allocations: 0.5851 MB / 0.9195 GB, free: 19.45 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/2.491, allocations: 54.5 kB / 0.9195 GB, free: 19.38 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/2.491, allocations: 21.09 kB / 0.9195 GB, free: 19.36 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/2.492, allocations: 137 kB / 0.9197 GB, free: 19.21 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/2.492, allocations: 34.56 kB / 0.9197 GB, free: 19.16 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.214e-06/2.492, allocations: 0 / 0.9197 GB, free: 19.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008987/2.493, allocations: 109.6 kB / 0.9198 GB, free: 19.05 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/2.493, allocations: 59.33 kB / 0.9199 GB, free: 18.98 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/2.493, allocations: 120.9 kB / 0.92 GB, free: 18.86 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/2.493, allocations: 25.7 kB / 0.92 GB, free: 18.82 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/2.493, allocations: 174.4 kB / 0.9202 GB, free: 18.65 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/2.493, allocations: 27.64 kB / 0.9202 GB, free: 18.62 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/2.493, allocations: 3.938 kB / 0.9202 GB, free: 18.62 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.276e-05/2.493, allocations: 322.8 kB / 0.9205 GB, free: 18.29 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/2.493, allocations: 19.98 kB / 0.9205 GB, free: 18.27 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/2.493, allocations: 57.16 kB / 0.9206 GB, free: 18.2 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007932/2.494, allocations: 99.88 kB / 0.9207 GB, free: 18.1 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/2.494, allocations: 0 / 0.9207 GB, free: 18.1 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0009981/2.495, allocations: 185.5 kB / 0.9208 GB, free: 17.91 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/2.495, allocations: 4 kB / 0.9209 GB, free: 17.91 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/2.495, allocations: 8.125 kB / 0.9209 GB, free: 17.9 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/2.495, allocations: 0 / 0.9209 GB, free: 17.9 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/2.495, allocations: 31.97 kB / 0.9209 GB, free: 17.87 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/2.495, allocations: 4 kB / 0.9209 GB, free: 17.87 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/2.495, allocations: 15.78 kB / 0.9209 GB, free: 17.85 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/2.496, allocations: 15.98 kB / 0.9209 GB, free: 17.84 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 () * 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.313e-05/2.496, allocations: 104.9 kB / 0.921 GB, free: 17.73 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007643/2.496, allocations: 117.5 kB / 0.9211 GB, free: 17.61 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/2.496, allocations: 15.91 kB / 0.9212 GB, free: 17.59 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000981/2.497, allocations: 206.4 kB / 0.9213 GB, free: 17.39 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/2.497, allocations: 0 / 0.9213 GB, free: 17.39 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/2.497, allocations: 0 / 0.9213 GB, free: 17.39 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/2.498, allocations: 0 / 0.9213 GB, free: 17.39 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/2.498, allocations: 181.9 kB / 0.9215 GB, free: 17.17 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/2.498, allocations: 0 / 0.9215 GB, free: 17.17 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/2.498, allocations: 12 kB / 0.9215 GB, free: 17.16 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/2.498, allocations: 0 / 0.9215 GB, free: 17.16 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/2.498, allocations: 3.984 kB / 0.9215 GB, free: 17.16 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/2.498, allocations: 0 / 0.9215 GB, free: 17.16 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.498, allocations: 4 kB / 0.9215 GB, free: 17.15 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008936/2.499, allocations: 279.2 kB / 0.9218 GB, free: 16.86 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/2.499, allocations: 101 kB / 0.9219 GB, free: 16.75 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/2.499, allocations: 0 / 0.9219 GB, free: 16.75 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/2.499, allocations: 4.188 kB / 0.9219 GB, free: 16.74 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/2.499, allocations: 7.984 kB / 0.9219 GB, free: 16.73 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/2.499, allocations: 8 kB / 0.9219 GB, free: 16.73 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.375e-05/2.499, allocations: 99.2 kB / 0.922 GB, free: 16.63 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.499, allocations: 4 kB / 0.922 GB, free: 16.62 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001239/2.501, allocations: 255.8 kB / 0.9223 GB, free: 16.38 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 () * 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.003636/2.504, allocations: 1.749 MB / 0.924 GB, free: 14.61 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/2.505, allocations: 83.83 kB / 0.9241 GB, free: 14.52 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/2.505, allocations: 4 kB / 0.9241 GB, free: 14.52 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.966e-05/2.505, allocations: 52.17 kB / 0.9241 GB, free: 14.47 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/2.505, allocations: 15.98 kB / 0.9241 GB, free: 14.45 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/2.506, allocations: 311.2 kB / 0.9244 GB, free: 14.11 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/2.507, allocations: 0.6963 MB / 0.9251 GB, free: 13.38 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/2.507, allocations: 39.42 kB / 0.9251 GB, free: 13.34 MB / 234.7 MB Notification: Performance of SimCode: time 1.002e-06/2.507, allocations: 3.938 kB / 0.9251 GB, free: 13.34 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.908/5.414, allocations: 8.613 MB / 0.9335 GB, free: 4.723 MB / 234.7 MB