Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.918e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4049, allocations: 77.85 MB / 336.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.4053, allocations: 83.95 kB / 336.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4755/0.8808, allocations: 60.21 MB / 396.5 MB, free: 77.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.8808, allocations: 4 kB / 396.5 MB, free: 77.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001372/0.881, allocations: 48 kB / 396.5 MB, free: 77.54 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.01232/0.8933, allocations: 3.034 MB / 399.6 MB, free: 74.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.8934, allocations: 8.031 kB / 399.6 MB, free: 74.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/0.9085, allocations: 1.996 MB / 401.6 MB, free: 72.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01291/0.9214, allocations: 3.529 MB / 405.1 MB, free: 68.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.9216, allocations: 88 kB / 405.2 MB, free: 68.81 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.9232, allocations: 160 kB / 405.3 MB, free: 68.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01071/0.9339, allocations: 4.539 MB / 409.9 MB, free: 64.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.953, allocations: 7.175 MB / 417.1 MB, free: 55.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/0.9534, allocations: 59.34 kB / 417.1 MB, free: 55.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00197/0.9554, allocations: 32 kB / 417.1 MB, free: 55.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002761/0.9582, allocations: 0.7804 MB / 417.9 MB, free: 55.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06359/1.022, allocations: 39.98 MB / 457.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003954/1.026, allocations: 2.326 MB / 460.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002438/1.028, allocations: 1.356 MB / 461.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009633/1.029, allocations: 0.6337 MB / 462.2 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/1.029, allocations: 47.06 kB / 462.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 5.23e-06/1.029, allocations: 0 / 462.3 MB, free: 9.371 MB / 314.7 MB Notification: Performance of matching and sorting (n=152): time 0.07125/1.101, allocations: 16 MB / 478.3 MB, free: 9.328 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/1.101, allocations: 149.3 kB / 478.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006017/1.107, allocations: 2.449 MB / 480.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004936/1.107, allocations: 29.7 kB / 480.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002607/1.11, allocations: 2.376 MB / 483.3 MB, free: 4.242 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.111, allocations: 0.5822 MB / 483.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005572/1.112, allocations: 0 / 483.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000627/1.112, allocations: 0.5925 MB / 484.4 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005726/1.118, allocations: 2.279 MB / 486.7 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009218/1.127, allocations: 5.547 MB / 492.3 MB, free: 9.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008681/1.136, allocations: 3.503 MB / 495.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/1.136, allocations: 32 kB / 495.8 MB, free: 6.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=698) (initialization): time 0.3085/1.445, allocations: 10.79 MB / 0.4947 GB, free: 91.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.512e-05/1.445, allocations: 58.17 kB / 0.4948 GB, free: 91.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001666/1.445, allocations: 121.2 kB / 0.4949 GB, free: 91.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02455/1.47, allocations: 4.111 MB / 0.4989 GB, free: 91.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006818/1.477, allocations: 1.211 MB / 0.5001 GB, free: 91.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03139/1.508, allocations: 12.7 MB / 0.5125 GB, free: 88.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006287/1.514, allocations: 268.3 kB / 0.5127 GB, free: 88.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/1.515, allocations: 336.2 kB / 0.5131 GB, free: 88.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * 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 (638): * Single equations (assignments): 628 * 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.001052/1.516, allocations: 392 kB / 0.5134 GB, free: 88.67 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03124/1.548, allocations: 7.029 MB / 0.5203 GB, free: 86.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000874/1.549, allocations: 247.1 kB / 0.5205 GB, free: 86.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0304/1.579, allocations: 6.736 MB / 0.5271 GB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-05/1.579, allocations: 17.19 kB / 0.5271 GB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/1.579, allocations: 14.39 kB / 0.5271 GB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-05/1.579, allocations: 4.828 kB / 0.5271 GB, free: 85.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06851/1.648, allocations: 13.92 MB / 0.5407 GB, free: 73.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.483e-05/1.648, allocations: 0 / 0.5407 GB, free: 73.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.65, allocations: 226.7 kB / 0.541 GB, free: 72.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02639/1.676, allocations: 4.67 MB / 0.5455 GB, free: 68.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004455/1.677, allocations: 27.95 kB / 0.5455 GB, free: 68.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03018/1.707, allocations: 12.69 MB / 0.5579 GB, free: 55.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.707, allocations: 3.469 kB / 0.5579 GB, free: 55.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03683/1.744, allocations: 10.84 MB / 0.5685 GB, free: 44.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007954/1.745, allocations: 310.4 kB / 0.5688 GB, free: 44.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006857/1.745, allocations: 11.98 kB / 0.5688 GB, free: 44.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002963/1.748, allocations: 179.6 kB / 0.569 GB, free: 44.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006081/1.749, allocations: 110.6 kB / 0.5691 GB, free: 44.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002306/1.749, allocations: 55.66 kB / 0.5692 GB, free: 43.97 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002805/1.752, allocations: 1.614 MB / 0.5707 GB, free: 42.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.752, allocations: 0 / 0.5707 GB, free: 42.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006048/1.758, allocations: 0.7844 MB / 0.5715 GB, free: 41.57 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 (102): * Single equations (assignments): 92 * 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.03838/1.796, allocations: 11.64 MB / 0.5829 GB, free: 29.9 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.01724/1.814, allocations: 6.587 MB / 0.5893 GB, free: 23.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.814, allocations: 0 / 0.5893 GB, free: 23.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009968/1.824, allocations: 3.154 MB / 0.5924 GB, free: 19.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/1.826, allocations: 227 kB / 0.5926 GB, free: 19.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/1.847, allocations: 7.502 MB / 0.5999 GB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003415/1.85, allocations: 2.546 MB / 0.6024 GB, free: 9.625 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006473/1.857, allocations: 1.639 MB / 0.604 GB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/1.86, allocations: 1.257 MB / 0.6053 GB, free: 6.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/1.86, allocations: 0 / 0.6053 GB, free: 6.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.438/2.298, allocations: 69.76 MB / 0.6734 GB, free: 76.45 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/2.298, allocations: 152 kB / 0.6735 GB, free: 76.26 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.138/6.436, allocations: 7.938 kB / 0.6735 GB, free: 76.25 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat