Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.21e-05, allocations: 4 kB / 255.4 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 44.51 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4326/0.5404, allocations: 84.14 MB / 384.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5407, allocations: 87.48 kB / 384.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2499/0.7907, allocations: 61.18 MB / 445.3 MB, free: 2.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7908, allocations: 4 kB / 445.3 MB, free: 2.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001677/0.7909, allocations: 48 kB / 445.4 MB, free: 2.594 MB / 330.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.01451/0.8055, allocations: 3.027 MB / 448.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.8055, allocations: 12.03 kB / 448.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002748/0.8083, allocations: 0.534 MB / 449 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.8248, allocations: 1.996 MB / 451 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.8396, allocations: 3.54 MB / 454.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003627/0.84, allocations: 208.2 kB / 454.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.8419, allocations: 278.6 kB / 455 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02341/0.8654, allocations: 7.903 MB / 462.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.8657, allocations: 47.56 kB / 462.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009711/0.8666, allocations: 146.7 kB / 463.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001904/0.8686, allocations: 0.7807 MB / 463.9 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/0.8887, allocations: 6.46 MB / 470.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0675/0.9563, allocations: 41.39 MB / 0.4997 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.9683, allocations: 2.945 MB / 0.5026 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003315/0.9717, allocations: 1.391 MB / 0.5039 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.9729, allocations: 0.6343 MB / 0.5046 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.973, allocations: 43.12 kB / 0.5046 GB, free: 9.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 1.06e-05/0.973, allocations: 3.984 kB / 0.5046 GB, free: 9.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.4307/1.404, allocations: 18.27 MB / 0.5224 GB, free: 109.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/1.404, allocations: 149.3 kB / 0.5226 GB, free: 109.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008127/1.412, allocations: 2.886 MB / 0.5254 GB, free: 109.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005491/1.413, allocations: 48.41 kB / 0.5255 GB, free: 109.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00222/1.415, allocations: 2.294 MB / 0.5277 GB, free: 107.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.416, allocations: 0.6064 MB / 0.5283 GB, free: 107.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007717/1.417, allocations: 103.7 kB / 0.5284 GB, free: 107.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000391/1.417, allocations: 0.53 MB / 0.5289 GB, free: 107.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005961/1.423, allocations: 2.356 MB / 0.5312 GB, free: 107.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007933/1.431, allocations: 5.514 MB / 0.5366 GB, free: 103.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007867/1.439, allocations: 3.557 MB / 0.5401 GB, free: 103 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/1.439, allocations: 33.53 kB / 0.5401 GB, free: 103 MB / 410.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04418/1.483, allocations: 11.29 MB / 0.5511 GB, free: 101 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.484, allocations: 53.66 kB / 0.5512 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001539/1.484, allocations: 116.9 kB / 0.5513 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02521/1.509, allocations: 4.083 MB / 0.5553 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006942/1.516, allocations: 1.168 MB / 0.5564 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03487/1.551, allocations: 13.69 MB / 0.5698 GB, free: 94.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006894/1.558, allocations: 354.7 kB / 0.5701 GB, free: 94.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.559, allocations: 331.9 kB / 0.5704 GB, free: 94.12 MB / 410.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.001242/1.56, allocations: 495.1 kB / 0.5709 GB, free: 93.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009403/1.561, allocations: 278.5 kB / 0.5712 GB, free: 93.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03185/1.593, allocations: 6.906 MB / 0.5779 GB, free: 90.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-05/1.593, allocations: 20 kB / 0.5779 GB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.87e-05/1.593, allocations: 8 kB / 0.5779 GB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.484e-05/1.594, allocations: 7.031 kB / 0.578 GB, free: 90.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05491/1.648, allocations: 14.57 MB / 0.5922 GB, free: 79.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/1.649, allocations: 0 / 0.5922 GB, free: 79.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/1.651, allocations: 232.5 kB / 0.5924 GB, free: 79.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02675/1.677, allocations: 4.651 MB / 0.5969 GB, free: 75.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005314/1.678, allocations: 41.38 kB / 0.597 GB, free: 75.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03424/1.712, allocations: 13.77 MB / 0.6104 GB, free: 61.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/1.712, allocations: 0 / 0.6104 GB, free: 61.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04064/1.753, allocations: 11.04 MB / 0.6212 GB, free: 50.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.754, allocations: 345.3 kB / 0.6216 GB, free: 50.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/1.756, allocations: 38.36 kB / 0.6216 GB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00396/1.76, allocations: 197.7 kB / 0.6218 GB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008225/1.761, allocations: 112.8 kB / 0.6219 GB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002506/1.761, allocations: 47.97 kB / 0.6219 GB, free: 50.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00522/1.766, allocations: 2.002 MB / 0.6239 GB, free: 48.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.766, allocations: 0.6562 kB / 0.6239 GB, free: 48.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006674/1.773, allocations: 0.9021 MB / 0.6248 GB, free: 47.12 MB / 410.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.04082/1.814, allocations: 11.87 MB / 0.6364 GB, free: 35.19 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:2651:5-2655: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.2/Mechanics/MultiBody/Parts.mo:2651:5-2655: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.01871/1.832, allocations: 6.8 MB / 0.643 GB, free: 28.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.832, allocations: 0 / 0.643 GB, free: 28.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01527/1.848, allocations: 3.197 MB / 0.6461 GB, free: 24.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004376/1.852, allocations: 305.5 kB / 0.6464 GB, free: 24.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03522/1.887, allocations: 8.101 MB / 0.6543 GB, free: 16.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00736/1.895, allocations: 2.56 MB / 0.6568 GB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00502/1.9, allocations: 1.3 MB / 0.6581 GB, free: 12.67 MB / 410.7 MB Notification: Performance of SimCode: time 1.854e-06/1.9, allocations: 0 / 0.6581 GB, free: 12.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.231/7.131, allocations: 152.8 MB / 0.8073 GB, free: 103.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat