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.691/1.691, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.341e-05, allocations: 4 kB / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 38.77 MB / 263.9 MB, free: 9.695 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.4001, allocations: 78.51 MB / 342.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.4004, allocations: 83.95 kB / 342.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.498/0.8984, allocations: 61.19 MB / 403.6 MB, free: 69.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.8985, allocations: 0 / 403.6 MB, free: 69.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001347/0.8987, allocations: 48 kB / 403.7 MB, free: 69.48 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.01189/0.9106, allocations: 3.03 MB / 406.7 MB, free: 66.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.9106, allocations: 12.03 kB / 406.7 MB, free: 66.38 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001666/0.9123, allocations: 0.5282 MB / 407.3 MB, free: 65.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.927, allocations: 1.997 MB / 409.3 MB, free: 63.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.9396, allocations: 3.535 MB / 412.8 MB, free: 60.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.9398, allocations: 217.4 kB / 413 MB, free: 60.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/0.9413, allocations: 275.9 kB / 413.3 MB, free: 59.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/0.9595, allocations: 7.896 MB / 421.2 MB, free: 50.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001571/0.9597, allocations: 59.45 kB / 421.2 MB, free: 50.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007218/0.9604, allocations: 147.9 kB / 421.4 MB, free: 50.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001581/0.962, allocations: 0.769 MB / 422.1 MB, free: 49.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01636/0.9784, allocations: 6.456 MB / 428.6 MB, free: 43.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05022/1.029, allocations: 41.39 MB / 470 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/1.04, allocations: 2.932 MB / 472.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/1.043, allocations: 1.391 MB / 474.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/1.044, allocations: 0.6433 MB / 475 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/1.044, allocations: 47.12 kB / 475 MB, free: 11.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 5.13e-06/1.044, allocations: 0 / 475 MB, free: 11.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.1086/1.153, allocations: 18.27 MB / 493.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.153, allocations: 141.3 kB / 493.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006391/1.16, allocations: 2.882 MB / 496.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004699/1.16, allocations: 45.7 kB / 496.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.162, allocations: 2.32 MB / 498.7 MB, free: 3.547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.163, allocations: 0.6056 MB / 499.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/1.164, allocations: 104 kB / 499.4 MB, free: 2.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004183/1.164, allocations: 0.5211 MB / 499.9 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.241/1.405, allocations: 2.352 MB / 0.4905 GB, free: 93.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00866/1.414, allocations: 5.514 MB / 0.4958 GB, free: 89.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0081/1.422, allocations: 3.562 MB / 0.4993 GB, free: 89.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.422, allocations: 31.22 kB / 0.4994 GB, free: 89.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04382/1.466, allocations: 11.39 MB / 0.5105 GB, free: 88.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/1.466, allocations: 53.91 kB / 0.5105 GB, free: 88.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/1.467, allocations: 109.6 kB / 0.5106 GB, free: 88.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02502/1.492, allocations: 4.09 MB / 0.5146 GB, free: 87.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007198/1.499, allocations: 1.167 MB / 0.5158 GB, free: 87.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03475/1.534, allocations: 13.7 MB / 0.5291 GB, free: 81.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006586/1.54, allocations: 354.1 kB / 0.5295 GB, free: 81.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.542, allocations: 326 kB / 0.5298 GB, free: 80.84 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.001829/1.543, allocations: 0.4925 MB / 0.5303 GB, free: 80.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007774/1.544, allocations: 272.1 kB / 0.5305 GB, free: 80.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03155/1.576, allocations: 6.906 MB / 0.5373 GB, free: 75.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.667e-05/1.576, allocations: 21.8 kB / 0.5373 GB, free: 75.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.701e-05/1.576, allocations: 8 kB / 0.5373 GB, free: 75.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/1.576, allocations: 10.75 kB / 0.5373 GB, free: 75.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05452/1.631, allocations: 14.56 MB / 0.5515 GB, free: 62.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/1.631, allocations: 0 / 0.5515 GB, free: 62.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.633, allocations: 235.6 kB / 0.5518 GB, free: 61.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02671/1.659, allocations: 4.647 MB / 0.5563 GB, free: 57.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005207/1.66, allocations: 50.02 kB / 0.5563 GB, free: 57.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03403/1.694, allocations: 13.76 MB / 0.5698 GB, free: 43.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.694, allocations: 6.812 kB / 0.5698 GB, free: 43.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03948/1.734, allocations: 11.05 MB / 0.5806 GB, free: 32.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009584/1.735, allocations: 342.8 kB / 0.5809 GB, free: 31.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008203/1.735, allocations: 36.69 kB / 0.5809 GB, free: 31.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.739, allocations: 199.7 kB / 0.5811 GB, free: 31.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006718/1.74, allocations: 109.6 kB / 0.5812 GB, free: 31.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002684/1.74, allocations: 48.66 kB / 0.5813 GB, free: 31.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004377/1.744, allocations: 2.006 MB / 0.5832 GB, free: 29.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.744, allocations: 0 / 0.5832 GB, free: 29.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006127/1.751, allocations: 0.9158 MB / 0.5841 GB, free: 28.51 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.04025/1.791, allocations: 11.87 MB / 0.5957 GB, free: 16.6 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.01855/1.809, allocations: 6.79 MB / 0.6023 GB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.809, allocations: 0 / 0.6023 GB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01037/1.82, allocations: 3.194 MB / 0.6055 GB, free: 6.355 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/1.823, allocations: 310.5 kB / 0.6058 GB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0226/1.845, allocations: 7.754 MB / 0.6133 GB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004992/1.85, allocations: 2.557 MB / 0.6158 GB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006911/1.857, allocations: 1.611 MB / 0.6174 GB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2418/2.099, allocations: 1.267 MB / 0.6186 GB, free: 101 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/2.099, allocations: 3.812 kB / 0.6186 GB, free: 101 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.18/2.279, allocations: 75.38 MB / 0.6923 GB, free: 54.01 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/2.28, allocations: 187.7 kB / 0.6924 GB, free: 53.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.094/7.374, allocations: 0 / 0.6924 GB, free: 53.79 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