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.102/1.102, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.22e-05, allocations: 0 / 154.4 MB, free: 13.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1743, allocations: 25.16 MB / 179.5 MB, free: 0.6953 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.975/2.149, allocations: 0.6794 GB / 0.8547 GB, free: 0.9141 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/2.149, allocations: 64.28 kB / 0.8547 GB, free: 0.8828 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5124/2.662, allocations: 72.7 MB / 0.9257 GB, free: 25.3 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.914e-06/2.662, allocations: 3.938 kB / 0.9257 GB, free: 25.3 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.617e-06/2.662, allocations: 0 / 0.9257 GB, free: 25.3 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.001068/2.663, allocations: 474 kB / 0.9262 GB, free: 24.79 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/2.663, allocations: 12.03 kB / 0.9262 GB, free: 24.78 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.783e-05/2.663, allocations: 38.55 kB / 0.9262 GB, free: 24.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/2.663, allocations: 4 kB / 0.9262 GB, free: 24.73 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/2.663, allocations: 174.9 kB / 0.9264 GB, free: 24.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/2.663, allocations: 0 / 0.9264 GB, free: 24.52 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/2.663, allocations: 11.95 kB / 0.9264 GB, free: 24.51 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/2.663, allocations: 101.6 kB / 0.9265 GB, free: 24.4 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/2.663, allocations: 0 / 0.9265 GB, free: 24.4 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/2.664, allocations: 0 / 0.9265 GB, free: 24.4 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/2.664, allocations: 8 kB / 0.9265 GB, free: 24.39 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/2.664, allocations: 111.9 kB / 0.9266 GB, free: 24.29 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/2.665, allocations: 368.6 kB / 0.927 GB, free: 23.88 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/2.665, allocations: 74.61 kB / 0.927 GB, free: 23.79 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/2.665, allocations: 20.86 kB / 0.9271 GB, free: 23.77 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007189/2.666, allocations: 137 kB / 0.9272 GB, free: 23.62 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/2.666, allocations: 38.56 kB / 0.9272 GB, free: 23.57 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 3.006e-06/2.666, allocations: 0 / 0.9272 GB, free: 23.57 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.000348/2.666, allocations: 81.75 kB / 0.9273 GB, free: 23.48 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/2.666, allocations: 51.41 kB / 0.9274 GB, free: 23.42 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/2.667, allocations: 117.1 kB / 0.9275 GB, free: 23.3 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/2.667, allocations: 29.7 kB / 0.9275 GB, free: 23.26 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/2.667, allocations: 162.3 kB / 0.9276 GB, free: 23.1 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/2.667, allocations: 35.48 kB / 0.9277 GB, free: 23.07 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/2.667, allocations: 4 kB / 0.9277 GB, free: 23.06 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.113e-05/2.667, allocations: 318.8 kB / 0.928 GB, free: 22.74 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/2.667, allocations: 23.98 kB / 0.928 GB, free: 22.72 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/2.667, allocations: 69.28 kB / 0.9281 GB, free: 22.63 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/2.667, allocations: 31.91 kB / 0.9281 GB, free: 22.6 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/2.667, allocations: 0 / 0.9281 GB, free: 22.6 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003964/2.668, allocations: 125.6 kB / 0.9282 GB, free: 22.47 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/2.668, allocations: 8.031 kB / 0.9282 GB, free: 22.46 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/2.668, allocations: 4 kB / 0.9282 GB, free: 22.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/2.668, allocations: 0 / 0.9282 GB, free: 22.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/2.668, allocations: 31.98 kB / 0.9283 GB, free: 22.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/2.668, allocations: 4 kB / 0.9283 GB, free: 22.43 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/2.668, allocations: 15.83 kB / 0.9283 GB, free: 22.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/2.668, allocations: 8 kB / 0.9283 GB, free: 22.4 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 6.931e-05/2.668, allocations: 116.9 kB / 0.9284 GB, free: 22.28 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/2.668, allocations: 11.91 kB / 0.9284 GB, free: 22.27 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005629/2.669, allocations: 223.4 kB / 0.9286 GB, free: 22.04 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/2.669, allocations: 0 / 0.9286 GB, free: 22.04 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/2.669, allocations: 4.375 kB / 0.9286 GB, free: 22.03 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/2.669, allocations: 0 / 0.9286 GB, free: 22.03 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/2.669, allocations: 213.4 kB / 0.9288 GB, free: 21.77 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/2.669, allocations: 3.938 kB / 0.9288 GB, free: 21.77 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/2.669, allocations: 19.92 kB / 0.9289 GB, free: 21.75 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/2.669, allocations: 0 / 0.9289 GB, free: 21.75 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/2.669, allocations: 4 kB / 0.9289 GB, free: 21.75 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/2.669, allocations: 4 kB / 0.9289 GB, free: 21.74 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/2.669, allocations: 0 / 0.9289 GB, free: 21.74 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/2.67, allocations: 152.9 kB / 0.929 GB, free: 21.57 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.689e-05/2.67, allocations: 120.8 kB / 0.9291 GB, free: 21.44 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/2.67, allocations: 0 / 0.9291 GB, free: 21.44 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/2.67, allocations: 4 kB / 0.9291 GB, free: 21.43 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/2.67, allocations: 11.97 kB / 0.9291 GB, free: 21.42 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/2.67, allocations: 4 kB / 0.9292 GB, free: 21.42 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001715/2.67, allocations: 159.2 kB / 0.9293 GB, free: 21.26 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.67, allocations: 3.938 kB / 0.9293 GB, free: 21.26 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001143/2.671, allocations: 259.7 kB / 0.9296 GB, free: 21 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.002672/2.674, allocations: 1.545 MB / 0.9311 GB, free: 19.44 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002885/2.674, allocations: 83.91 kB / 0.9311 GB, free: 19.36 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/2.674, allocations: 0 / 0.9311 GB, free: 19.36 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/2.674, allocations: 56.11 kB / 0.9312 GB, free: 19.3 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/2.675, allocations: 29.17 kB / 0.9312 GB, free: 19.27 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/2.676, allocations: 345.5 kB / 0.9316 GB, free: 18.89 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/2.676, allocations: 0.7121 MB / 0.9323 GB, free: 18.16 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/2.676, allocations: 39.42 kB / 0.9323 GB, free: 18.12 MB / 234.7 MB Notification: Performance of SimCode: time 1.012e-06/2.676, allocations: 0 / 0.9323 GB, free: 18.12 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.741/5.418, allocations: 8.88 MB / 0.941 GB, free: 9.234 MB / 234.7 MB