Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003534, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09622, allocations: 44.52 MB / 308.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.4988, allocations: 73.58 MB / 382.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4991, allocations: 71.8 kB / 382.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03933/0.5384, allocations: 9.106 MB / 391.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5385, allocations: 3.875 kB / 391.3 MB, free: 13.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.848e-05/0.5385, allocations: 11.67 kB / 391.3 MB, free: 13.97 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001898/0.5404, allocations: 0.7608 MB / 392.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5405, allocations: 7.781 kB / 392.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.5407, allocations: 85.98 kB / 392.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.5408, allocations: 58.58 kB / 392.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.5413, allocations: 309.5 kB / 392.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.5414, allocations: 34.47 kB / 392.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.5415, allocations: 51.81 kB / 392.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.5428, allocations: 462.6 kB / 393.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.5429, allocations: 3.906 kB / 393.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.259e-05/0.543, allocations: 19.38 kB / 393.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.543, allocations: 11.56 kB / 393.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.5447, allocations: 499.5 kB / 393.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.5481, allocations: 1.4 MB / 395 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5496, allocations: 0.5545 MB / 395.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.746e-05/0.5497, allocations: 8.375 kB / 395.5 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5498, allocations: 42.19 kB / 395.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.356e-06/0.5498, allocations: 0 / 395.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=103): time 0.01244/0.5622, allocations: 3.273 MB / 398.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.5623, allocations: 64.16 kB / 398.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.5626, allocations: 223 kB / 399.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.31e-05/0.5627, allocations: 39.7 kB / 399.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.5628, allocations: 252.9 kB / 399.4 MB, free: 11.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.5631, allocations: 344.1 kB / 399.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.5632, allocations: 18.06 kB / 399.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.5633, allocations: 343.9 kB / 400.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009565/0.5642, allocations: 288.8 kB / 400.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.5653, allocations: 364.8 kB / 400.8 MB, free: 10.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.5663, allocations: 312.2 kB / 401.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5664, allocations: 0 / 401.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002369/0.5687, allocations: 0.7974 MB / 401.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.5688, allocations: 7.688 kB / 401.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5688, allocations: 0 / 401.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.5689, allocations: 7.844 kB / 401.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.5704, allocations: 215 kB / 402.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.5705, allocations: 3.75 kB / 402.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.5712, allocations: 65.09 kB / 402.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/0.5713, allocations: 31.2 kB / 402.2 MB, free: 10.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.000378/0.5717, allocations: 196.8 kB / 402.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.5718, allocations: 57.67 kB / 402.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.572, allocations: 73.47 kB / 402.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.5721, allocations: 17.59 kB / 402.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.5721, allocations: 0 / 402.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.5721, allocations: 7.5 kB / 402.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.5767, allocations: 2.02 MB / 404.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.5768, allocations: 3.875 kB / 404.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.5783, allocations: 212.4 kB / 404.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/0.5783, allocations: 7.75 kB / 404.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.829e-05/0.5784, allocations: 30.56 kB / 404.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.477e-05/0.5785, allocations: 7.906 kB / 404.8 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.5785, allocations: 11.62 kB / 404.8 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00357/0.5821, allocations: 1.631 MB / 406.4 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.5823, allocations: 126.4 kB / 406.6 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.5824, allocations: 25.06 kB / 406.6 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006888/0.5831, allocations: 58.92 kB / 406.6 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.5833, allocations: 81.33 kB / 406.7 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.5834, allocations: 37.89 kB / 406.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.5836, allocations: 169.5 kB / 406.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5837, allocations: 0 / 406.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007574/0.5844, allocations: 158.7 kB / 407.1 MB, free: 9.082 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.004097/0.5885, allocations: 3.52 MB / 410.6 MB, free: 6.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.5909, allocations: 0.7537 MB / 411.4 MB, free: 6.523 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.591, allocations: 0 / 411.4 MB, free: 6.523 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.5922, allocations: 463.2 kB / 411.8 MB, free: 6.484 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.5933, allocations: 100.1 kB / 411.9 MB, free: 6.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/0.6016, allocations: 4.07 MB / 416 MB, free: 4.574 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.602, allocations: 0.8764 MB / 416.9 MB, free: 3.797 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/0.6026, allocations: 213.4 kB / 417.1 MB, free: 3.762 MB / 314.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6026, allocations: 0 / 417.1 MB, free: 3.762 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.72/3.323, allocations: 9.124 MB / 426.2 MB, free: 15.18 MB / 330.7 MB