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/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_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.073/1.073, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002713, allocations: 12 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0571/0.05741, allocations: 25.17 MB / 183.6 MB, free: 5.891 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.154/2.211, allocations: 0.6794 GB / 0.8587 GB, free: 49.89 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/2.212, allocations: 64.09 kB / 0.8588 GB, free: 49.86 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4561/2.668, allocations: 72.88 MB / 0.93 GB, free: 52.41 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.405e-06/2.668, allocations: 0 / 0.93 GB, free: 52.41 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/2.668, allocations: 0 / 0.93 GB, free: 52.41 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.0009815/2.669, allocations: 478.4 kB / 0.9304 GB, free: 51.98 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/2.669, allocations: 9.625 kB / 0.9304 GB, free: 51.98 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/2.669, allocations: 41.45 kB / 0.9305 GB, free: 51.94 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/2.669, allocations: 6.906 kB / 0.9305 GB, free: 51.94 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.999e-05/2.669, allocations: 173.3 kB / 0.9306 GB, free: 51.73 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/2.669, allocations: 9.25 kB / 0.9306 GB, free: 51.73 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/2.669, allocations: 6.625 kB / 0.9307 GB, free: 51.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/2.67, allocations: 107.7 kB / 0.9308 GB, free: 51.7 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/2.67, allocations: 0 / 0.9308 GB, free: 51.7 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/2.67, allocations: 3.938 kB / 0.9308 GB, free: 51.7 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/2.67, allocations: 0 / 0.9308 GB, free: 51.7 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/2.67, allocations: 127.8 kB / 0.9309 GB, free: 51.7 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/2.671, allocations: 362.9 kB / 0.9312 GB, free: 51.43 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/2.671, allocations: 85.53 kB / 0.9313 GB, free: 51.41 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/2.672, allocations: 141.2 kB / 0.9314 GB, free: 51.31 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/2.672, allocations: 34.28 kB / 0.9315 GB, free: 51.27 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/2.672, allocations: 0 / 0.9315 GB, free: 51.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005607/2.672, allocations: 103.2 kB / 0.9316 GB, free: 51.24 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/2.672, allocations: 62.89 kB / 0.9316 GB, free: 51.17 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/2.672, allocations: 119.9 kB / 0.9317 GB, free: 51.07 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/2.673, allocations: 28.3 kB / 0.9318 GB, free: 51.04 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/2.673, allocations: 164 kB / 0.9319 GB, free: 50.88 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/2.673, allocations: 30.39 kB / 0.932 GB, free: 50.86 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/2.673, allocations: 7.562 kB / 0.932 GB, free: 50.86 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/2.673, allocations: 314.8 kB / 0.9323 GB, free: 50.55 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/2.673, allocations: 30.55 kB / 0.9323 GB, free: 50.55 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/2.673, allocations: 67.16 kB / 0.9324 GB, free: 50.5 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/2.673, allocations: 44.16 kB / 0.9324 GB, free: 50.5 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/2.673, allocations: 0 / 0.9324 GB, free: 50.5 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004479/2.674, allocations: 132.9 kB / 0.9325 GB, free: 50.47 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/2.674, allocations: 5.594 kB / 0.9325 GB, free: 50.47 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/2.674, allocations: 3.938 kB / 0.9325 GB, free: 50.47 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/2.674, allocations: 0 / 0.9325 GB, free: 50.47 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/2.674, allocations: 40.56 kB / 0.9326 GB, free: 50.47 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/2.674, allocations: 0 / 0.9326 GB, free: 50.47 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/2.674, allocations: 19.08 kB / 0.9326 GB, free: 50.46 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/2.674, allocations: 14.53 kB / 0.9326 GB, free: 50.46 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 8.3e-05/2.674, allocations: 122.3 kB / 0.9327 GB, free: 50.34 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/2.674, allocations: 7.156 kB / 0.9327 GB, free: 50.34 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007318/2.675, allocations: 237.8 kB / 0.933 GB, free: 50.26 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/2.675, allocations: 2.469 kB / 0.933 GB, free: 50.26 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/2.675, allocations: 3.094 kB / 0.933 GB, free: 50.26 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/2.675, allocations: 0 / 0.933 GB, free: 50.26 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/2.675, allocations: 213 kB / 0.9332 GB, free: 50.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/2.675, allocations: 0 / 0.9332 GB, free: 50.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/2.675, allocations: 16.05 kB / 0.9332 GB, free: 50.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/2.675, allocations: 0 / 0.9332 GB, free: 50.07 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/2.676, allocations: 3.844 kB / 0.9332 GB, free: 50.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/2.676, allocations: 0 / 0.9332 GB, free: 50.07 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/2.676, allocations: 4.062 kB / 0.9332 GB, free: 50.07 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004035/2.676, allocations: 172.5 kB / 0.9334 GB, free: 49.99 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.239e-05/2.676, allocations: 109.2 kB / 0.9335 GB, free: 49.89 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/2.676, allocations: 5.469 kB / 0.9335 GB, free: 49.89 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.842e-05/2.676, allocations: 0 / 0.9335 GB, free: 49.89 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/2.676, allocations: 14.66 kB / 0.9335 GB, free: 49.89 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/2.676, allocations: 4.906 kB / 0.9335 GB, free: 49.89 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001727/2.676, allocations: 161.5 kB / 0.9336 GB, free: 49.81 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.676, allocations: 2.219 kB / 0.9336 GB, free: 49.81 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001231/2.678, allocations: 267.8 kB / 0.9339 GB, free: 49.76 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.003054/2.681, allocations: 1.552 MB / 0.9354 GB, free: 49.03 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004931/2.681, allocations: 95.44 kB / 0.9355 GB, free: 49.03 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.681, allocations: 3.219 kB / 0.9355 GB, free: 49.03 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/2.682, allocations: 51.34 kB / 0.9356 GB, free: 49.03 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/2.682, allocations: 33.67 kB / 0.9356 GB, free: 49.03 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/2.683, allocations: 0.4958 MB / 0.9361 GB, free: 48.71 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/2.684, allocations: 0.7081 MB / 0.9368 GB, free: 48.02 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/2.684, allocations: 39.83 kB / 0.9368 GB, free: 48.01 MB / 234.7 MB Notification: Performance of SimCode: time 1.122e-06/2.684, allocations: 0 / 0.9368 GB, free: 48.01 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.922/5.606, allocations: 8.834 MB / 0.9454 GB, free: 46.95 MB / 234.7 MB