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/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.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.06/1.06, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.331e-05, allocations: 4 kB / 148.2 MB, free: 6.121 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05704/0.05711, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.2693, allocations: 34.59 MB / 208 MB, free: 4.598 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.2696, allocations: 58.86 kB / 208 MB, free: 4.598 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.2815, allocations: 2.86 MB / 210.9 MB, free: 4.105 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2816, allocations: 0 / 210.9 MB, free: 4.105 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.2816, allocations: 3.875 kB / 210.9 MB, free: 4.105 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.0006906/0.2823, allocations: 429.8 kB / 211.3 MB, free: 3.727 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.2824, allocations: 9.469 kB / 211.3 MB, free: 3.727 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.163e-05/0.2825, allocations: 25.42 kB / 211.4 MB, free: 3.711 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.2828, allocations: 223.2 kB / 211.6 MB, free: 3.496 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2828, allocations: 4.719 kB / 211.6 MB, free: 3.496 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.2829, allocations: 11.06 kB / 211.6 MB, free: 3.496 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002865/0.2832, allocations: 82.34 kB / 211.7 MB, free: 3.492 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.2835, allocations: 120.8 kB / 211.8 MB, free: 3.457 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.2835, allocations: 0 / 211.8 MB, free: 3.457 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.2836, allocations: 3.953 kB / 211.8 MB, free: 3.453 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.2836, allocations: 4.688 kB / 211.8 MB, free: 3.453 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.2847, allocations: 0.5456 MB / 212.3 MB, free: 3.148 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.285, allocations: 104.5 kB / 212.4 MB, free: 3.117 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.2851, allocations: 33.45 kB / 212.5 MB, free: 3.109 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.2852, allocations: 1.281 kB / 212.5 MB, free: 3.109 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2852, allocations: 39.7 kB / 212.5 MB, free: 3.062 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 3.036e-06/0.2852, allocations: 0 / 212.5 MB, free: 3.062 MB / 170.7 MB Notification: Performance of matching and sorting (n=18): time 0.001716/0.2869, allocations: 0.6885 MB / 213.2 MB, free: 2.578 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.287, allocations: 56.64 kB / 213.3 MB, free: 2.512 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2871, allocations: 120.5 kB / 213.4 MB, free: 2.422 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.2872, allocations: 25.7 kB / 213.4 MB, free: 2.391 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.2872, allocations: 195.2 kB / 213.6 MB, free: 2.219 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.2873, allocations: 62.14 kB / 213.7 MB, free: 2.176 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.2873, allocations: 0 / 213.7 MB, free: 2.176 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.2874, allocations: 324.8 kB / 214 MB, free: 1.859 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.641e-05/0.2875, allocations: 32.19 kB / 214 MB, free: 1.855 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.2876, allocations: 66.86 kB / 214.1 MB, free: 1.82 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2878, allocations: 41.03 kB / 214.1 MB, free: 1.82 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2878, allocations: 0 / 214.1 MB, free: 1.82 MB / 170.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004848/0.2883, allocations: 179.4 kB / 214.3 MB, free: 1.754 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.2883, allocations: 5.406 kB / 214.3 MB, free: 1.754 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2883, allocations: 3.516 kB / 214.3 MB, free: 1.754 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.2886, allocations: 35.41 kB / 214.3 MB, free: 1.746 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.2889, allocations: 46.91 kB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.2903, allocations: 1.356 MB / 215.7 MB, free: 0.5352 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.2905, allocations: 4.984 kB / 215.7 MB, free: 0.5352 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.2906, allocations: 5.219 kB / 215.7 MB, free: 0.5352 MB / 170.7 MB Warning: Assuming fixed start value for the following 2 variables: mass.s:VARIABLE(start = 0.0 unit = "m" ) "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" ) "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 () * 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.0001685/0.2907, allocations: 120.1 kB / 215.9 MB, free: 424 kB / 170.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004301/0.2912, allocations: 156.7 kB / 216 MB, free: 372 kB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.2912, allocations: 11.56 kB / 216 MB, free: 364 kB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.2913, allocations: 16.44 kB / 216 MB, free: 364 kB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2913, allocations: 11.7 kB / 216 MB, free: 356 kB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2913, allocations: 0 / 216 MB, free: 356 kB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2913, allocations: 2.531 kB / 216 MB, free: 356 kB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.2924, allocations: 0.5178 MB / 216.6 MB, free: 16.02 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-06/0.2925, allocations: 3.875 kB / 216.6 MB, free: 16.02 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.2928, allocations: 41.53 kB / 216.6 MB, free: 16.02 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.293, allocations: 32.38 kB / 216.6 MB, free: 16.01 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.2931, allocations: 0 / 216.6 MB, free: 16.01 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.2945, allocations: 1.312 MB / 218 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.2945, allocations: 3.875 kB / 218 MB, free: 14.8 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/0.2952, allocations: 364.2 kB / 218.3 MB, free: 14.57 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.2953, allocations: 88.73 kB / 218.4 MB, free: 14.46 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.2953, allocations: 2.484 kB / 218.4 MB, free: 14.46 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.2955, allocations: 3.844 kB / 218.4 MB, free: 14.46 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.2956, allocations: 23.61 kB / 218.4 MB, free: 14.46 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.2956, allocations: 7.312 kB / 218.4 MB, free: 14.46 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.487e-05/0.2957, allocations: 101.2 kB / 218.5 MB, free: 14.38 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.2957, allocations: 0 / 218.5 MB, free: 14.38 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.000475/0.2962, allocations: 37.62 kB / 218.6 MB, free: 14.38 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 () * 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.001152/0.2974, allocations: 1.096 MB / 219.7 MB, free: 13.42 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.298, allocations: 224.4 kB / 219.9 MB, free: 13.3 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.2981, allocations: 1.281 kB / 219.9 MB, free: 13.3 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.2984, allocations: 173 kB / 220.1 MB, free: 13.2 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.2989, allocations: 15.8 kB / 220.1 MB, free: 13.2 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3003, allocations: 439.5 kB / 220.5 MB, free: 12.89 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.3007, allocations: 0.7368 MB / 221.2 MB, free: 12.19 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.3009, allocations: 49.97 kB / 221.3 MB, free: 12.18 MB / 186.7 MB Notification: Performance of SimCode: time 1.362e-06/0.3009, allocations: 0 / 221.3 MB, free: 12.18 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.914/3.215, allocations: 3.526 MB / 224.8 MB, free: 10.98 MB / 186.7 MB