Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.018/2.018, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.338e-05/4.35e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5874, allocations: 89.27 MB / 406.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.5878, allocations: 86.2 kB / 406.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2858/0.8736, allocations: 59.28 MB / 465.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.8736, allocations: 4 kB / 465.7 MB, free: 10.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001648/0.8738, allocations: 48 kB / 465.7 MB, free: 10.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.0144/0.8882, allocations: 2.923 MB / 468.6 MB, free: 7.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.8883, allocations: 8.031 kB / 468.6 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002023/0.8903, allocations: 494.1 kB / 469.1 MB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.906, allocations: 1.935 MB / 471.1 MB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/0.9204, allocations: 3.47 MB / 474.5 MB, free: 1.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/0.9207, allocations: 184.7 kB / 474.7 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/0.9224, allocations: 239.9 kB / 474.9 MB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02098/0.9434, allocations: 7.256 MB / 482.2 MB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001705/0.9436, allocations: 47.53 kB / 482.2 MB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008613/0.9445, allocations: 123.9 kB / 482.4 MB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001954/0.9465, allocations: 0.73 MB / 483.1 MB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.9659, allocations: 6.07 MB / 489.2 MB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3638/1.33, allocations: 36.89 MB / 0.5137 GB, free: 92.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/1.342, allocations: 2.987 MB / 0.5166 GB, free: 92.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003085/1.345, allocations: 1.403 MB / 0.518 GB, free: 92.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/1.356, allocations: 4.219 MB / 0.5221 GB, free: 90.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/1.356, allocations: 51.23 kB / 0.5222 GB, free: 90.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=116): time 5.049e-06/1.356, allocations: 0 / 0.5222 GB, free: 90.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=150): time 0.1294/1.485, allocations: 18.51 MB / 0.5403 GB, free: 88.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/1.485, allocations: 177.7 kB / 0.5404 GB, free: 88.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.496, allocations: 2.571 MB / 0.5429 GB, free: 88.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007457/1.497, allocations: 46.91 kB / 0.543 GB, free: 88.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.5, allocations: 2.113 MB / 0.545 GB, free: 87.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001117/1.501, allocations: 0.5901 MB / 0.5456 GB, free: 86.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008877/1.502, allocations: 98.59 kB / 0.5457 GB, free: 86.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004351/1.502, allocations: 0.5056 MB / 0.5462 GB, free: 86.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005736/1.508, allocations: 2.307 MB / 0.5485 GB, free: 86.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007841/1.516, allocations: 5.227 MB / 0.5536 GB, free: 81.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007639/1.524, allocations: 3.423 MB / 0.5569 GB, free: 80.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001236/1.524, allocations: 29.09 kB / 0.5569 GB, free: 80.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=635) (initialization): time 0.04441/1.568, allocations: 10.84 MB / 0.5675 GB, free: 78.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.502e-05/1.568, allocations: 52 kB / 0.5676 GB, free: 78.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.569, allocations: 103.5 kB / 0.5677 GB, free: 78.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02588/1.594, allocations: 4.111 MB / 0.5717 GB, free: 77.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006964/1.601, allocations: 1.121 MB / 0.5728 GB, free: 77.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03575/1.637, allocations: 13.68 MB / 0.5861 GB, free: 65.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006928/1.644, allocations: 346.1 kB / 0.5865 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/1.646, allocations: 336.1 kB / 0.5868 GB, free: 65.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[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 (575): * Single equations (assignments): 565 * 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.001801/1.648, allocations: 484.1 kB / 0.5873 GB, free: 64.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008293/1.648, allocations: 248.7 kB / 0.5875 GB, free: 64.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03278/1.681, allocations: 6.9 MB / 0.5942 GB, free: 57.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.26e-05/1.681, allocations: 19.95 kB / 0.5943 GB, free: 57.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-05/1.681, allocations: 8 kB / 0.5943 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/1.681, allocations: 11.92 kB / 0.5943 GB, free: 57.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05457/1.736, allocations: 14.19 MB / 0.6081 GB, free: 43.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.703e-05/1.736, allocations: 4 kB / 0.6081 GB, free: 43.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.738, allocations: 227.7 kB / 0.6083 GB, free: 43.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02723/1.766, allocations: 4.683 MB / 0.6129 GB, free: 38.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000532/1.766, allocations: 49.25 kB / 0.613 GB, free: 38.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03502/1.801, allocations: 13.77 MB / 0.6264 GB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.801, allocations: 0 / 0.6264 GB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03995/1.841, allocations: 11.03 MB / 0.6372 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/1.842, allocations: 342.3 kB / 0.6375 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.843, allocations: 39.98 kB / 0.6375 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/1.847, allocations: 199.7 kB / 0.6377 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006892/1.848, allocations: 109.9 kB / 0.6378 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/1.848, allocations: 47.97 kB / 0.6379 GB, free: 12.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004146/1.852, allocations: 1.781 MB / 0.6396 GB, free: 10.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.852, allocations: 0 / 0.6396 GB, free: 10.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006346/1.858, allocations: 0.8654 MB / 0.6405 GB, free: 9.871 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (100): * Single equations (assignments): 90 * 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.04247/1.901, allocations: 12.04 MB / 0.6522 GB, free: 13.76 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Parts.mo:2605:5-2609: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.3/Mechanics/MultiBody/Parts.mo:2605:5-2609: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.02154/1.923, allocations: 6.48 MB / 0.6585 GB, free: 7.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.923, allocations: 4 kB / 0.6586 GB, free: 7.156 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01197/1.935, allocations: 3.127 MB / 0.6616 GB, free: 3.891 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.938, allocations: 262.1 kB / 0.6619 GB, free: 3.637 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02647/1.964, allocations: 7.248 MB / 0.6689 GB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005501/1.97, allocations: 2.372 MB / 0.6713 GB, free: 9.992 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007892/1.978, allocations: 1.565 MB / 0.6728 GB, free: 8.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003402/1.981, allocations: 1.147 MB / 0.6739 GB, free: 7.281 MB / 458.7 MB Notification: Performance of SimCode: time 1.433e-06/1.981, allocations: 4 kB / 0.6739 GB, free: 7.277 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4773/2.458, allocations: 70.31 MB / 0.7426 GB, free: 119.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/2.459, allocations: 183.3 kB / 0.7427 GB, free: 119.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.741/7.2, allocations: 3.938 kB / 0.7427 GB, free: 119.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat