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.724/1.724, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.153e-05/4.162e-05, allocations: 8 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2559, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.3976, allocations: 78.52 MB / 342.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.398, allocations: 83.95 kB / 342.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4749/0.8729, allocations: 61.2 MB / 403.7 MB, free: 69.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.873, allocations: 0 / 403.7 MB, free: 69.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001338/0.8731, allocations: 48 kB / 403.7 MB, free: 69.46 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.01746/0.8906, allocations: 3.03 MB / 406.8 MB, free: 66.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.8907, allocations: 12.03 kB / 406.8 MB, free: 66.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001957/0.8927, allocations: 0.5321 MB / 407.3 MB, free: 65.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/0.908, allocations: 1.989 MB / 409.3 MB, free: 63.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.9207, allocations: 3.538 MB / 412.8 MB, free: 60.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.9209, allocations: 209.4 kB / 413 MB, free: 60.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001252/0.9222, allocations: 279.9 kB / 413.3 MB, free: 59.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.941, allocations: 7.865 MB / 421.2 MB, free: 50.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/0.9412, allocations: 51.47 kB / 421.2 MB, free: 50.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009754/0.9422, allocations: 143.9 kB / 421.4 MB, free: 50.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001739/0.9439, allocations: 0.7962 MB / 422.2 MB, free: 49.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/0.961, allocations: 6.288 MB / 428.4 MB, free: 43.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05253/1.014, allocations: 41.39 MB / 469.8 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01155/1.025, allocations: 2.915 MB / 472.8 MB, free: 13.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003253/1.029, allocations: 1.387 MB / 474.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.03, allocations: 0.6395 MB / 474.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/1.03, allocations: 47.12 kB / 474.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 5e-06/1.03, allocations: 0 / 474.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.1121/1.142, allocations: 18.27 MB / 493.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.142, allocations: 149.2 kB / 493.2 MB, free: 9.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007304/1.149, allocations: 2.882 MB / 496.1 MB, free: 6.145 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005241/1.15, allocations: 45.7 kB / 496.2 MB, free: 6.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0028/1.153, allocations: 2.324 MB / 498.5 MB, free: 3.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.154, allocations: 0.6056 MB / 499.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006834/1.155, allocations: 100 kB / 499.2 MB, free: 3.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004838/1.155, allocations: 0.5211 MB / 499.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006344/1.162, allocations: 2.361 MB / 0.4903 GB, free: 132 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2931/1.455, allocations: 5.476 MB / 0.4957 GB, free: 90.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007976/1.463, allocations: 3.564 MB / 0.4991 GB, free: 90.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/1.463, allocations: 31.25 kB / 0.4992 GB, free: 90.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04432/1.507, allocations: 11.05 MB / 0.51 GB, free: 89.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.508, allocations: 53.34 kB / 0.51 GB, free: 89.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/1.508, allocations: 112 kB / 0.5101 GB, free: 89.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02526/1.533, allocations: 4.097 MB / 0.5141 GB, free: 88.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007486/1.541, allocations: 1.162 MB / 0.5153 GB, free: 88.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.035/1.576, allocations: 13.7 MB / 0.5286 GB, free: 81.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006782/1.582, allocations: 368.2 kB / 0.529 GB, free: 81.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/1.584, allocations: 323.4 kB / 0.5293 GB, free: 81.4 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.001443/1.585, allocations: 494.7 kB / 0.5298 GB, free: 80.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/1.586, allocations: 270.6 kB / 0.53 GB, free: 80.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03183/1.618, allocations: 6.914 MB / 0.5368 GB, free: 75.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.762e-05/1.618, allocations: 16.62 kB / 0.5368 GB, free: 75.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.618, allocations: 8 kB / 0.5368 GB, free: 75.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/1.618, allocations: 12.25 kB / 0.5368 GB, free: 75.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05664/1.675, allocations: 14.56 MB / 0.551 GB, free: 62.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/1.675, allocations: 4 kB / 0.551 GB, free: 62.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.678, allocations: 231.6 kB / 0.5512 GB, free: 62.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02758/1.705, allocations: 4.647 MB / 0.5558 GB, free: 57.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005232/1.706, allocations: 46.22 kB / 0.5558 GB, free: 57.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03417/1.74, allocations: 13.78 MB / 0.5693 GB, free: 43.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.74, allocations: 3.938 kB / 0.5693 GB, free: 43.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03953/1.78, allocations: 11.04 MB / 0.5801 GB, free: 32.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009222/1.781, allocations: 349.6 kB / 0.5804 GB, free: 32.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009526/1.782, allocations: 35.98 kB / 0.5804 GB, free: 32.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003598/1.785, allocations: 204.5 kB / 0.5806 GB, free: 32.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006895/1.786, allocations: 112.7 kB / 0.5807 GB, free: 32.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/1.786, allocations: 51.08 kB / 0.5808 GB, free: 32.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004436/1.791, allocations: 2.002 MB / 0.5827 GB, free: 30.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.791, allocations: 4 kB / 0.5827 GB, free: 30.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00641/1.797, allocations: 0.8995 MB / 0.5836 GB, free: 29.12 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.04035/1.838, allocations: 11.86 MB / 0.5952 GB, free: 17.21 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.01896/1.857, allocations: 6.622 MB / 0.6017 GB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.857, allocations: 4 kB / 0.6017 GB, free: 10.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0102/1.867, allocations: 3.168 MB / 0.6048 GB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.87, allocations: 311.4 kB / 0.6051 GB, free: 6.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/1.893, allocations: 7.746 MB / 0.6126 GB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005019/1.898, allocations: 2.561 MB / 0.6151 GB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.007757/1.906, allocations: 1.607 MB / 0.6167 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00338/1.909, allocations: 1.276 MB / 0.618 GB, free: 9.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/1.909, allocations: 2.953 kB / 0.618 GB, free: 9.668 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4093/2.318, allocations: 74.83 MB / 0.691 GB, free: 55.38 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/2.319, allocations: 190.8 kB / 0.6912 GB, free: 55.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.801/7.119, allocations: 0 / 0.6912 GB, free: 55.15 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