Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.027/1.027, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003639/0.000364, allocations: 4 kB / 158.4 MB, free: 15.08 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08275/0.08317, allocations: 25.17 MB / 183.6 MB, free: 5.871 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2423/0.3255, allocations: 35.35 MB / 218.9 MB, free: 5.941 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.3258, allocations: 66.06 kB / 219 MB, free: 5.934 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.3372, allocations: 2.872 MB / 221.9 MB, free: 4.754 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3373, allocations: 3.938 kB / 221.9 MB, free: 4.75 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.3373, allocations: 3.844 kB / 221.9 MB, free: 4.75 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006601/0.338, allocations: 456.3 kB / 222.3 MB, free: 4.324 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.338, allocations: 15.38 kB / 222.3 MB, free: 4.32 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.3381, allocations: 52.72 kB / 222.4 MB, free: 4.273 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.3382, allocations: 19.19 kB / 222.4 MB, free: 4.266 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3384, allocations: 209.2 kB / 222.6 MB, free: 4.051 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.3384, allocations: 14.73 kB / 222.6 MB, free: 4.047 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/0.3385, allocations: 15.53 kB / 222.6 MB, free: 4.047 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.3389, allocations: 157.7 kB / 222.8 MB, free: 3.988 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.339, allocations: 0 / 222.8 MB, free: 3.988 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.339, allocations: 3.062 kB / 222.8 MB, free: 3.988 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.339, allocations: 11.8 kB / 222.8 MB, free: 3.98 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.3394, allocations: 103.9 kB / 222.9 MB, free: 3.965 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3405, allocations: 0.6087 MB / 223.5 MB, free: 3.531 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.3409, allocations: 115.8 kB / 223.6 MB, free: 3.492 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3409, allocations: 0 / 223.6 MB, free: 3.492 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.341, allocations: 38.19 kB / 223.7 MB, free: 3.449 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 2.695e-06/0.341, allocations: 0 / 223.7 MB, free: 3.449 MB / 170.7 MB Notification: Performance of matching and sorting (n=18): time 0.002106/0.3431, allocations: 0.8163 MB / 224.5 MB, free: 2.898 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3432, allocations: 51.41 kB / 224.5 MB, free: 2.836 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3433, allocations: 142.5 kB / 224.7 MB, free: 2.734 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3434, allocations: 28.95 kB / 224.7 MB, free: 2.703 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.3435, allocations: 192.1 kB / 224.9 MB, free: 2.535 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.3435, allocations: 61.5 kB / 225 MB, free: 2.488 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/0.3435, allocations: 7.375 kB / 225 MB, free: 2.484 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.3436, allocations: 314.3 kB / 225.3 MB, free: 2.172 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3438, allocations: 48.19 kB / 225.3 MB, free: 2.16 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.344, allocations: 70.53 kB / 225.4 MB, free: 2.121 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3442, allocations: 55.02 kB / 225.4 MB, free: 2.113 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3442, allocations: 3.719 kB / 225.4 MB, free: 2.113 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005724/0.3448, allocations: 201.1 kB / 225.6 MB, free: 2.035 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3448, allocations: 7.656 kB / 225.7 MB, free: 2.035 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3448, allocations: 4.062 kB / 225.7 MB, free: 2.031 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.3451, allocations: 43.33 kB / 225.7 MB, free: 2.012 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.3454, allocations: 38.42 kB / 225.7 MB, free: 2.008 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.3468, allocations: 1.44 MB / 227.2 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3471, allocations: 7.125 kB / 227.2 MB, free: 0.6953 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3471, allocations: 11.62 kB / 227.2 MB, free: 0.6914 MB / 170.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" fixed = true ) "Absolute position of center of component (s = flange_a.s + L/2 = flange_b.s - L/2)" type: Real mass.v:VARIABLE(start = 0.0 unit = "m/s" fixed = true ) "absolute velocity of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000274/0.3474, allocations: 148.4 kB / 227.3 MB, free: 0.5586 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.3474, allocations: 15.12 kB / 227.4 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.984e-05/0.3475, allocations: 17.94 kB / 227.4 MB, free: 0.543 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.3475, allocations: 11.92 kB / 227.4 MB, free: 0.5352 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.3475, allocations: 0 / 227.4 MB, free: 0.5352 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3476, allocations: 0 / 227.4 MB, free: 0.5352 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.3487, allocations: 0.5794 MB / 228 MB, free: 128 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3488, allocations: 0 / 228 MB, free: 128 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.3491, allocations: 46.52 kB / 228 MB, free: 112 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.3493, allocations: 37.47 kB / 228 MB, free: 96 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3494, allocations: 3 kB / 228 MB, free: 96 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.351, allocations: 1.379 MB / 229.4 MB, free: 14.78 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3511, allocations: 1.25 kB / 229.4 MB, free: 14.78 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.352, allocations: 401.2 kB / 229.8 MB, free: 14.52 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.894e-05/0.3521, allocations: 94.69 kB / 229.9 MB, free: 14.42 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.3521, allocations: 4.875 kB / 229.9 MB, free: 14.42 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.3523, allocations: 13.33 kB / 229.9 MB, free: 14.41 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.3524, allocations: 17.8 kB / 229.9 MB, free: 14.4 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.3524, allocations: 5.375 kB / 230 MB, free: 14.4 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.3526, allocations: 123.1 kB / 230.1 MB, free: 14.32 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3526, allocations: 0 / 230.1 MB, free: 14.32 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004509/0.3531, allocations: 43.19 kB / 230.1 MB, free: 14.32 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (mass.s,mass.v) * 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 (15): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001328/0.3544, allocations: 1.141 MB / 231.3 MB, free: 13.33 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.00073/0.3552, allocations: 254.8 kB / 231.5 MB, free: 13.19 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3552, allocations: 0 / 231.5 MB, free: 13.19 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.3557, allocations: 201 kB / 231.7 MB, free: 13.05 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.3561, allocations: 24.5 kB / 231.7 MB, free: 13.05 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.3592, allocations: 1.712 MB / 233.4 MB, free: 11.76 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.3596, allocations: 0.7441 MB / 234.2 MB, free: 11.03 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.3598, allocations: 49.14 kB / 234.2 MB, free: 11.02 MB / 186.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3598, allocations: 0 / 234.2 MB, free: 11.02 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.76/3.12, allocations: 3.623 MB / 237.9 MB, free: 8.129 MB / 186.7 MB