Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.777/1.777, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.534e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6133, allocations: 84.16 MB / 384.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.6136, allocations: 86.97 kB / 384.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2734/0.887, allocations: 61.18 MB / 445.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.887, allocations: 0 / 445.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001584/0.8872, allocations: 52 kB / 445.5 MB, free: 2.578 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.01458/0.9018, allocations: 3.031 MB / 448.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.9019, allocations: 8.031 kB / 448.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001951/0.9038, allocations: 0.5351 MB / 449 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.9197, allocations: 1.996 MB / 451 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/0.9337, allocations: 3.537 MB / 454.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.934, allocations: 208.1 kB / 454.8 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002075/0.9361, allocations: 282.4 kB / 455 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03107/0.9672, allocations: 7.862 MB / 462.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003117/0.9676, allocations: 51.56 kB / 463 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001932/0.9695, allocations: 142.5 kB / 463.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002829/0.9724, allocations: 0.7921 MB / 463.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03259/1.005, allocations: 6.288 MB / 470.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07558/1.081, allocations: 41.4 MB / 0.4996 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/1.092, allocations: 2.919 MB / 0.5024 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/1.095, allocations: 1.391 MB / 0.5038 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.096, allocations: 0.6391 MB / 0.5044 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.274e-05/1.097, allocations: 51.11 kB / 0.5045 GB, free: 9.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.759e-06/1.097, allocations: 0 / 0.5045 GB, free: 9.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.3847/1.481, allocations: 18.26 MB / 0.5223 GB, free: 109.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/1.481, allocations: 144.6 kB / 0.5224 GB, free: 109.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007143/1.489, allocations: 2.882 MB / 0.5253 GB, free: 109.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005124/1.489, allocations: 49.23 kB / 0.5253 GB, free: 109.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001994/1.491, allocations: 2.323 MB / 0.5276 GB, free: 108.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.492, allocations: 0.6068 MB / 0.5282 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/1.493, allocations: 101.2 kB / 0.5283 GB, free: 107.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003517/1.493, allocations: 0.5257 MB / 0.5288 GB, free: 107.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/1.498, allocations: 2.357 MB / 0.5311 GB, free: 107.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006607/1.505, allocations: 5.484 MB / 0.5364 GB, free: 103.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/1.512, allocations: 3.562 MB / 0.5399 GB, free: 103.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-05/1.512, allocations: 36.91 kB / 0.5399 GB, free: 103.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=676) (initialization): time 0.04265/1.555, allocations: 11.05 MB / 0.5507 GB, free: 101.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/1.555, allocations: 52.38 kB / 0.5508 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/1.555, allocations: 114.5 kB / 0.5509 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02502/1.58, allocations: 4.091 MB / 0.5549 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007087/1.587, allocations: 1.164 MB / 0.556 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03422/1.622, allocations: 13.7 MB / 0.5694 GB, free: 94.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006841/1.628, allocations: 358.2 kB / 0.5698 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.63, allocations: 322.2 kB / 0.5701 GB, free: 94.43 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.001444/1.631, allocations: 0.4941 MB / 0.5705 GB, free: 94.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009227/1.632, allocations: 282.1 kB / 0.5708 GB, free: 93.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03148/1.664, allocations: 6.9 MB / 0.5776 GB, free: 90.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.478e-05/1.664, allocations: 25.56 kB / 0.5776 GB, free: 90.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/1.664, allocations: 8 kB / 0.5776 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/1.664, allocations: 7.5 kB / 0.5776 GB, free: 90.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05335/1.717, allocations: 14.55 MB / 0.5918 GB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.717, allocations: 0 / 0.5918 GB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.719, allocations: 242 kB / 0.592 GB, free: 79.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02618/1.746, allocations: 4.639 MB / 0.5966 GB, free: 76.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004765/1.746, allocations: 49.31 kB / 0.5966 GB, free: 76.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03311/1.779, allocations: 13.77 MB / 0.6101 GB, free: 62.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/1.779, allocations: 4 kB / 0.6101 GB, free: 62.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05121/1.831, allocations: 11.05 MB / 0.6208 GB, free: 51.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/1.832, allocations: 345.4 kB / 0.6212 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008115/1.832, allocations: 35.94 kB / 0.6212 GB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003401/1.836, allocations: 203.2 kB / 0.6214 GB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005921/1.837, allocations: 108.8 kB / 0.6215 GB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.837, allocations: 52.75 kB / 0.6216 GB, free: 50.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004019/1.841, allocations: 2.002 MB / 0.6235 GB, free: 48.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.841, allocations: 0 / 0.6235 GB, free: 48.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006306/1.847, allocations: 0.9042 MB / 0.6244 GB, free: 47.43 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.03954/1.887, allocations: 11.87 MB / 0.636 GB, free: 35.5 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.01805/1.905, allocations: 6.625 MB / 0.6425 GB, free: 28.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.905, allocations: 0 / 0.6425 GB, free: 28.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01025/1.915, allocations: 3.17 MB / 0.6456 GB, free: 25.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/1.918, allocations: 310.5 kB / 0.6458 GB, free: 25.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02154/1.94, allocations: 7.74 MB / 0.6534 GB, free: 17.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003721/1.943, allocations: 2.559 MB / 0.6559 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006935/1.95, allocations: 1.611 MB / 0.6575 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2707/2.221, allocations: 1.275 MB / 0.6587 GB, free: 100.8 MB / 410.7 MB Notification: Performance of SimCode: time 2.564e-06/2.221, allocations: 0 / 0.6587 GB, free: 100.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1672/2.388, allocations: 74.84 MB / 0.7318 GB, free: 70.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/2.389, allocations: 183.3 kB / 0.732 GB, free: 70.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.943/7.332, allocations: 3.938 kB / 0.732 GB, free: 70.52 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat does not exist to compare? outputFormat=mat