Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.757/1.757, allocations: 171.2 MB / 183.8 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.54e-05, allocations: 4 kB / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2567, allocations: 38.77 MB / 263.9 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.3949, allocations: 78.51 MB / 342.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.3952, allocations: 83.95 kB / 342.4 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4634/0.8586, allocations: 61.19 MB / 403.6 MB, free: 69.55 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.8587, allocations: 0 / 403.6 MB, free: 69.55 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001327/0.8588, allocations: 52 kB / 403.7 MB, free: 69.5 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01192/0.8708, allocations: 3.03 MB / 406.7 MB, free: 66.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.8708, allocations: 8.031 kB / 406.7 MB, free: 66.41 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001724/0.8726, allocations: 0.536 MB / 407.3 MB, free: 65.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/0.8874, allocations: 1.997 MB / 409.3 MB, free: 63.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/0.8999, allocations: 3.542 MB / 412.8 MB, free: 60.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.9002, allocations: 205.5 kB / 413 MB, free: 60.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/0.9016, allocations: 279.9 kB / 413.3 MB, free: 59.78 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.9192, allocations: 7.869 MB / 421.1 MB, free: 50.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/0.9194, allocations: 55.47 kB / 421.2 MB, free: 50.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006467/0.92, allocations: 147.9 kB / 421.3 MB, free: 50.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001529/0.9216, allocations: 0.7729 MB / 422.1 MB, free: 49.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01652/0.9381, allocations: 6.296 MB / 428.4 MB, free: 43.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04959/0.9878, allocations: 41.38 MB / 469.8 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.9992, allocations: 2.923 MB / 472.7 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003125/1.002, allocations: 1.391 MB / 474.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/1.003, allocations: 0.6355 MB / 474.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/1.004, allocations: 51.11 kB / 474.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 4.518e-06/1.004, allocations: 0 / 474.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.1092/1.113, allocations: 18.27 MB / 493.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/1.113, allocations: 145.3 kB / 493.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006342/1.119, allocations: 2.882 MB / 496.1 MB, free: 6.188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004993/1.12, allocations: 45.7 kB / 496.1 MB, free: 6.137 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002292/1.122, allocations: 2.298 MB / 498.4 MB, free: 3.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001064/1.123, allocations: 0.6095 MB / 499 MB, free: 3.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004921/1.124, allocations: 104 kB / 499.1 MB, free: 3.086 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004463/1.124, allocations: 0.5297 MB / 499.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00576/1.13, allocations: 2.349 MB / 0.4903 GB, free: 196 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2404/1.37, allocations: 5.482 MB / 0.4956 GB, free: 90.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007604/1.378, allocations: 3.559 MB / 0.4991 GB, free: 90.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.711e-05/1.378, allocations: 31.22 kB / 0.4991 GB, free: 90.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04228/1.421, allocations: 10.98 MB / 0.5098 GB, free: 89.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/1.421, allocations: 57.75 kB / 0.5099 GB, free: 89.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/1.421, allocations: 110.3 kB / 0.51 GB, free: 89.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02478/1.446, allocations: 4.09 MB / 0.514 GB, free: 88.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006826/1.452, allocations: 1.169 MB / 0.5151 GB, free: 88.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03364/1.486, allocations: 13.69 MB / 0.5285 GB, free: 82.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006541/1.493, allocations: 360.1 kB / 0.5288 GB, free: 81.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.494, allocations: 326.1 kB / 0.5292 GB, free: 81.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (616): * Single equations (assignments): 606 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001151/1.495, allocations: 0.4931 MB / 0.5296 GB, free: 81.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007301/1.496, allocations: 271.5 kB / 0.5299 GB, free: 80.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03078/1.526, allocations: 6.905 MB / 0.5366 GB, free: 75.99 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/1.527, allocations: 20 kB / 0.5367 GB, free: 75.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/1.527, allocations: 8 kB / 0.5367 GB, free: 75.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.928e-05/1.527, allocations: 6.797 kB / 0.5367 GB, free: 75.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05238/1.579, allocations: 14.57 MB / 0.5509 GB, free: 62.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-05/1.579, allocations: 4 kB / 0.5509 GB, free: 62.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/1.581, allocations: 235.6 kB / 0.5511 GB, free: 62.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02603/1.607, allocations: 4.644 MB / 0.5557 GB, free: 57.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004819/1.608, allocations: 47.95 kB / 0.5557 GB, free: 57.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03277/1.641, allocations: 13.77 MB / 0.5692 GB, free: 43.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.641, allocations: 7.938 kB / 0.5692 GB, free: 43.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03832/1.679, allocations: 11.05 MB / 0.5799 GB, free: 32.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009551/1.68, allocations: 342.5 kB / 0.5803 GB, free: 32.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006479/1.681, allocations: 35.98 kB / 0.5803 GB, free: 32.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003159/1.684, allocations: 191.7 kB / 0.5805 GB, free: 32.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005325/1.684, allocations: 116.7 kB / 0.5806 GB, free: 32.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/1.685, allocations: 53.91 kB / 0.5807 GB, free: 32.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003858/1.688, allocations: 2.002 MB / 0.5826 GB, free: 30.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.688, allocations: 0 / 0.5826 GB, free: 30.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005892/1.694, allocations: 0.9142 MB / 0.5835 GB, free: 29.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03891/1.733, allocations: 11.87 MB / 0.5951 GB, free: 17.32 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:2674:5-2678:74:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01782/1.751, allocations: 6.62 MB / 0.6016 GB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.751, allocations: 0 / 0.6016 GB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01025/1.761, allocations: 3.186 MB / 0.6047 GB, free: 7.266 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.764, allocations: 310.5 kB / 0.605 GB, free: 6.969 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/1.786, allocations: 8.091 MB / 0.6129 GB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004497/1.791, allocations: 2.558 MB / 0.6154 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003197/1.794, allocations: 1.308 MB / 0.6166 GB, free: 10.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.412e-06/1.794, allocations: 0 / 0.6166 GB, free: 10.99 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.859/6.653, allocations: 152 MB / 0.765 GB, free: 114 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat