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.925/1.925, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.972e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 44.51 MB / 300 MB, free: 6.516 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4481/0.5498, allocations: 84.15 MB / 384.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/0.5503, allocations: 86.19 kB / 384.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2696/0.8199, allocations: 61.18 MB / 445.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.82, allocations: 0 / 445.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002327/0.8202, allocations: 52 kB / 445.4 MB, free: 2.828 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.01894/0.8392, allocations: 3.026 MB / 448.5 MB, free: 15.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/0.8393, allocations: 8.031 kB / 448.5 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003184/0.8425, allocations: 0.5346 MB / 449 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.8594, allocations: 2.001 MB / 451 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/0.874, allocations: 3.537 MB / 454.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.8743, allocations: 212.3 kB / 454.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/0.8762, allocations: 282.5 kB / 455 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02345/0.8997, allocations: 7.861 MB / 462.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/0.9, allocations: 55.55 kB / 462.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001206/0.9012, allocations: 150.5 kB / 463.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001997/0.9032, allocations: 0.7804 MB / 463.9 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.9229, allocations: 6.293 MB / 470.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06453/0.9875, allocations: 41.39 MB / 0.4996 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.9994, allocations: 2.927 MB / 0.5024 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003284/1.003, allocations: 1.391 MB / 0.5038 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/1.004, allocations: 0.6348 MB / 0.5044 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/1.004, allocations: 43.12 kB / 0.5044 GB, free: 10.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 5.531e-06/1.004, allocations: 0 / 0.5044 GB, free: 10.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.3836/1.388, allocations: 18.27 MB / 0.5223 GB, free: 110 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/1.388, allocations: 150.5 kB / 0.5224 GB, free: 109.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008361/1.396, allocations: 2.888 MB / 0.5252 GB, free: 109.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005233/1.397, allocations: 46.83 kB / 0.5253 GB, free: 109.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002387/1.399, allocations: 2.294 MB / 0.5275 GB, free: 108.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001293/1.4, allocations: 0.6025 MB / 0.5281 GB, free: 108 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009014/1.401, allocations: 103.8 kB / 0.5282 GB, free: 108 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004648/1.402, allocations: 0.5234 MB / 0.5287 GB, free: 107.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006253/1.408, allocations: 2.358 MB / 0.531 GB, free: 107.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008128/1.416, allocations: 5.484 MB / 0.5364 GB, free: 103.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007761/1.424, allocations: 3.556 MB / 0.5399 GB, free: 103.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/1.424, allocations: 33.78 kB / 0.5399 GB, free: 103.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04461/1.469, allocations: 10.99 MB / 0.5506 GB, free: 101.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.469, allocations: 52.16 kB / 0.5507 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/1.469, allocations: 114.7 kB / 0.5508 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0298/1.499, allocations: 4.084 MB / 0.5548 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009353/1.509, allocations: 1.161 MB / 0.5559 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04875/1.557, allocations: 13.71 MB / 0.5693 GB, free: 94.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009137/1.567, allocations: 353.5 kB / 0.5696 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/1.568, allocations: 324.5 kB / 0.5699 GB, free: 94.57 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.001691/1.57, allocations: 0.4896 MB / 0.5704 GB, free: 94.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009625/1.571, allocations: 283.2 kB / 0.5707 GB, free: 94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03244/1.603, allocations: 6.904 MB / 0.5774 GB, free: 91.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-05/1.603, allocations: 20.94 kB / 0.5775 GB, free: 91.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/1.603, allocations: 8 kB / 0.5775 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.043e-05/1.603, allocations: 11.59 kB / 0.5775 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05505/1.658, allocations: 14.55 MB / 0.5917 GB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.947e-05/1.659, allocations: 4 kB / 0.5917 GB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002079/1.661, allocations: 233.2 kB / 0.5919 GB, free: 79.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0264/1.687, allocations: 4.638 MB / 0.5964 GB, free: 76.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005343/1.688, allocations: 47.95 kB / 0.5965 GB, free: 76.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03328/1.721, allocations: 13.78 MB / 0.6099 GB, free: 62.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.721, allocations: 0 / 0.6099 GB, free: 62.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03902/1.76, allocations: 11.04 MB / 0.6207 GB, free: 51.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/1.761, allocations: 345.3 kB / 0.6211 GB, free: 51.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009748/1.762, allocations: 39.94 kB / 0.6211 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003908/1.766, allocations: 196.2 kB / 0.6213 GB, free: 50.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007158/1.767, allocations: 111.8 kB / 0.6214 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002519/1.767, allocations: 52.83 kB / 0.6214 GB, free: 50.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00454/1.772, allocations: 2.002 MB / 0.6234 GB, free: 48.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.772, allocations: 0 / 0.6234 GB, free: 48.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006791/1.779, allocations: 0.9046 MB / 0.6243 GB, free: 47.76 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.04074/1.819, allocations: 11.87 MB / 0.6359 GB, free: 35.84 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.01807/1.837, allocations: 6.626 MB / 0.6423 GB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.837, allocations: 0 / 0.6423 GB, free: 29.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0104/1.848, allocations: 3.173 MB / 0.6454 GB, free: 25.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/1.851, allocations: 306.2 kB / 0.6457 GB, free: 25.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02305/1.874, allocations: 8.092 MB / 0.6536 GB, free: 17.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00351/1.878, allocations: 2.563 MB / 0.6561 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002688/1.88, allocations: 1.304 MB / 0.6574 GB, free: 13.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/1.88, allocations: 0 / 0.6574 GB, free: 13.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.824/6.704, allocations: 152 MB / 0.8058 GB, free: 10.75 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